Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » EJB Project and Entity
EJB Project and Entity [message #222628] Sun, 12 October 2008 12:25 Go to next message
Denis Kostousov is currently offline Denis Kostousov
Messages: 32
Registered: July 2009
Member
I have created new EJB Project (EJB v3.0). When I tried to create EJB3 Entity I can't found entity creation wizard. Only
session bean and message driven bean wizards was available. But I found Entity as part of JPA Project. How I can create
EJB3 Session Beans and EJB3 Entity in single project?


--
Denis Kostousov
email: denis.kostousovATgmailDOTcom
jabber: denis.kostousovATgmailDOTcom
fingerprint: D32B A253 F678 9EF1 1079 4F5A 52E1 8EEA FAF9 E1F1
Re: EJB Project and Entity [message #222632 is a reply to message #222628] Mon, 13 October 2008 03:00 Go to previous message
Kaloyan Raev is currently offline Kaloyan Raev
Messages: 185
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Denis,

As you have noticed, entities are part of the JPA support in WTP. You need
to enable the Java Persistence facet in your EJB3 project.

When creating new EJB3 project, click on the Configuration > Modify button
and check the Java Persistence facet.
On an already created EJB3 project, right-click > Properties > Project
Facets, then enable the Java Persistence facet.

Now you should have the Entities wizard available for your EJB3 project.

Greetings,
Kaloyan

"Denis Kostousov" <denis.kostousov@gmail.com> wrote in message
news:gct8dv$i6i$1@build.eclipse.org...
>I have created new EJB Project (EJB v3.0). When I tried to create EJB3
>Entity I can't found entity creation wizard. Only session bean and message
>driven bean wizards was available. But I found Entity as part of JPA
>Project. How I can create EJB3 Session Beans and EJB3 Entity in single
>project?
>
>
> --
> Denis Kostousov
> email: denis.kostousovATgmailDOTcom
> jabber: denis.kostousovATgmailDOTcom
> fingerprint: D32B A253 F678 9EF1 1079 4F5A 52E1 8EEA FAF9 E1F1
Previous Topic:Missing DocumentProvider by using XML editor plugin
Next Topic:Synchronization with temporary deploy directory
Goto Forum:
  


Current Time: Sat Aug 30 02:26:01 EDT 2014

Powered by FUDForum. Page generated in 0.01810 seconds