JSF has the following staging :
- Development
- UnitTest
- SystemTest
- Production
Werner I was having a look at the CDI spec and, indeed, in the appendix B.8
it talks about a javax.enterprise.inject.deployment package :
"B.8. javax.enterprise.inject.deployment
The package javax.enterprise.inject.deployment contains annotations relating
to deployment types and specialization.
• Annotations: @DeploymentType, @Specializes
• Deployment types: @Production, @Standard"
Strange enough, I can't find the API for this package.
Antonio
On Tue, Jun 7, 2011 at 16:12, Werner Keil <werner.keil_at_gmail.com> wrote:
> I fully agree, although even in the scope of JSF it'll require a bit more
> than that enum.
>
> CDI 1.0 had a DeploymentContext which AFAIK was pulled out of the Final
> release, but what I read from earlier specs, this had potential to help
> define "stages" in a more flexible way.
>
>
> On Tue, Jun 7, 2011 at 5:45 PM, Antonio Goncalves <
> antonio.goncalves_at_gmail.com> wrote:
>
>> Java EE defines a set of roles, why not defining a set of staging so each
>> spec could take that into account ? I think introducing staging in JSF 2.0
>> was a very good idea, why not apply it to the entire platform ?
>
>