J2EE and Your Architecture

At this point, you may be wondering, do I need to use all of J2EE? If not, how much of its technology should I use? The answer is, as much as you want.

To be sure, most Java development efforts already use popular parts of the J2EE architecture, such as servlets, JSPs, and EJBs. JDBC has already become a popular mechanism for integrating databases into Java applications. More recently, JMS is gaining converts as people (re)discover the joys of asynchronous communication. However, one of the nice things about the J2EE model is that you don't have to embrace all of it to use some of it. For example, you don't have to use EJBs; you can simply use servlets and JSPs. Or, you can use servlets and EJBs, but not JSPs. With ...

Get Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.