A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to define some mehod for global resource initializtion and recycle in JBoss container!
Joined: May 12, 2009
Sep 07, 2009 00:41:48
I have some customize data and process need to be initialized only once when
AS is starting.
I have used some ejb Life Cycle Event to handle it,but the result seems not well.
so,How can I define some method or service for initializing global resource and container just only call once? and How about recycle such resource only when the container is closing.
Joined: Jul 20, 2005
Sep 07, 2009 03:06:50
See the JBoss specific @Service
I agree. Here's the link:
subject: How to define some mehod for global resource initializtion and recycle in JBoss container!
Session Beans - Table
how to configure java.net.URL outside of .war
A Question about The Life Cycle of a Stateless Session Bean
JDBC ORACLE - java.sql.SQLException: ORA-3160
How to lookup an EJB in Servlets?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014