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");
final OutboundSession os =(OutboundSession) oc.createSession(false,1);
System.out.println("OutboundSession ok");