To get a connection with 10 urls in java

Connectivity

To get a connection with 10 urls in java

hi,
i need to get a connection to the teradata db which requires 10 urls how can i get a connection to this DB in java .
can anyone please help me in this
thanks