*/
public ServerSession createSession(int acknowledgeMode, boolean transacted)
throws JMSException {
JmsSessionStubImpl result = null;
try {
ServerSession session = _connection.createSession(acknowledgeMode,
transacted);
result = new JmsSessionStubImpl(session, _orb, _uri, _principal,
_credentials);
} catch (RemoteException exception) {
// rethrow as a JMSException