• 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

Accessing Java App Client from Java Web App

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic