The data source used by EJB CMP entity beans is specified by the sql.dataSource Ant property—see “Commonly configured properties” in Chapter 2, “Deploying and Configuring EJB Components,” in the Enterprise JavaBean User’s Guide.