Properties was the
EJB 1.0 way to handle a jdbc
connection. In 1.1 and 2.0 you are supposed to get the jdbc datasource from the JNDI ENC.
See Sun's Pet Shop CatalogDAOImpl.java for complete code of JNDI ENC implementation.
Are you using a 1.0 container?