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
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
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
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
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
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
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
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