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
posted
0
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)