Card 2 / 59: What are the advantages of EJB 3.x over EJB 2.x?
A)
Developers no longer need to use deployment descriptors to declare the session beans (state that a class is a session bean )
B)
The business interface of a session bean can now be a plain old Java interface (POJI)
C)
Keeping the old way in writing EJBObject or EJBHome interfaces
D)
Introducing the approach "configuration by exception" or "convention over configuration"
Answer:
A) Developers no longer need to use deployment descriptors to declare the session beans (state that a class is a session bean )
B) The business interface of a session bean can now be a plain old Java interface (POJI)
D) Introducing the approach "configuration by exception" or "convention over configuration"
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
"convention over configuration" approach means that defaults are set to reduce the time spent on setting the requirements. Only when a developer wants a specific behavior to be done other than the default, only then he/she can set the requirement explicitly
|