Contribution Connecting to Tamino

To avoid all the Java Classes connecting to Tamino
I have one Java Class for Connection and every class that needs connection to Tamino extends the Connection class

Implementation:
import com.database.TaminoConnection;
public class EnvProfileHome extends TaminoConnection{
private TaminoClient taminoCli= null;
private String dbURL = “http://host/tamino/dbName”;

public method Declaration(){
try{
taminoCli = openConnetion(dbURL);//open connection to Tamino




}close try

}//close Catch
closeConnection();//close Tamino Connection
TaminoConnection.java (680 Bytes)