In my server config file I have a data resource "jdbc/MyData" and in my data layer i call it like this.
DataSource zDataSource = (javax.sql.DataSource)zContext.lookup("jdbc/MyData");
This works, but I dont want to hardcode the jdbc name in the data class. How
and where do I put this when I am not importing anything into the data class
besides data specific classes?
Thanks
-B

