I don't see what difference you should make between accessing a datasource
from an entity or a session bean. A datasource is bind to a jndi name, and
you can access this datasource within a jBoss container - should it be
session or entity bean container.

Hermann  R A N G A M A N A
Ingénieur Informaticien
Primagendys SAS
Tél : +(33) 1 43 58 27 83
Fax : +(33) 1 43 58 27 17
e-mail : [EMAIL PROTECTED]
----- Original Message -----
From: "Peter Wone" <[EMAIL PROTECTED]>
To: "Jboss-User (E-mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, October 09, 2001 12:00 AM
Subject: Re: [JBoss-user] Obtaining a Connection object through Session
beans


> > I need to access my data base through some of my session beans directly
> > (With out going through the entity beans). how do I do this by using
> > Connection object from the container pool of Connections.
>
> You won't get a useful answer to this in an email, it's too big a
question.
> You've basically asked for a course in using EJB 1.x.
>
> Go buy a book like Java Server Programming J2EE Edition, Wrox Press. There
> are several chapters devoted to the subject.
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to