Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB Deployment

 
Parveen Aggarwal
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
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.


Regard's
Praveen
 
Jeff Shelley
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 (http://sourceforge.net/docman/?group_id=22866) are about that.

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

Jeff
 
narasimharao konjeti
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

regards
narasimharao konjeti
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic