I'm going to answer my own question:

You have to add the @PostConstruct annotation before the init() method 
or it will not be called.  That annotation is found in the file 
ejb-15.jar that comes with Resin.

The doc should probably be updated here:
http://www.caucho.com/resin-3.1/doc/ioc-bean.xtp

Saludos,
Jose.

Jose Quinteiro wrote:
> If you drop the attached .war into resin-3.0.22 and then hit /inittest 
> with a browser (or wget or curl or whatever) you'll see the following in 
>  the log:
> 
> Setting stuff
> Initializing stuff
> 
> 
> If you do the same to resin-3.1.0 you'll only see:
> 
> Setting stuff
> 
> Is this a bug?  Source is in the tgz file.
> 
> 
> Thanks,
> Jose.
> 
> P.S.  You won't be able to use ant to build the source until and unless 
> you download the hessian .jar and drop it into the lib directory.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to