Link to home
Start Free TrialLog in
Avatar of pinkushn
pinkushn

asked on

JBoss Application Initialization

I have a question about startup of my java ee application in JBoss.  I keep track of whether users are 'logged in' in my database.  Every time JBoss restarts, I want all the logged in booleans to be set to false.  Where do I put application initialization code in JBoss?

I saw a post that inidicated using a Servlet that loads on startup, but surely there is a way to do this without getting the web container involved?

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of muktajindal
muktajindal
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial