Brad,
WSCompile needs to load your classes so it can use reflection to
discover the web service operations. When loading
the class Java will execute the code in the static blocks.
Baker, Brad (Contr) wrote:
> Hi all,
>
> Why does WScompile have the bizarre behavior of executing static
> blocks? I need some threads start in one of my WS and so I put it in
> my static block. When the raw war is “Cocked” I see messages from
> these threads! Why is code being run, at all during “Cocking”?
>
> Thanks,
>
> Brad
>