Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to deploy ejb in wblogic 6.0

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)
 
knowledge is the difference between drudgery and strategic action -- tiny ad
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic