• Post Reply Bookmark Topic Watch Topic
  • New Topic

Accessing Java App Client from Java Web App  RSS feed

 
Krysty Sullivan
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, is it possible to call a Java Application Client and/or Applet from a Java Web Application? If yes, how is it done? Thanks
 
Joe Ess
Bartender
Posts: 9439
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can do pretty much anything you want to. The question is more: what are your requirements? Since you want to break the request-response protocol that is HTTP, can you chuck the web app completely and go two-way RMI? That would probably be the simplest and cleanest implementation.
HTTP client->server and RMI server->client would be clunky but would preserve your original architecture. Of course, if you have firewalls to deal with, it may not be an option.
There's a lot of publish-subscribe messaging solutions out there. They are particularly good for connecting disparate systems, but you may be able to use one for your purpose. But again, firewalls bring them to a screeching halt.
The solution depends on what your situation is.
[ January 28, 2004: Message edited by: Joe Ess ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!