Wednesday, May 30, 2007

Using annotations in Web Applications to secure it

clipped from java.sun.com
Using Annotations in Web Applications


Java EE 5 introduced annotations, a way to simplify the
development and configuration of enterprise applications. The
March 31, 2007 Tech Tip Using Security Annotations in Enterprise Beans showed how you can use annotations to simplify the development
of secure applications that use enterprise beans. Some of the
annotations in Java EE 5 are specific to web applications.
Examples of this type of annotation are @Resource, @EJB, and
@WebServiceRef. Other annotations, such as @RunAs and
@DeclareRoles, are related to security. The security-related
annotations were introduced in the Using Security Annotations in Enterprise Beans tip.

0 comments: