Skip to Content
avatar image
Former Member

what is ramesh ejblocal

<?xml version="1.0" encoding="UTF-8"?>

http://java.sun.com/dtd/ejb-jar_2_0.dtd">

<ejb-jar>

<description>EJB JAR description</description>

<display-name>EJB JAR</display-name>

<enterprise-beans>

<session>

<ejb-name>TestSessionBean</ejb-name>

<home>in.TestSessionHome</home>

<remote>in.TestSession</remote>

<local-home>in.TestSessionLocalHome</local-home>

<local>in.TestSessionLocal</local>

<ejb-class>in.TestSessionBean</ejb-class>

<session-type>Stateless</session-type>

<transaction-type>Container</transaction-type>

<ejb-local-ref>

<ejb-ref-name>ejb/MasterDataSessionBean</ejb-ref-name>

<ejb-ref-type>Session</ejb-ref-type>

<local-home>in.m1.www.masterData.MasterDataSessionLocalHome</local-home>

<local>in.m1.www.masterData.MasterDataSessionLocal</local>

<ejb-link>MasterDataEJB.jar#MasterDataSessionBean</ejb-link>

</ejb-local-ref>

</session>

</enterprise-beans>

</ejb-jar>

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 11, 2009 at 09:08 AM

    Hi Ramesh,

    Local Interfaces are used In case if you are consuming the EJB methods in the same JVM(Java Virtual Machine).

    I would recomment first to read the EJB specification a bit or Head First EJB Book before you do this.

    http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/cejb_ejb3spec.html

    Regards,

    Vivek

    Add comment
    10|10000 characters needed characters exceeded