Hi
Khadija,
I assume, you're talking about JDBC-like data sources in the Java EE context. Redis is not a database that is JDBC compliant. AFAIK, there is no integration that supports a Java Redis Client with container managed resources. You need to manage connection details and resources yourself.
With JBoss 7 (JavaEE 6) you can use CDI together with lettuce, which manages the client lifecycle, but you still have to provide the connection details (host, database number, authentication) by yourself.
HTH, Mark