I am new to EJB and I am going thro "Enterprise Java Beans 3.1" (O'Reilly) book. In that it has been mentioned different terminologies like
Can anybody explain what are these terminologies mean in a java-layman tone....
Also if you can give some details about how exactly EJB fits in an Enterprise appln. with an real-life-example-app would be great
I just started on the book and I am at the end of Part I.
To my understanding, from the client perspective (for ex., from a servlet)
we can call an EJB. For this we will get an interface which can be used in the client and the corresponding implementation class will be there to serve the purpose (of the interface)
What I dont understand is what these Local/Remote jargons are doing
Please consider myself as a novice in the business comp. dev. field
Awaiting your response
author & internet detective
Ok. You have the basic idea. Way back when, there were only remote interfaces. You got a remote home interface and used it to look up the bean's remote interface. The problem was that most people were deploying the servlet and "remote" ejb on the same server. This resulted in an unneeded performance overhead. As a result, they introduced local interfaces to cut that down and make ejb more efficient. Now, you have a choice between remote and local based on your actual needs.