Can u explain what is local Interface and their features and where can i use this Interface?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   suresh_yendluri
Posted On:   Tuesday, April 6, 2004 10:56 PM

Can u explain what is local Interface and their features and where can i use this Interface?

Re: Can u explain what is local Interface and their features and where can i use this Interface?

Posted By:   Deepak_Kalra  
Posted On:   Tuesday, April 13, 2004 01:07 AM

Well you can use Local interface only in tthe case If you have clients to the same JVM as EJB. Take the scenario when you need to call ejbs from other ejbs in the same JVM i.e.
Session Bean might need to call the entity beans. Talking about session facade pattern. So in that case you can use
local interface instead of remote interface.




Local interface provides better performance
1. Calls are Local not Remote
2. Parameters are passed by reference not by value
About | Sitemap | Contact