What is local interface. How values will be passed
Answered by Jey on 2005-05-08 12:33:35:
If Client and EJB classes are in the same machine ( Same JVM) then we can use Local linterface instead of Remote interface. Since Client and EJB are in same JVM, values are passed by referance.
If Client and EJB classes are in the same machine ( Same JVM) then we can use Local linterface instead of Remote interface. Since Client and EJB are in same JVM, values are passed by referance.
sanjay
Aug 28th, 2005
EJB: If we use local interfece then performance is upgraded Or degraded?
Ritesh
Jul 25th, 2005
local interface s are used when our Client and the middle tie resist in the same JVM. there you dont need any remote interface . you can used a local interface, but that is added in the EJB 2.0 . prenvious version doesn't have this features.. what ever values you are passing are to be passes by referance.
Sowmy
Sep 19th, 2005
Performance is upgraded when using a local interface because there are no RMI/IIOP network calls hence reducing the overhead.
kasturi
Nov 17th, 2005
Local interface is when the client and the ejb are colocated in a same jvm.Here the client is another EJB.In case of Local interface there is no need of throwing RemoteException rather it throws EJB Exception which is a subclass of Runtime Exception.so u may not catch tis exception.
What is local interface. How values will be passed
Answered by Jey on 2005-05-08 12:33:35:
If Client and EJB classes are in the same machine ( Same JVM) then we can use Local linterface instead of Remote interface. Since Client and EJB are in same JVM, values are passed by referance.
Related Answered Questions
Related Open Questions