Web Developer Resources
The Site for Your Web Development Resource Needs

Web Developer Resources

Service Life Cycle Management

March 20th, 2008 . by Henry

Axis2 has something called the Service Life Cycle management support. The correct and best approach that would get the life cycle management support from Axis2. First, you need to write a life cycle management class then create and store the database connection from there. It should be noted here that when Axis2 starts up (at the time of service deployment), the Service Life Cycle class will all be invoked; also, when the system goes down, the of Service Life Cycle class will again be invoked. You are going to create the DB connection at the service deployment time and store the database connection inside the Configuration Context object.

Comments are closed.