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.

Scalability and Performance Hints

Having completed our whirlwind tour of EJB design and development, it's time to discuss a few scalability and performance hints. Notice that most of these have to do with EJB design, not implementation. Thus, many aspects of efficiency with respect to EJBs can be effected at the very early stages of product development.

Prefer Message-Driven Beans over Session Beans

Messaging is a highly underrated, yet very efficient, method of remote communication. As I'll describe in more detail in Chapter 9, it enables a higher degree of parallelism because it prevents the caller from stalling while the callee is busy processing ...

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