tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Luis Cetina <>
Subject DataSource tomee.xml
Date Wed, 13 Jun 2012 16:52:18 GMT
My web app is using the datasource that i set in tomee.xml like this:

<Resource id="MyDataSource" type="DataSource">
  JdbcDriver com.mysql.jdbc.Driver
  JdbcUrl jdbc:mysql://localhost:3306/mydb
  UserName myuser
  Password mypass
  JtaManaged true

How can i set this configuration inside my app (not in the server)?

*SCJA. José Luis Cetina*

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message