Server to Client Callback

I would like to know if this scenario is possible. Where in a server can invoke a particular class in client to update its state information.
I have a standalone application that invokes EJB3 stateless session beans on the server.
dolphin_gAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

a_bCommented:
Do you want to update the client state or the server state?
0
dolphin_gAuthor Commented:
the client state.....
0
a_bCommented:
I think the best that can be done would be to implement messaging systems(JMS) b/w the client and the server. That is the closest that I have been able to come to pulling information from the client.You can have a onMessage() on the client where when the server asks for info , the client sends it across.
0
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

dolphin_gAuthor Commented:
You mean try to push the message from server to JMS, and the JMS delivers it to Client by Message Listeners.....
0
a_bCommented:
Yup. Once the onMessage() event takes place, the client can send a message back to the server by pushing another message. This can be done in an asynchronus manner.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
a_bCommented:
Hi dolphin_g,

Would appreciate some feedback from you, on how you handled the problem?

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.