Originally posted by MG:
Hi,
I doubt why Sun is reluctant to provide a switch for EJB's that is capable to configure it with Remote object / Local object at runtime ? This is quite possible and has seen no troubles when implemented with vendor specific API's.
Thank you,
Regards,
- Manoj.
In EJB 2.0 add Local interface because
1. Decrease overhead in network (remote)
2. Local interface seem like normal interface
3. Parameter of method in local interface can pass-by-value
4. More efficiency than Remote Interface
But Local interface can use connect to Bean in same JVM only, can not connect to Bean in another JVM.
SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand