Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes Need an assistant for servlet binding listener w/ resin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Need an assistant for servlet binding listener w/ resin" Watch "Need an assistant for servlet binding listener w/ resin" New topic
Author

Need an assistant for servlet binding listener w/ resin

DC Dalton
Ranch Hand

Joined: May 28, 2001
Posts: 287
Im not sure Im posting this in the right place but the jobs section looked like it was more for recruiters & that Im not! Im working on a site that HAS to be done next Wednesday & Im really behind! (What else is new). What I need is someone to write me a servletbindinglistener class (inner or what not)that will change 1 field in a db (logged On) when the session for that member times out. I was going to start testing this today (Ive never done it before) but then got hammered with a corrupt 16,000 line database that has to be fixed. Im using resin as an engine & from what I understand it has its own binding listener, I dont know if we have to use it but its there. My main concern is this, if I have the listener in every servlet on the site how do we keep one servlet that was visited by a member, say an hour ago, writing to the db that they are logged out when in fact they are somewhere else on the site?...Anyways I am willing to throw a few bucks to any one person who can help in a timely fashion. I really need to get this going! If you want to email me at ddalton@noln.com I can further dicusss the site & what Im trying to do.....if you can help please write & sorry if I posted this in the wrong place but I couldnt find anywhere else to put it.
[This message has been edited by DC Dalton (edited August 02, 2001).]
Cameron Park
Ranch Hand

Joined: Apr 06, 2001
Posts: 371
You can use session binding listener instead of each servlet. I think I can do it if you can send the specs to verymeanguy@yahoo.com.
 
wood burning stoves
 
subject: Need an assistant for servlet binding listener w/ resin
 
Similar Threads
User Timeout or Logout?
A weird idea - any ideas where to start or look
Servlet-DB design issue
Servlets, Sessions & Thread Safety??
File upload/download question