This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Eclipse,EJb3  and Glassfish V3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Eclipse,EJb3  and Glassfish V3" Watch "Eclipse,EJb3  and Glassfish V3" New topic

Eclipse,EJb3 and Glassfish V3

Duran Harris
Ranch Hand

Joined: Nov 09, 2008
Posts: 606

Hi all,

I just wanted to inquire about eclipse's behaviour with regards to the sun-ejb-jar.xml.I have the latest version of 'classic' eclipse(3.5 I think)
After I create an ejb project and add some beans to it(with the wizard)I notice that my sun-ejb-jar.xml looks like this:

I imagine that I am missing a bunch of elements....Could this be due to the fact that I didn't add the EJB project to an EAR?And,just as a test I asked Eclipse to generate the 'deployment descriptor stub'(ejb-jar.xml) and noticed that that too had no elements pertaining to the beans that I added to the project...

can someone advise me where I might be going wrong?

===>SCJP 1.5(72%)<===
I agree. Here's the link:
subject: Eclipse,EJb3 and Glassfish V3
It's not a secret anymore!