• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Deploying EJB on weblogic8.1

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic