This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Deploying EJB on weblogic8.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Deploying EJB on weblogic8.1" Watch "Deploying EJB on weblogic8.1" New topic
Author

Deploying EJB on weblogic8.1

Nalini Reddy
Greenhorn

Joined: Jul 01, 2004
Posts: 18
Hi All,

I have written a simple HelloWorld EJB. I have written a Home Interface,Remote interface,Bean class and Deployment descriptor.Made all these into a jar file(after compiling all).
Then have written a client code to lookup and compiled it also.Now how do I deploy my EJB on weblogic8.1 and how to call the method hello()in the remote interface which displays HelloWorld.This is the first time I am doing a sample application on EJB.Trying to learn.Kindly help me out please.

Thanks,in advance
Nalini
Mani vannan
Ranch Hand

Joined: Aug 21, 2004
Posts: 185
Hi !

Assit the following code for JNDI look up in ur client program.

Context myEnv = (Context) initial.lookup("java:comp/env");
Object objref = myEnv.lookup("ejb/myapplication");

where, myapplication is the name to be registered in JNDI Lookup.

follow the link, for more

http://e-docs.bea.com/wls/docs60/ejb/deploy.html#1054980

By

Manivannan.P


Manivannan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploying EJB on weblogic8.1
 
Similar Threads
exposing bussiness method to client
deploying EJB on weblogic 8.1
Ejb Select Method
JNDI Problem in WebLogic
EJB 2.x Client view for EJB 3 bean