how can i establish the connection pooling in JBOSS?
You can deploy a datasource through *-ds.xml file. See this for details http://www.jboss.org/community/docs/DOC-9328