users@jsr311.java.net

Re: Singeltons

From: Bill Burke <bburke_at_redhat.com>
Date: Tue, 01 Jul 2008 14:12:47 -0400

Stephan Koops wrote:
> Hi Marc,
>
> can you say, when this standard for singelton annotations (or whatever)
> is available in Java EE 6? Could it be integrated in JAX-RS 1.0?
>

EJB will have a singleton model. Web Beans has its own flexible
component model too.

> I agree with Sergey, that there should be a default way to mark resource
> classes as singeltons.
>

Follow Marc's link. ApplicationConfig can return singleton objects.

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com