aspose file troubles
The moose likes JSF and the fly likes How to use the JPA in JSF The Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "How to use the JPA in JSF" Watch "How to use the JPA in JSF" New topic
Author

How to use the JPA in JSF

Tie CaiLiang
Greenhorn

Joined: May 20, 2007
Posts: 3
I want to use JPA in my webstation.my webstation be builded by JSF.
I don`t know how to use JPA in JSF.plecse help.give me the faces-config.xml and persistence.xml,java code

thank you!!
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 15134
"TCL CXH",
Welcome to the JavaRanch.

We're a friendly group, but we do require members to have valid display names.

Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.

Please edit your profile and correct your display name since accounts with invalid display names get deleted.

Perfect World Programming, LLC
Spock's Beard - Foabia app - Money Mgt Calculator - Paper Clips
How to Ask Questions the Smart Way FAQ
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 15134
Well the good thing is using JPA is the same no matter where you use it, becuase you are using JSF has no bearing on the matter. Your use of JPA will be in your Plain Old Java objects, and not in any jsp/html/xhtml pages.

As far as how to set up JPA and use it, there are lots of tutorials on the web that you can find through Google.

Good Luck, and any JPA specific questions can go into the ORM forum we have.

Thanks

Mark
 
aspose file troubles
 
subject: How to use the JPA in JSF
 
IntelliJ open source