public Object localise(CommModule commModule) {

	// use an invocation handler to invoke method
		InvocationHandler handler = new StubGenerator(this.host, this.port,
				this.serviceName, commModule);
		try {
			Class<?> c = Class.forName(remoteInterfaceName);
			// create a proxy for communication to server side
			Object proxy = Proxy.newProxyInstance(c.getClassLoader(),
					new Class[] { c }, handler);
			return proxy;
		} catch (ClassNotFoundException e) {
			System.out.println("Class Not Found Exception");
			e.printStackTrace();
		}
		return null;
	}