[JBoss-user] [EJB 3.0] - Re: Re-obtaining a reference to an existing stateful EJB3 in

2005-12-27 Thread fschoning
It appears to work fine for me :-) and I successfully call business methods after deserialization. I have not tested it over a long session containing numerous calls and also not across different VM's for clustering. Let me know how it works for you? View the original post : http://www.jboss.c

[JBoss-user] [EJB 3.0] - Re: Re-obtaining a reference to an existing stateful EJB3 in

2005-12-17 Thread fschoning
I have used the following successfully but have not tested it extensively or over a number of session calls. I have also not tested this across different VM's. ChatMsgHandler ejbhandler = (ChatMsgHandler)ctx.lookup(ChatMsgHandler.class.getName()); | To serialize the ejb3 proxy object: By

[JBoss-user] [EJB 3.0] - Re: Re-obtaining a reference to an existing stateful EJB3 in

2005-12-07 Thread fschoning
1. Does JNDI not serialize the references? I will try this out when I have a moment. 2. I have found that ejb2.1's can do this. From the home interface one can call getHandle(). This handle is serializable and can be used from different VM's. Do a search for getHandle() in these forums. I have

[JBoss-user] [EJB 3.0] - Re: Re-obtaining a reference to an existing stateful EJB3 in

2005-12-05 Thread fschoning
Thanks for the suggestion. Can JNDI efficiently handle thousands of session objects like mine? I was thinking along the lines of a database and storing the serialized handle to the ejb. I also don't know if one can just store the reference to the ejb and get access to the ejb instance from ano

[JBoss-user] [EJB 3.0] - Re-obtaining a reference to an existing stateful EJB3 instan

2005-12-01 Thread fschoning
Hi, I have a proprietary communications protocol where clients come in over TCP sockets. I then create a stateful EJB3 per client. If my socket connection fails I would like to reattach the client back to the existing stateful EJB3 instance using a sessionid of sorts. Does anyone know how I c

[JBoss-user] [Management, JMX/JBoss] - Re: How do I get a reference to the WorkManager from a MBean

2005-12-01 Thread fschoning
Thanks for the tip. I have created a new ThreadPool of my own and all seems to work well. Please forgive the newbie question, but how do I obtain a reference to the jboss-service created system ThreadPool from my MBean? View the original post : http://www.jboss.com/index.html?module=bb&op=vie

[JBoss-user] [Management, JMX/JBoss] - How do I get a reference to the WorkManager from a MBean?

2005-11-23 Thread fschoning
I am trying to launch a number of managed threads for a communications MBean that I have written for EJB3. I do not wish to write a JCA implementation. From JCA one can get the WorkManager from the BootstrapContext but how can I do this from a MBean service? Thanks View the original post : ht

[JBoss-user] [Beginners Corner] - Getting the BootstrapContext or WorkManager from a EJB3 MBea

2005-11-19 Thread fschoning
I am trying to launch a number of managed threads for a communications MBean that I have written for EJB3. I do not wish to write a JCA implementation. From JCA one can get the WorkManager from the BootstrapContext but how can I do this from a MBean service? Thanks View the original post : ht