env.put("java.naming.factory.initial", "fr.dyade.aaa.jndi2.client.NamingContextFactory");
env.put("java.naming.factory.host", "localhost");
env.put("java.naming.factory.port", "16400");
ictx = new InitialContext(env);
Queue queue = (Queue) ictx.lookup("queue");
QueueConnectionFactory qcf = (QueueConnectionFactory) ictx.lookup("qcf");
ictx.close();
QueueConnection qc = qcf.createQueueConnection();
QueueSession qs = qc.createQueueSession(true, 0);