20071213 Thursday December 13, 2007

Adding Dali (JPA) to an existing web project in Eclipse

Adding Dali (JPA perspective) to an existing web project in Eclipse.

  • Add GlassFish TopLink Essentials jars (or other JPA implementation) to the WEB-INF/lib folder
  • Right click on the project, select properties
  • Select Project Facets
  • Check the JPA facet

...and your done! You can now go to the JPA perspective, setup your datasources, create entities, etc.

Posted by rickg ( Dec 13 2007, 05:55:50 AM PST ) Permalink Comments [0]
Comments:

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed