Skip to main content


2 replies [Last post]
Joined: 2003-06-20

I know relatively little about them, but they appear to have a high potential to be a clear language enhancement.

IIUC, they allow the running thread to be suspended, while another operation occurs. The typical use case is to allow a server to send a response to a browser and wait for the next request. This model reverses the standard server side code, making it easier to understand.

It fits well as a Java enhancement as it is
1) Difficult to do as open source using existing JVM features
2) Provides a real improvement in clarity as to what the goal of your code is

I am sure that there are others on this forum who know more, but this is something I would definitely like investigated for 1.6.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-06-20

You need to provide a lot more description for a meaningfull discussion.

I was looking these days into continuations and I can only say one thing, I have no idea what they are, how can they be introduced in Java.

I seen usage of them in the Seaside framework, where it was very nicely described how they can be used to describe a flow across more than one HTTP request.

Joined: 2003-06-20

I'd love to provide more detail, but I don't understand how to implement them either. But it seems there are clever people who do.

A good explanation is here -

A website trying to add JVM continuations is here -

Its all about throwing out the old model of web applications, and replacing them with a more natural approach that treats a human user in the same way that a datasource would be treated.