|
Re: Creating New JPA Project - Configuration Options [message #534952 is a reply to message #534948] |
Thu, 20 May 2010 18:57 |
Paul Fullbright Messages: 201 Registered: July 2009 |
Senior Member |
|
|
There are two paths (at least) to creating an EJB/JPA project like that.
The first is the way you've selected, but you need to dive down into the configuration a bit more. If you select the "Modify ..." button beside the configuration drowdown, you'll see all of the facets associated with the project and a list of configurations above. As you select each configuration, you'll see different facets checked. You definitely want both the JPA facet and the EJB facet (and the prerequisite Java 1.5+ facet). If you're starting with the JPA Project wizard, you'll need to right-click the Utility module facet and unlock it, uncheck it, and then check the EJB facet (and select the version you want). You'll need to do this whichever configuration you select in this wizard.
The second way is to choose the EJB project wizard. You'll have to hit the "Modify ..." button again, but this time, you'll only need to add the JPA facet. You can do this starting from whichever standard configuration you choose.
You can also choose to add the JPA facet to an existing EJB project, and this is done from the "Project Facets" node in the project's properties.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03918 seconds