posted 19 years ago
EJB is usually used for distributed environment, as it aims to support such transactions. Since the container provides you almost every important functions, transaction handling, exception handling, security, resources allocation, developers do not require to write additional codes for them.
In addition, you can use JNDI to look up the EJB services, so that the series of business operations are hidden from the callers.
Nick
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)