[weld-dev] Resource declarations outside Java EE

Gavin King gavin.king at gmail.com
Fri Nov 27 10:01:35 EST 2009


Pete, does this work in, say, Tomcat:

   @Resource(lookup="jdbc/TestDB")
   @Produces Datasource testDB;

(I don't see why it shouldn't.)

-- 
Gavin King
gavin.king at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org


More information about the weld-dev mailing list