Meaningless Drivel is fun!
The moose likes EJB and other Java EE Technologies and the fly likes How to deploy an  EJB 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 "How to deploy an  EJB" Watch "How to deploy an  EJB" New topic

How to deploy an EJB

Dhondiba Joshi
Ranch Hand

Joined: Jan 23, 2004
Posts: 39
Can you help to to tell the steps required for following

1. I want to deploy session beans in any simple application server.
2. I have writen the Remote, home and Bean code
3. I do not know how to complie it using which server??
It might be turn down for most of you folks but
Need help i am a beginner ;-)

eammon bannon
Ranch Hand

Joined: Mar 16, 2004
Posts: 140
Are you following the tutorial section "Getting Started With Enterprise Beans" from the J2EE1.4 tutorial ( It is a step-by-step explanation of what to do.
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
I also suggest you to download and take a look at the BEA weblogic examples, they have from the simplest to more advance examples and weblogic is a really user friendly app server when you compare to others.
Kiran Bandi

Joined: Mar 04, 2003
Posts: 21
-You may first download a an application server. Preferably go for BEA weblogic (They have a good help online)
-Install the server and use their command line tools to package the compiled code (in appropriate directory structure needed for a EJB jar file)
-start the server
-open the administration console
-Go to deployments node and follow link to deploy new EJB
-Upload the jar file
You are all set.
For more technical details and code goto ""
and go to books section to get "Mastering EJBs" by Ed Roman .
You can be master ... in a months time.
Good luck !!

If you want to do it...DO IT!!<br />You can't cross a sea by staring at it!
I agree. Here's the link:
subject: How to deploy an EJB
It's not a secret anymore!