public static XMultiServiceFactory rSmgr;
public static void main(String argv[]) throws java.lang.Exception
{
try{
rSmgr = connect("socket,host=localhost,port=8100");
sdbcx test = new sdbcx(rSmgr);
test.createConnection();
test.displayTableProperties();
// now we dispose the connection to close it
XComponent xComponent = (XComponent)UnoRuntime.queryInterface(XComponent.class,con);
if(xComponent != null)
{
xComponent.dispose();