• 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

calling a EJB from JSP in weblogic , please help me fast

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all
I want to call an EJB(which is deployed) from a JSP page in weblogic , can any one please give an detailed steps for, how to do this.
thanks in advance
sans
 
Ranch Hand
Posts: 1157
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Santosh,
The steps for calling EJB deployed in any AS would be as follows.

    [list]Set up the environmental properties specific to your container

    [/list][list]Create a InitialContext using the environmental settings.

    [/list][list]Get the reference (factory) of your HomeObject

    [/list][list]Use the HomeObject factory to create the EJB Object

    [/list][list]Call any of your business methods using the EJBObject reference.

    [/list]
    Also, note that most like BEA would be using RMI-IIOP protocol.In that case,Step 3 might change to :

    Hope this helps,
    Sandeep
    [This message has been edited by Desai Sandeep (edited May 26, 2001).]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic