I don't remember the formal definition, but a resource is anything that
your application might wish to use, has a cost, and as such must be
managed. The resource manager is actually not part of the EJB server.
The RDBMS, LDAP server, SMTP agent are resource managers.
The EJB container (more specifically the transaction manager) manages
pooling, transaction enlistment, security, and quotas on all these
resources based on a policy that best fits the application.
All resources are exposed through the JNDI environment naming context.
JDBC, JMS, URL and JavaMail are on that list for EJB, JDBC and JMS also
include the necessary APIs for pooling and transaction enlistment.
arkin
Laird Nelson wrote:
>
> "John K. Peterson" wrote:
> > > 1. JNDI
> > > 2. JDBC
> > > 3. JMS
> > Don't forget (for J2EE):
> > 4. URL
> > 5. JavaMail
>
> OK. So do the previous 5 items constitute the official list of resource
> managers for the 1.1 specification? Sun? Anyone out there? Does
> anyone know why they are resource managers? What are they managing?
> What is a resource? How were the five items listed determined to be
> resource managers? Is there documentation (I'll go check the spec.)
> other than the spec. that lists these somewhere?
>
> Cheers,
> Laird
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".