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 Help for Ejb application 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 "Help for Ejb application" Watch "Help for Ejb application" New topic

Help for Ejb application

Lakshmi siri
Ranch Hand

Joined: Feb 06, 2004
Posts: 44
Iam at starting position of EJb.
I created sesionbean class,home interface,component interface in webshere 5.0.Now how i create XML diployment descriptor &
ejb jar file.How i add bean class,interfaces & dd to ejb jar file.
Please explian me .

Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
I would recommend a text editor for the DDs, while the "jar" utility program will suffice for the generation of your JAR file.

Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
Bad advice!

There is much more to developing EJB's in WebSphere than JAR and an XML editor will suffice for. That's a sure way to trouble. You really need to learn to use that ASTK (assembly toolkit) that comes with WebSphere. I recommend that you download one of the many free redbooks at, and work your way through the tutorials in the InfoCenter that come with the product.


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977

you should also consider using some professional IDE like WSAD or JBuilder for example. These tools automete the tasks of creating and deploying jars for app server.
Pradeep Shekade

Joined: May 18, 2004
Posts: 5

I guess the best would be to use open source tools like XDoclet. This is an excellent tool. It will generate the DDs required for various app servers.

Sun Certified Enterprise Architect<br />IBM Certified Solution Developer - XML and Related Technologies<br />IBM Certified Object-Oriented Analysis and Design with UML
I agree. Here's the link:
subject: Help for Ejb application
jQuery in Action, 3rd edition