[jboss-dev-forums] [JBoss AS7 Development] - Re: Data sources in EAR on AS7?

henk de boer do-not-reply at jboss.com
Tue Apr 12 18:02:08 EDT 2011


henk de boer [http://community.jboss.org/people/henk53] created the discussion

"Re: Data sources in EAR on AS7?"

To view the discussion, visit: http://community.jboss.org/message/599667#599667

--------------------------------------------------------------
> Jason Greene wrote:
> 
> It all depends on what jdbc Resource class you point the annotation/xml too. If you point it to a driver XADatasource you get XA, to a PooledDataSource you get connection pooling. 

Okay, I had some problems with this in JBoss AS 6, but I'll try again in AS7. Nevertheless, this does mean my DB driver (or other external code) needs to implement the pooling (PooledDataSource). Using this mechanism I won't automatically get the connection pooling provided by JBoss AS, will I?

Also, David Lloyd hinted that a 'regular' (jboss) datasource definition inside an EAR might still be supported (without the ability of an administrator to control it). Can anyone comment on that?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/599667#599667]

Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110412/42687965/attachment.html 


More information about the jboss-dev-forums mailing list