I maintain a Java web app for work and have recently worked with logging out to idle users . My problem is that some of the business users running the app may be more than the timeout. For example, if the user runs the recalculate value, then this process can easily take more than 1 hour time.
I have emailed developers to the web app and they have something to run from the backend Process scheduling so that the user does not need an active session.
The time-out will be configured for Tomcat by editing web.xml
If anyone has any information / guidance / instructions to complete this, I would appreciate it. I am I'm new to a programming so googling for the answer is unproductive. This can be due to the lack of technical knowledge or the lack of information on this subject. My guess is predictable
thanks
EDIT: OK to clarify some things. It would be possible to find out that the business process would normally be expected to exceed the expiration date. With this information, could these procedures be run on back-end to avoid conflict from time to time?
You enter @schedule
in a EJB
Configure the time so that the method will automatically move you on time.
The following doWork ()
the method runs on every other.
@ SINGLENTON Public Square Timer Service {@ Schedule (seconds = "* / 1", minutes = "*", hours = "*", constant = false) Public Zero () { System.out.println ("Hello world!"); }}
Comments
Post a Comment