Christophe Demez wrote:
>
> Hi,
>
> I need to create a bean that :
>
> 1 - will be a singleton
> 2 - Must never been released
> 3 - Must start after the EJB server is ready and all other
> EJB are deployed.
>
> I do not know how to do this !
> I m searching for a design strategy. What bean I can use, ...
It sounds like you don't want a (EJ) bean at all. What do you mean by
"start"?
Would an entity bean do the job? It depends on what you mean by
"singleton" - do you require a single object instance in the VM? What
will happen if the server is spread across multiple JVMs?
Perhaps a JMX MBean is what you're after (not EJB, but more like a
server-wide service, not directly visible to extra-VM clients).
Can you give some details about what you actually need?
Toby.
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]