• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

swing and web application

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,friend:
I appreciate your help with above issues. Thank you very much.
Regards,
Nancy
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic