dev@jsr311.java.net

Re: per-request life cycle <was> Re: Precondition support

From: Ryan Heaton <ryan_at_webcohesion.com>
Date: Thu, 12 Apr 2007 10:31:17 -0600

Just wanted to give my +1 on this...

On 4/12/07, Jerome Louvel <jerome.louvel_at_noelios.com> wrote:
>
> Paul,
>
> > After some mulling over of this you convinced me that a
> > per-request life
> > cycle is the right thing to concentrate on. EE focused developers may
> > find it a bit odd because of servlets and session beans but i
> > think it
> > makes it easier for developers.
>
> Cool. It's nice to see some consensus here :)
>
> > I believe we can afford a more complex algorithm if it is possible to
> > scale out the application according to the RESTful style.
> >
> > However, i do think some way to allow a resource to be
> > singleton could
> > still be useful for specialized/optimal cases as the
> > performance gains
> > can potentially be substantial. But i do not think this should be the
> > primiary case we concentrate on.
>
> Like a Servlet can be marker as synchronized, it should be possible to mark
> a Resource as a singleton.
>
> Best regards,
> Jerome
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: dev-help_at_jsr311.dev.java.net
>
>