Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to deploy EJB (example Session Bean) in Weblogic 8.1.. 1

Status
Not open for further replies.

patnim17

Programmer
Jun 19, 2005
111
US
Hi,
can someone tell me the steps to deploy an EJB (ex: stateless session bean) in a Weblogic Server 8.1. I have installed weblogic server 8.1 in my machine and started the application server after creating my domain.
To see how EJB's work I just created a Stateless Session bean ( 3 files- home, interface and the bean class).Now I need to:
1. deploy it
2. use it from a client.

Can someone help me with that please or point to a step-by-step resource to accomplish the same.

nims
 
Thanks I read a EJB deployments on Weblogic Server...but I could'nt find a way to create a ejb-jar.xml and weblogic-ejb-jar.xml. Is there a way to create these files and put it in my ejb\META-INF directory...! Right now I do not have any files in the META-INF directory..how can I create one..
Please help.


nims

 
Use textpad/notepad/vi and the jar tool ?

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
One way to generate the deployment descriptors is to use XDoclet ( which uses JavaDoc-style markup in your class files to construct the necessary xml.

Tim
---------------------------
"Your morbid fear of losing,
destroys the lives you're using." - Ozzy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top