Context initialContext = new InitialContext(); brokerHome = (BrokerHome) initialContext.lookup("Europe/CH/Broker"); broker = brokerHome.create(account, password);