Hi,
May anybody tell me: Should I creat an instance of my home interface and store it in memory, and then use it in other methods to creat instances of remote interface?
If yes, should I store an instance of remote/local interface and then use it in other methods?
Please tell me!
Thanks!
You can do so. But remember: you are not holding references to beans, these are stubs to the beans in your application server.
If you want to hand out references to your bean use the bean handle.
Greetings,
Frito