• 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

pass data/object from servlet to running java 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!
I need to pass data/objects from a serlvet to a java application.
I found some solutions for this task.
BUT this application is running all the time, and there should be only one instance for many concurrent requests.
I would like to implement a chat server with this.
I wrote a http-server with the chatfunctionality but it is buggy and lacks the abillity to handle servlet requests.
Thanks in advance
Mike
------------------
Win the opportunity to make money on the Internet
http://sweeps.sitesell.com/minirich.html

[This message has been edited by Mike Nightsky (edited August 18, 2001).]
 
Mike Nightsky
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Next thing i will try is to communicate between the servlet and the application with RMI, i hope the overhead dont get to big.
------------------
Win the opportunity to make money on the Internet
http://sweeps.sitesell.com/minirich.html
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually, a chat server using RMI to talk to servlets is in chapter 9 of my servlets book, so yes, it is feasible. RMI overhead is unavoidable but not too bad. J2EE uses RMI for all communication between applications.
Bill
------------------
author of:
 
Mike Nightsky
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for your response,
i will try to get your book, and i will post again if it worked.
Thanks
Mike
------------------
Win the opportunity to make money on the Internet
http://sweeps.sitesell.com/minirich.html
 
reply
    Bookmark Topic Watch Topic
  • New Topic