Showing posts from April, 2011

No-interface View

The EJB 3.0 local client view is based on a plain old java interface (POJI) called a local business interface.
A local interface defines the business methods that are exposed to the client and that are implemented on the bean class.
Although this separation of interface and implementation is a well-accepted approach to application design, the separation
sometimes is unnecessarily cumbersome and adds little value. This is especially true for very fine-grained
components with closely coupled clients that are collocated in the same module.

Developers have asked for a way to get the same enterprise bean functionality without having to write
a separate business interface. The EJB 3.1 specification addresses this by making local business interfaces optional.
The result is the no-interface local view.

The no-interface view has the same behavior as the EJB 3.0 local view, for example, it supports features such as
pass-by-reference calling semantics and transaction and security propagation. However, a …