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