kishukishor patil wrote:Actually i want to configure Connection Pool Name. And if i configure it as you suggest then it will need code changes if my connection pool change. On the other hand if i configure it in any .xml file like context parameter then i can change it any time only need to restart the server. This is the main reason, Please suggest me any good option. Or if there is way to use connection pool with ejb.
Thanks brother...
Almost always you access a connection pool thru a datasource via jndi lookup. The datasource jndi name is specified in EJB XML files.