Topics

Introduction To top of page

This guideline focuses on designing session beans. Additional guidance on session beans, such as how to identify and model them, is provided by Guidelines: Session Beans. General guidance on EJBs is provided by Guidelines: Enterprise JavaBeans (EJBs).

Local vs. Remote Interfaces To top of page

Session beans can provide local and/or remote interfaces. See Guidelines: Enterprise JavaBeans (EJBs) for guidance on when to use which.

Parameter PassingTo top of page

Each call of a session bean's remote interface carries overhead. Thus, the number of remote calls required to perform a given use-case can be a significant driver of performance and network loading. See Guidelines: Enterprise JavaBeans (EJBs) for strategies for parameter passing.

TransactionsTo top of page

Session beans can use use bean-managed or container-managed transactions. Generally container-managed transactions are simpler, and so are the preferred approach. See Guidelines: Designing Enterprise JavaBeans (EJBs) for more guidance.



Rational Unified Process   2003.06.15