Here are two approaches I heard about-
1) I guess the use of the Local Remote interface prevents RMI calls and marshaling or data. But this concept of putting local interface some how restricts to develop a generic EJB cause we never know which client will use it in which way. Does it mean we need to implement all 3 interfaces i.e. Remote, home and Local to write a generic bean?
2) The second way I heard but never used is deploying more than one EJB(s) using same deployment descriptor and bundling in one enterprise archive i.e.EAR file.
Which way is more effective? Any good comment will help us all.
Thanks!!
Java � make things beautiful.