I think the cleanest solution is to use listeners... add a ServletContextListener inside of which you can start/do anything you need

<listener>
<listener-class>blah.blah.blah.ApplicationListener</listener-class>
</listener>


public class ApplicationListener implements ServletContextListener  {

.....

}



On 10/12/2011 02:12 AM, Resin User wrote:
There is a need for us to start few threads as soon as Resin starts up.

Can someone guide us.  We are using Resin 4.x



--

*Eric S. Kreiser* *
* Senior Software Architect


*M**z**inga**
* 5095 Ritter Road . Mechanicsburg, PA  17055
---------------------------------------------------
*Call me:* 717.458.9804
*Fax me:* 717.790.0401
*Email me:* ekrei...@mzinga.com <mailto:ekrei...@mzinga.com>
*Learn more:* http://mzinga.com/v/ekreiser/
*Follow Mzinga:* http://twitter.com/mzinga
*Our Customer Experience Community:*
http://community.omnisocial.mzinga.com/app/signon/

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

Reply via email to