For Programmers: Free Programming Magazines  


Home > Archive > Java Beans > April 2005 > Automatic instantiation of a session bean









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Automatic instantiation of a session bean
Alex Molochnikov

2005-04-12, 3:58 am

Is there any way to instantiate a Stateful Session bean automatically, when
the application server starts, or when the bean is deployed? I am looking
for ways to create a session in the service-like fashion (similar to the
Windows NT service or Unix daemon process), so that it can perform automated
tasks, without waiting for the client to bring it to life.

Ideally, I would like to find a solution that works in all server
environments. But if there is no way to make it server-agnostic, I am ready
to accept whatever works.

TIA

Alex Molochnikov
Gestalt Corporation


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com