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

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

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

}close try

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