This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes swing and web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "swing and web application" Watch "swing and web application" New topic
Author

swing and web application

Nancy King
Ranch Hand

Joined: Jan 06, 2003
Posts: 30
Hello:
I have a question regarding to the swing and web application.
Senario:
The swing application is used to monitor some activities happened in web application. For example, when a user is login the web application, a signal is showed in swing application the a user has login the web application.

The way I am thinking to implement is as following:
Using event and event listenet---When a user login, an event is generated from the web application. The swing application listens to the event, and perform some actions to show the signal. in order to have swing application receive event generated from web application, I think a connection between swing application and web application(localhost) should be established.

My Question:
1. How can I establish the connection between swing application and web application(assume web application and swing application is in the same machine).
2. Is the event-event listener approach correct in the above senario?
I really appreciate all your help and suggestions.
Best regards,
Nancy
Nancy King
Ranch Hand

Joined: Jan 06, 2003
Posts: 30
Hello,friend:
I appreciate your help with above issues. Thank you very much.
Regards,
Nancy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: swing and web application
 
Similar Threads
TCP/IP,socket connection
Struts with security how to question
installation..
EJB 2.1 - Database connection for multiple users in Entity Bean (BMP)
WSDL question