Re: LongRunning tasks

Jacob Kjome <[email protected]> Mon, 05 Jan 2004 00:35:27 -0600
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
Hi Christian,

So, we are officially not servlet 2.2 compatible anymore, eh (because of 
the new use of the servlet 2.3+ HttpServletRequestWrapper)?  Fine by me as 
long as everyone else is ok with it.

Not sure I agree with the change in ApplicationGatway where HTML code is 
written out for the long running stuff.  First, that means that long 
running events are only supported for HTML clients such as web browsers and 
not other clients such as WAP phones and such.  Plus it doesn't seem right 
for the front controller to be writing markup to the client anyway.  That 
should be done in another layer, IMO.

Also the fact that XMLC is being used by the core of Barracuda when 
Barracuda is supposed to be (relatively) agnostic on DOM 
implementations.  This means that if one wants to use, for instance, Jivan 
instead of XMLC, XMLC will still have to be available to account for 
Barracuda's internal use of XMLC.  Seems like this forces library bloat on 
users.

Anyway, the functionality seems pretty cool.  Seems like it could have been 
implemented slightly cleaner, though.  Features like this ought to be able 
to be plugged in.  I'm not saying I have the answer for how to do that, but 
I think we need to sit down and think about how to simplify the core of 
Barracuda.  Additions like this, be they cool or not, make Barracuda 
inevitably more complex.  Users should be able to add features like this in 
if they want them and leave them out if they don't.  Maybe a discussion for 
Barracuda 2.0?

Jake

At 06:20 PM 1/4/2004 -0500, you wrote:
>I just checked a pretty massive change into cvs - this to add built in
>support for Long Running tasks from with Barracuda. Check here for more
>details: http://barracudamvc.org/Barracuda/docs/events/long_running.html
>
>Comments and feedback welcome...
>
>Christian
>----------------------------------------------
>Christian Cryder
>Internet Architect, ATMReports.com
>Project Chair, BarracudaMVC - http://barracudamvc.org
>----------------------------------------------
>"Coffee? I could quit anytime, just not today"
>
>_______________________________________________
>Barracuda mailing list
>[email protected]
>http://barracudamvc.org/lists/listinfo/barracuda