Title: JBoss XA transaction with WebSphere MQ
1. If EJB Timer (2.1) does not fit the bill for you, an MBean is a typically a good solution for this problem. Depends on what you mean by service.
2. Since RMI is a connectionless protocol (not a persistent connection), there is really no 'disconnect' event. Your best bet is probably to use shutdown hooks in your client, and make last ditch effort to do the logout there.
 
 
mike
-----Original Message-----
From: Sasidharan, Manoj [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 3:33 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Some J2EE Design Questions

Hello All,
 
1. How can a daemon process/service implemented in J2EE world? Any design pattern?
2. Is there any way to trap J2EE client disconnect events - we want to timeout user sessions if they fail to logout properly from our J2EE app and disconnect from App Server
 
Thanks in advance for your time in helping me with these design issues.
MS

Reply via email to