New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify that all resource references must be resolved at deployment time #54

Open
bshannon opened this Issue Aug 1, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@bshannon
Member

bshannon commented Aug 1, 2017

From the beginning, a goal of Java EE has been to provide reliable and predictable behavior
for applications. Applications express their requirements on aspects of the operational
environment using deployment descriptors and annotations. The Deployer has visibility into
these requirements of the application and can map them to the facilities of the operational
environment. The application expects all of its requirements to be met before it starts
execution. There's no need for the application to check whether its resource requirements
have been met.

The Java EE platform specification needs to make it clear that deployment MUST fail if the
resource requirements of the application can not be met. Among other things, this means
that all resource references must be mapped to actual resources in the operational environment.

@bshannon

This comment has been minimized.

Show comment
Hide comment
@bshannon

bshannon Aug 2, 2017

Member

The key is that an application should not be started if its resource requirements haven't
been met. An alternative would be to deploy the application but not start it, perform
whatever administrative actions are necessary to satisfy the resource requirements,
and then start the application.

Member

bshannon commented Aug 2, 2017

The key is that an application should not be started if its resource requirements haven't
been met. An alternative would be to deploy the application but not start it, perform
whatever administrative actions are necessary to satisfy the resource requirements,
and then start the application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment