This content has been marked as final.
Show 2 replies
-
1. Re: Need help with ds.xml/datasource and Seam Injection
norman.richards Jul 10, 2006 12:06 PM (in response to mjrpain)I don't think we create a datasource component. You might be forced to fall back on EJB3 injection. For example:
@Resource(name="jdbc/whatever", mappedName="java:/DefaultDS") private javax.sql.DataSource ds;
-
2. Re: Need help with ds.xml/datasource and Seam Injection
gavin.king Jul 10, 2006 1:55 PM (in response to mjrpain)Right, but EJB3 injection is just perfect here, no need for anything new, I guess...
Of course, it would be -totally- trivial to create a manager component for a datasource, but I don't see the need.