« JRoller down until... | Main | JRoller on the fritz... »

Continue my continuing series on continuations?

Yes I will, but don't hold your breath. I've got a lot on my plate now. I've been starting to run in the mornings again, after my usual winter lapse, so I have had some time to think about the problem of integrating my hacked-free version of Cocoon Control Flow into a Struts application. I'll try to write up my thoughts on the topic in the next couple of days, because it may be while before I have time to code up a solution.

Comments:

Dave.. Do you know if it is possible to implement continuations with bean shell scripts as opposed to java scripts? It seems to me that since bean shell interprets java code line by line, it should be possible to temporarily suspend the execution of a line, serialize everything and continue back as if nothing happened..

Posted by Grant Greene on May 02, 2004 at 01:03 AM EDT #

Dave, I don't know what you're looking for, but if you want to get as close to continuations in java as possible and therefore suggest BeanShell, maybe you could have a look at RIFE ( https://rife.dev.java.net/ ), it has full continuations support in standard Java.

Posted by Geert Bevin on May 02, 2004 at 05:40 AM EDT #

Grant: I don't know enough about BeanShell to say whether or not continuation support can be easily added to it or not. <p /> Geert: I'm not sure what I'm looking for either; I'm experimenting. I have looked at RIFE and I would encourage anybody who is interested in the topic of continuations in Java webapp development to look at RIFE too. However, I'm primarily interested in the mainstream web frameworks, and for me that means Struts and soon JSF, so that is where my experiements take place.

Posted by David Johnson on May 02, 2004 at 01:42 PM EDT #

David: there has been someone that succesfully isolated RIFE's continuations engine and is applying it in a standalone application that has got nothing to do with web applications. That might maybe be a route for you to follow? Drop by at IRC anytime, we're willing to help out with this, it might even maybe evolve in an independent continuations engine.

Posted by Geert Bevin on May 02, 2004 at 07:01 PM EDT #

In the Cocoon CVS there is already working support for Java continuations, and a compiling classloader. For more information ask the cocoon-dev list.

Posted by Nicola Ken Barozzi on May 04, 2004 at 07:16 AM EDT #

Thanks Nicola, that sounds very, very interesting.

Posted by Dave Johnson on May 04, 2004 at 02:04 PM EDT #

Another vote here for RIFE. I was looking at Cocoon and continuations back when 2.0 came out, but ... JavaScript makes my brain hurt.
I recall that people were trying Java continuations in Cocoon over a year ago, and I'm surprised that it has taken this long for it to approach takeoff speed.

Posted by F.Baube on June 02, 2004 at 02:11 PM EDT #

Post a Comment:
  • HTML Syntax: NOT allowed

« JRoller down until... | Main | JRoller on the fritz... »

Welcome

This is just one entry in the weblog Blogging Roller. You may want to visit the main page of the weblog

Related entries

Below are the most recent entries in the category Java, some may be related to this entry.