File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 608

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!