> What are the necessary and sufficient conditions for something's being a
> resource manager?  What is to prevent me from saying my Foobar class is

It will live outside the scope of the EJB server, thus, the EJB server
will not manage it's thread or life cycle (exactly unlike your bean),
but will require thread-safe concurrent access (exactly unlike your
bean).

Think of a JDBC driver which all your beans are using.

Your resource manager might need to define a number of interfaces to
support connection pooling, transaction demarcation, and authentication
against the container.


> ...?  What is a resource?  Why do software professionals CONSTANTLY use
> this word?  Why did the 1.1 specification not contain this bit of
> information?

The term *resource manager* comes from the transaction processing world,
where it is generally used to describe the database server (and similar
beasts).

JTA adopts the term along with the XAResource interface for managing
transactions over resource managers.

EJB adopted the term along with JTA.

arkin

>
> 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".

Reply via email to