1)is there is any need to have a findbyPrimarykey method
when iam using another findbyXX method in EJBHome?
(eg)findbyID()
 
 
2) can u pls suggest some good books/online material to EJB basics 
 

-----Original Message-----
From: Kutzera, Dieter-Norbert [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 19, 2002 2:35 PM
To: Orion-Interest
Subject: RE: Orion 1.5.4 Local/LocalHome with BMP -> deployment problem

You can use findBy- and create-Methods but not additional ejbHome-Methods which are new in EJB2.0 spec.
 
Dieter
-----Original Message-----
From: David Tunkrans [mailto:[EMAIL PROTECTED]]
Sent: Montag, 18. Februar 2002 18:29
To: Orion-Interest
Subject: Re: Orion 1.5.4 Local/LocalHome with BMP -> deployment problem

Thanks for the reply. Does this mean that you cant use findBy-methods on the localhome inteface?
 
/David
 
public interface ProductLocalHome extends EJBLocalHome
{
  public static final String PRODUCT = "ejb/ProductLocal";
  public static final String JNDI_PRODUCT = "java:comp/env/ejb/ProductLocal";
 
  /**
   *
   * @param name
   * @return
   */
  public ProductLocal findByPrimaryKey(Integer id) throws FinderException;
}
 
 
----- Original Message -----
Sent: Monday, February 18, 2002 4:05 PM
Subject: RE: Orion 1.5.4 Local/LocalHome with BMP -> deployment problem

...  are you using ejbHome-methods? I think there is a bug in orion 1.5.4 . It it not possible to use ejbHome-methods in local home-interfaces. When you remove the declaration of this methods everythink should work.
 
I hope the bug is fixes rapidly!
 
Dieter
-----Original Message-----
From: David Tunkrans [mailto:[EMAIL PROTECTED]]
Sent: Sonntag, 17. Februar 2002 14:17
To: Orion-Interest
Subject: Orion 1.5.4 Local/LocalHome with BMP -> deployment problem

EntityBean with BMP and Local/LocalHome etc. Doesnt compile, some internal error...
 
Does anyone have an idea of what could be the cause of the error?
 
/David
 
Auto-unpacking E:\cygwin\usr\local\java\orion\applications\app.ear... done.
Auto-unpacking E:\cygwin\usr\local\java\orion\applications\app\webApp.war... done.
Auto-deploying app (Assembly had been updated)...
Auto-deploying product.jar (No previous deployment found)...
Found 1 semantic error compiling "E:/cygwin/usr/local/java/orion/ProductLocalHome_EntityHomeWrapper31.java":
 
   156. EvermindEntityContext finderContext = this.getContextInstance(thread);
                                              <----------------------------->
*** Error: The method "com.evermind.server.ejb.EvermindEntityContext getContextInstance(com.evermind.server.ThreadState $1);" can throw the
checked exception "java/rmi/RemoteException", but its invocation is neither enclosed in a try statement that can catch that exception nor i
 the body of a method or constructor that "throws" that exception.
Error compiling E:\cygwin\usr\local\java\orion\applications\app/product.jar: Error in source
 

Reply via email to