• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pass data/object from servlet to running java app

 
Mike Nightsky
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic