Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » EJB Project and Entity
EJB Project and Entity [message #222628] Sun, 12 October 2008 16:25 Go to next message
Denis Kostousov is currently offline Denis KostousovFriend
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 07:00 Go to previous message
Kaloyan Raev is currently offline Kaloyan RaevFriend
Messages: 201
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: Fri Apr 26 14:22:39 GMT 2024

Powered by FUDForum. Page generated in 0.04602 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top