Can any one pls tell how to set the jdbc connection thru BMP by using properties Is it also possible to get JDBC connection in session bean also if yes then how
SCJP,SCWCD,SCBCD<br />If Opportunity doesn't knock then build the door
posted 14 years ago
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?