srowley
srowley

Reputation: 837

Trying to create an EJB Project in Eclipse

I am following the tutorial at this link: http://programming.manessinger.com/tutorials/an-eclipse-glassfish-java-ee-6-tutorial/, but instead using JBoss instead of GlassFish. I am basically trying to learn Java EE concepts like EJB, Hibernate and JPA.

However, I am stuck on the part for creating an EJB Project in Eclipse. I am supposed to add this to the EAR project, but I cannot find the EJB Project as a selection for new project. I went through the entire list, and it simply is not there. All I see are options for creating EJB Message and Session beans.

Any help is appreciated.

Upvotes: 1

Views: 1926

Answers (1)

JB Nizet
JB Nizet

Reputation: 692281

The EJB project must not be created inside the EAR project. Eclipse doesn't have the notiopon of projects inside a project. You create a new top-level EJB project (File - New - EJB - EJB Project), and in its settings, you declare it's part of the other EAR project.

Upvotes: 1

Related Questions