Queue queue = (Queue) ictx.lookup("queue");
Topic topic = (Topic) ictx.lookup("topic");
ictx.close();
ManagedConnectionFactoryImpl mcf = new ManagedConnectionFactoryImpl();
mcf.setResourceAdapter(ja);
System.out.println("ManagedConnectionFactoryImpl ok");
ManagedConnectionImpl mci = (ManagedConnectionImpl) mcf.createManagedConnection(null,null);
System.out.println("ManagedConnectionImpl ok");
OutboundConnection oc = (OutboundConnection) mci.getConnection(null,null);
System.out.println("OutboundConnection ok");