Skip to main content

Posts

Showing posts from February, 2013

How to configure hibernate in jsf

How to work with hibernate for creating dao file!!! Step0:       Create project --> new --> web --> dynamic web project. Step1:      Right click project properties and then choose Project Facets or type in the box of properties. Step2:       Choose dynamic web module, java, java persistence, java script toolkit . then apply --> ok Step3: Persistance.xml file will be created into src folder. Now open Persistance.xml with persistence xml editor. There is                 a. name     : project name                 b. persistence provider and more. NB: better to copy all contain from actual written Persistance.xml file. which is availabel into autojsfcode projec. Actual persistance.xml file cotains: <?xml version=...