JEE5 New Features

1,609 views
1,427 views

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,609
On SlideShare
0
From Embeds
0
Number of Embeds
63
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Override annotation is a marker annotation type that can be used to annotate methods only. This annotation type serves as an assertion that the annotated method overrides a method of a superclass method. If you use this annotation on a method that does not overrides a superclass method, the compiler issues a compiler error to alert you to this fact.
  • Limitations: Because Java EE 5.0 supports dependency injection with managed classes, you can't use dependency injection from helper classes. And you must still use JNDI if you want to use resources or services from a helper class.
  • ×