File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes How to deploy ejb in wblogic 6.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "How to deploy ejb in wblogic 6.0" Watch "How to deploy ejb in wblogic 6.0" New topic
Author

How to deploy ejb in wblogic 6.0

dkumar sharma
Greenhorn

Joined: May 10, 2001
Posts: 17
hi all,
i am new to weblogic and ejb. i am not able to deploy and run ejb in weblogic6.0 , i have files (demo.java, demo_bean.java, demo_home.java & demo_client.java). whtat next i have to do , any body can tell me please step by step.
thanks & regards
dkumar
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1825
Please look at the document located here
In the simplest of terms
1) You need to write a ejb-jar.xml file
2) You need to create a jar file for this ejb with the xml file in the meta-inf folder and the Home, Remote and Bean classes in the top most folder.
3) You need to use the java Weblogic.ejbc command to generate the stubs and skeletons
4) You will need to move the jar file created from step 3 above to the config-> mydomain - > applications folder.
5) Start your weblogic server and see if this ejb is deployed
6) Test the ejb through invoking it through a servlet.
Thats it. The first time its difficult but once you have done it its simple.

------------------

Mahindrakar
IBM Application Server & Developer Forum Moderator

Consultant - Zensar Technologies ,Pune India.
SCJP2, SCJD2 & SCJEA (Part I)
 
IntelliJ Java IDE
 
subject: How to deploy ejb in wblogic 6.0
 
Threads others viewed
How to deploy ejb in weblogic6.1
websphere 6 tutorial
How to deploy ejb in weblogic6.1
EJB 1.0 -------------> EJB 2.0 ...
problem in developing simple ejb app
developer file tools