Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

send live data from java server application to desktop java client app

 
eugene malcolumn
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how do i send live data from java server application to desktop java client application??which classes will be used?
 
Ron McLeod
Saloon Keeper
Posts: 1286
143
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If using HTTP is an option, you could consider SSE or WebSockets.

In this post I mention using SSE for a web-based client, but I have also used SSE in command line and Swing-base clients and applications which drive hardware displays/sounders as well.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!