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

Jason Greene do-not-reply at jboss.com
Mon Apr 18 14:14:59 EDT 2011


Jason Greene [http://community.jboss.org/people/jason.greene] created the discussion

"Re: Data sources in EAR on AS7?"

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

--------------------------------------------------------------
> henk de boer wrote:
> 
> > 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?

No plans as of yet. If someone can provide a good use case why the general EE stuff can't be used then we can do it. Not very likely for 7.0 though unless someone wants to contribute. It would certainly be unmanaged.
.
--------------------------------------------------------------

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

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/20110418/87516eab/attachment.html 


More information about the jboss-dev-forums mailing list