I need two or more than two connections in my web application using jpa
For single datasource jpa will use multiple connections internally.So you don't need to do anything.