This article is part one of a two-part series on the new Enterprise JavaBeans
(EJB) 3.0 specification. Prior knowledge of J2EE/EJB will enable a better
reading experience. Part 1 focuses on the basic programming model of EJB 3.0.
Part 2 will focus on more advanced features like dependency injection and
complex persistence mappings (entity inheritance and multitable mappings).
Over the past 15 years, each revision of middleware specifications like DCE,
CORBA, and J2EE evolved into a larger, more complex definition of new
functionality and bloatware. Rarely has a standards-based specification
stepped back and actually tried to make development easier for its user base.
Until now that is. The mandate of the EJB 3.0 expert group to focus on ease
of use and simplification is a... (more)
Aspect-oriented programming (AOP) is a promising new paradigm that came out
of Xerox PARC a few years ago and is just now becoming mature and mainstream.
A natural complement to object-oriented programming, it has the promise of
easing the management of complex systems and making their organization much
more intuitive, extendable, and flexible. AOP makes OOP multidimensional.
What is an A... (more)
Last month's article on EJB 3.0 (Vol. 9, issue 11) focused primarily on the
basic features of the specification. Part 2 dives much deeper into the
specification to talk about more advanced features like dependency injection,
dependent objects, secondary tables, and inheritance.
Dependency Injection
Dependency injection is the opposite of jndiContext.lookup(). The idea of
dependency inject... (more)