How can I define the term "Declarative Security" in context of web programming? Is it same like defining "Declarative Programming"?
Asked
Active
Viewed 948 times
1 Answers
2
Usually this is the opposite of "Programmatic Security." You can define the security attributes of a "bean" or component by using XML in the appropriate place, or annotations in the Java class.
The JavaEE 6 tutorial has a section called Using Deployment Descriptors for Declarative Security.
In Java EE, the component containers are responsible for providing application security. A container provides two types of security: declarative and programmatic.

Jared Oberhaus
- 14,547
- 4
- 56
- 55