O'Reilly logo

Enterprise JavaBeans™ Component Architecture: Designing and Coding Enterprise Applications by Paul Anderson, Gail Anderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3.5. Design Guidelines and Patterns

Even though the Loan EJB is a simple example, it adheres to basic design guidelines common to all enterprise applications. Most importantly, the business methods of an enterprise Java bean are encapsulated into a reusable, distributed component. The business methods perform tasks to accomplish one or more business processes. These business methods are devoid of any formatting or presentation information.

We showed you the Loan EJB's reusability by presenting two different clients: a stand-alone Java application with a simple command-line interface and a JSP client using a browser with HTML. Both clients call EJB business methods and perform the formatting and presentation aspects of the application.

To further ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required