Yes, that's just the way I've implemented it. The MainFrame has a remote reference to the EJB3 session bean, stored in a static field. I use this reference for all the EJB method calls until the application shutdown, which is never, cause it's a monitor app tha should run forever.
Did you mean that I should do a "lookup" for the bean, in order to get a "fresh" reference any time I have to call a method on that bean? It sounds a bit weird, isn't it?
Anyway I'll give it a try.
Thanks!
[Message sent by forum member 'abelmj' (abelmj)]
http://forums.java.net/jive/thread.jspa?messageID=307322