FileDocCategorySizeDatePackage
Stateless3Bean.javaAPI DocJBoss 4.2.12298Fri Jul 13 20:55:18 BST 2007org.jboss.tutorial.reference21_30.bean

Stateless3Bean

public class Stateless3Bean extends Object implements Stateless3
author
William DeCoste
version
$Revision: 60233 $

Fields Summary
private static final Logger
log
private Stateless2Home
stateless2Home
Constructors Summary
Methods Summary
public voidtestAccess()

    
       
   
      Stateless2 test2 = stateless2Home.create();
      try {
         InitialContext jndiContext = new InitialContext();
         Stateless2Home home = (Stateless2Home)jndiContext.lookup(Container.ENC_CTX_NAME + "/env/injected/Stateless2");
         test2 = home.create();
      } catch (Exception e)
      {
         e.printStackTrace();
      }