Package org.jboss.test.pooled.interfaces

Examples of org.jboss.test.pooled.interfaces.StatelessSessionHome


   InitialContext ctx;

   private StatelessSession getSession() throws Exception
   {
     
      StatelessSessionHome home = (StatelessSessionHome)new InitialContext().lookup("nextgen.StatelessSession");
      return home.create();
   }
View Full Code Here


   {
      failures = 0;
      System.out.println("------------------------");
      System.out.println("**** NewProxy" + ejbname + " ****");
     
      StatelessSessionHome home = (StatelessSessionHome)ctx.lookup(ejbname);
      Thread[] threads = new Thread[NUM_THREADS];
      for (int i = 0; i < NUM_THREADS; i++)
      {
         threads[i] = new Thread(new NewProxy(home));
      }
View Full Code Here

   {
      failures = 0;
      System.out.println("------------------------");
      System.out.println("**** OldProxy " + ejbname + " ****");
     
      StatelessSessionHome home = (StatelessSessionHome)ctx.lookup(ejbname);
      StatelessSession proxy = home.create();
      Thread[] threads = new Thread[NUM_THREADS];
      for (int i = 0; i < NUM_THREADS; i++)
      {
         threads[i] = new Thread(new OldProxy(proxy));
      }
View Full Code Here

      System.getProperties().put(DomainSocketFactory.HANDSHAKE_COMPLETE_LISTENER, this);

      InitialContext jndiContext = new InitialContext();
      log.debug("Lookup StatelessSessionWithPooledSSL");
      Object obj = jndiContext.lookup("StatelessSessionWithPooledSSL");
      StatelessSessionHome home = (StatelessSessionHome)obj;
      log.debug("Found StatelessSessionWithPooledSSL Home");
      StatelessSession bean = home.create();
      log.debug("Created StatelessSessionWithPooledSSL");
      Principal p = bean.echoCaller("testClientCertSSLAccess");
      log.debug("bean.echoCaller(testClientCertSSLAccess) = " + p);
      try
      {
View Full Code Here

TOP

Related Classes of org.jboss.test.pooled.interfaces.StatelessSessionHome

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.