JNDI

Discussions

EJB design: JNDI

  1. JNDI (3 messages)

    Hi
     I am new to EJB. Can anyone tell me how to call a EJB from a JSP page using JNDI. we use <jsp:useBean> tag to call the Jave bean from JSP. Any sample code will be a great help.
    Thankyou
    Asad
    bluejeans76 at yahoo dot com

    Threaded Messages (3)

  2. JNDI[ Go to top ]

    Hi,

    Pl. visit http://e-docs.bea.com/wls/docs60/jsp/reference.html#59070 which says that you can use <jsp:useBean> with java object that comply to JavaBean specifications only.

    vipul
  3. JNDI[ Go to top ]

    Well, you need to have a middletier server to user JNDI.
    try to read the chapter on JNDI in the Master EJB By ed Roman
  4. JNDI[ Go to top ]

    to call ejb from jsp page u should write
    1.remote interface
    2.home
    3.bean
    4.component

      after compiling them store these class files in weblogic myserver->serverclasses.

    then in jsp u call as
    <jsp:useBean id="" class="" scope="">
    and call components method what ever u write .

    kiranlal