David,

I am right in thinking that to support this you will have to throw out
connection poolling - you must have a very, very small number of users. You
will have to continually close and open connections constantly - note that
the close on the connection given to you by your server is not really
implemented - well I hope so.

kind regards

William Louth

> -----Original Message-----
> From: david sims [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, May 03, 2000 6:50 PM
> To:   [EMAIL PROTECTED]
> Subject:      database connection pooling per caller principal
>
> Does anyone know if the EJB 1.1 or forthcoming 2.0 spec addresses the
> situation
> where each caller principal into an EJB container needs to create its own
> database connection.
>
> Typically, it seems that an EJB container will open a few pooled
> connections to
> the database all using a single username/password.
>
> But the security people don't like to see a "proxy" accessing the
> database.
> They want the actual EJB caller principal names to be used when creating
> database connections.
>
> I could write this code manually in my BMP beans. Not a problem. But is
> there a
> portable way I can do this? Do any of the specs address this issue?
>
> thanks,
> david
>
> --
> David Sims               [EMAIL PROTECTED]
> Sims Computing, Inc.       www.simscomputing.com
>
> ==========================================================================
> =
> 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".


***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation,
offer or agreement or any information about any transaction, customer
account or account activity contained in this communication.
***********************************************************************

===========================================================================
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