I suggest you to consider Spring Framework and Quartz.

On Dec 4, 2007 4:52 AM, Christopher Cheng <[EMAIL PROTECTED]>
wrote:

> In struts1, I have a few plugin to preconfigure some services such as
> QuartzPlugIn during startup
>
> public void init(ActionServlet actionServlet,
>                     ModuleConfig moduleConfig) {
>
>        try {
>            SchedulerFactory sf = new StdSchedulerFactory();
>            Scheduler sched = sf.getScheduler();
>            sched.start();
>        }
>        catch (Exception e) {
>            e.printStackTrace(System.out);
>        }
>    }
>
> In strtus2, do I have to write a new plugin in a seperate jar? Is there a
> simpler way?
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to