File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes EJB Deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "EJB Deployment" Watch "EJB Deployment" New topic

EJB Deployment

Parveen Aggarwal

Joined: Jun 08, 2004
Posts: 7
I am new in ejb with jboss. Can any body please tell me , what is basic things that i have to do for ejb deployment on jboss.

Jeff Shelley
Ranch Hand

Joined: May 21, 2003
Posts: 70
If you know about EJB's then I'd suggest reading up on jboss.xml. That's the jboss specific deployment information. If you need an example of that file, I'll need your email address.

From a few steps back, jboss hot-deploys everything, from most of it's services to ears, wars, sars, etc. It will generate all the client stuff on the fly and deliver it to you when you do the lookup, so there is no need to make the stub stuff ahead of time.

In the beginning, after getting an ejb to deploy the first time, the major things I've run into were security (for clients outside of the JVM) and classloader problems. For security problems I'd suggest reading up on JAAS a bit, and for classloader problems the first two docs here ( are about that.

the forums and wiki on are pretty useful too. Have a good one!


It's almost Friday
narasimharao konjeti
Ranch Hand

Joined: Apr 26, 2003
Posts: 130
hi, if u know the concept of ejb, my explaination wil be helpful,

there are two descriptor files in ejb.
one is ejb specific i.e. ejb.xml, this is common for all ejb containers,
second one is application server specific, (like weblogic have weblogic-ejb-jar.xml, for jboss there is jboss.xml....etc....)

for your jboss ejb u have to configure jboss.xml, and need to place jar file in deploy folder,
then ur ejb wil work,

if u have any problem just post ur problem clearly in the forum, then i wil tel the solution.

narasimharao konjeti

"Unwise to sweat petty stuff, wise to pet sweaty stuff."
I agree. Here's the link:
subject: EJB Deployment
It's not a secret anymore!