Kov�cs P�ter wrote:
>
> I like your solution, but I am always uneasy about using static initalizers
> when my component sits on top of a more or less complex system. As far as I
> know, there is not much in the EJB spec (1.1) on when the bean classes are
> loaded. So you are probably limited to doing tasks that do not need more
> than the base java classes.
You are not limited at all. Class loading is specified by the Java Language
Spec. If the JVM needs a class that is not already loaded, it attempts to load
the class at that time. If the class is found, it is loaded and then used. So,
you are not limited to doing tasks that require just the base java classes,
you can do any task that needs any class, AS LONG AS that class can be found
in the classpath of the JVM that needs to load the class.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".