Re: Re: WG: Is there any way to use a scheduler with Cocoon ?

Michael Wechner <[email protected]> Fri, 28 Feb 2003 01:08:39 +0100
Newsgroups gmane.comp.cms.wyona.devel,gmane.text.xml.cocoon.user
Message-ID <15101178.1049799824536.JavaMail.root@pop3>
Michael Melhem wrote:

>On Wed, Feb 26, 2003 at 12:46:56PM +0100, Scherler, Thorsten wrote:
>  
>
>>Hello group,
>> 
>>is there a way to integrate our scheduler into a cocoon app without installing the whole wyona cms dist.?
>>    
>>
>
>The avalon cornerstone scheduler already comes with cocoon2.1. Why do we
>need another scheduler ?
>

To be honest, at the time we have decided to implement a Scheduler into 
Wyona (resp. Lenya) I haven't really been aware of the Avalon 
Cornerstone Scheduler (although Giacomo mentioned something like that to 
me, but I think after we already started integrating Quartz).

I don't mind at all to reconsider this, although I think Quartz is quite 
well done and very flexible.

Well, anyway, we tried to implement Quartz as "pluggable" as possible, 
by which I mean it shouldn't
be too  much effort now to integrate Avalon Cornerstone Scheduler, 
either to replace Quartz or have it
side-by-side.

In the end I think the actual scheduler should only be a specific 
implementation, which
is able to interpret an XML made up of triggers, jobs and tasks (and is 
having an API).

>
>ContinuationsManagerImpl.java uses this scheduler for example.
>
>Regards,
>Michael
>  
>
>> Please have a look on the following mail!
>> 
>>Thank you very much!
>> 
>>-----Urspr?ngliche Nachricht-----
>>Von: MAHE Vincent FTRD/DIH/REN [mailto:[email protected]]
>>Gesendet: Mittwoch, 26. Februar 2003 12:41
>>An: [email protected]
>>Betreff: RE: Is there any way to use a scheduler with Cocoon ?
>>
>>
>>Hello,
>> 
>>Yes but I need to install the whole Wyona whereas I'm only interested in the scheduler.
>>

No, we integrated Quartz as a Servlet, which is starting the scheduler 
during "init".

But yes, if you want to use the web user interface, which is dependent 
on Cocoon and Wyona.

>>My webapp has nothing to do with a Content Management and Publishing System.
>> 
>>I just want to use the scheduler of Wyona in my webapp ... do you have any simple integration example ?
>>

Take a look at the "unipublic" publication, where you can schedule 
articles to be published by a "date trigger".

Or take a look at the "oscom" publication. where RSS feeds are pulled in 
on a regular basis.

Thanks

Michael

>> Vincent
>>
>>-----Message d'origine-----
>>De : Scherler, Thorsten [mailto:[email protected]]
>>Envoy? : mercredi 26 f?vrier 2003 11:15
>>? : [email protected]
>>Objet : AW: Is there any way to use a scheduler with Cocoon ?
>>
>>
>>Hello Vincent,
>> 
>>http://www.wyona.org/docs/xdocs/scheduler.html
>> 
>>wyona is a Open Source CMS and based on Cocoon and Java. 
>> 
>>Just have a look.
>> 
>>p.s. It will hopefully become lenya in the near future and part of ASF
>> 
>>King regards
>>Thorsten
>> -----Urspr?ngliche Nachricht-----
>>Von: MAHE Vincent FTRD/DIH/REN [mailto:[email protected]]
>>Gesendet: Mittwoch, 26. Februar 2003 11:09
>>An: [email protected]
>>Cc: [email protected]
>>Betreff: Is there any way to use a scheduler with Cocoon ?
>>
>>
>>
>>Has anyone managed to integrate a Java scheduler in a webapp using Cocoon 2.0 ?
>> 
>>Some people (Martin Holz for instance) on the net are talking about Jakarta CornerStone Scheduler but I can't find any example.
>> 
>>Vincent
>> 
>>
>>    
>>
>
>_______________________________________________
>WyonaCMS-dev mailing list
>[email protected]
>http://mail.wyona.org/cgi-bin/mailman/listinfo/wyonacms-dev
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]