File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes How server can send notification without sending n  e req. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How server can send notification without sending n  e req." Watch "How server can send notification without sending n  e req." New topic
Author

How server can send notification without sending n e req.

Vikas Sahu
Greenhorn

Joined: Mar 07, 2003
Posts: 29
Hi All,
This question is nothing but request/response paradigm.
We often send request and get response.
That means server allways send response of the comming request.
Is it possible that server send some notification kind of thing
without sending request.

Thanx in advance -
Vikas Sahu


Regards -<br />Vikas Kumar Sahu
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
I'm working with a vendor framework that includes an applet which opens a serversocket. The applet registers its identity and address with the EJB server. The EJB server can open a socket and send a message to the applet. This lets us pop work to the browser with no request from the browser. Is that what you mean?


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Vikas Sahu
Greenhorn

Joined: Mar 07, 2003
Posts: 29
My client is basically a java- swing application.
It sit ideally and wating some notification that will come from server.
Server send this notification when any south born interface will send some triggered based
event to the server and the n server send this notification to the java0-swing client.

So I my problem is bassically this.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How server can send notification without sending n e req.
 
Similar Threads
How to create a notification webservice
Sending a http-request without waiting for response
Can i just write to a URLConnection but don't read?
Cant understand the example
putting request inside response