RE: [JBoss-user] I really need the help

2001-04-27 Thread Filip Hanik

http://www.jboss.org/documentation/HTML/ch06s05.html

~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Steve Zhang
 Sent: Friday, April 27, 2001 1:24 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] I really need the help


 HI all:
 I am using a session bean to call a entity bean. like following:

 public  class SignInLoggerManagerEJB implements javax.ejb.SessionBean
 {
  privateSignInLoggerHome   mySignInloggerHome;

 public SignInLoggerManagerEJB(){}
public void ejbRemove(){}
 public void ejbActivate(){}

 public void ejbPassivate(){}
 public void setSessionContext(javax.ejb.SessionContext sc){}
  public void ejbCreate()

  public void generateSignInloggerHome(){
   String signInloggerHomeName =
 SignInLogger;//JndiBeanName.SIGN_IN_LOGGER;
try{
  InitialContext jndiContext = new InitialContext();
  Object ref = jndiContext.lookup(SignInLogger);
  mySignInloggerHome = (SignInLoggerHome)
 PortableRemoteObject.narrow(ref, SignInLoggerHome.class);
   }
   catch ( Exception ex){
 throw new GeneralEjbException(ex);
   }
  }
 }

 in my generateSignInloggerHome() function I can not lookup the name of the
 entity bean SignInLogger. Actially in the entity bean's ejb-jar file and
 jboss.xml the jndi name is SignInLogger, why I can not look up?
 what should
 I do?

 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-user



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] I really need the help

2001-04-27 Thread Steve Zhang


wo, it is so cool.. 
Thank all of u!!
-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 1:40 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] I really need the help


http://www.jboss.org/documentation/HTML/ch06s05.html

~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Steve Zhang
 Sent: Friday, April 27, 2001 1:24 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] I really need the help


 HI all:
 I am using a session bean to call a entity bean. like following:

 public  class SignInLoggerManagerEJB implements javax.ejb.SessionBean
 {
  privateSignInLoggerHome   mySignInloggerHome;

 public SignInLoggerManagerEJB(){}
public void ejbRemove(){}
 public void ejbActivate(){}

 public void ejbPassivate(){}
 public void setSessionContext(javax.ejb.SessionContext sc){}
  public void ejbCreate()

  public void generateSignInloggerHome(){
   String signInloggerHomeName =
 SignInLogger;//JndiBeanName.SIGN_IN_LOGGER;
try{
  InitialContext jndiContext = new InitialContext();
  Object ref = jndiContext.lookup(SignInLogger);
  mySignInloggerHome = (SignInLoggerHome)
 PortableRemoteObject.narrow(ref, SignInLoggerHome.class);
   }
   catch ( Exception ex){
 throw new GeneralEjbException(ex);
   }
  }
 }

 in my generateSignInloggerHome() function I can not lookup the name of the
 entity bean SignInLogger. Actially in the entity bean's ejb-jar file and
 jboss.xml the jndi name is SignInLogger, why I can not look up?
 what should
 I do?

 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-user



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user