• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

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).]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic