Re: Orion 1.5.4 Local/LocalHome with BMP - deployment problem

2002-02-20 Thread Morten Wilken



im very impressed with ed romans enterprise 
javabeans 2.0... one of the best computerbooks ive ever read.

sincerely
morten wilken

  - Original Message - 
  From: 
  B.Adji 
  Maharyatno 
  To: Orion-Interest 
  Sent: Wednesday, February 20, 2002 7:04 
  AM
  Subject: RE: Orion 1.5.4 Local/LocalHome 
  with BMP - deployment problem
  
  Can 
  add:
  
  Special Edition Using EJB 2.0 [Que].
  
  Professional Java EE 1.3 is kind of everything-in-one, not so focus on 
  EJB development.
  I 
  like the Enterprise Javabeans 3ed, OReilly most, as it's easy to bring for 
  travel but covers EJB in neutral way (or at least to Sun J2EE RI 
  1.3).
  Others, I found rather specific to other EJB implementation. 
  
  The 
  author also provide workbook for implementation to EJB Containers (like WL, WS 
  and J2EE RI).
  
  Another book specific to Oracle implementation (which quite similiar to 
  Orion), is Oracle9i Web Development.
  
  Cheers.
  
  
-Original Message-From: Jorge De Flon 
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, February 20, 2002 
9:53 AMTo: Orion-InterestSubject: Re: Orion 1.5.4 
Local/LocalHome with BMP - deployment problem
Mastering EJB 2ed (Ed Roman, etc.) [AW]
Enterprise Java Beans de Oreilly 3ed
Professional EJB wrox
Professional Java EE 1.3 [Wrox]

I am just reading them all and I like the first the most
regards




  - Original Message - 
  From: 
  Robert S. 
  Sfeir 
  To: Orion-Interest 
  Sent: Tuesday, February 19, 2002 
  11:41 AM
  Subject: Re: Orion 1.5.4 
  Local/LocalHome with BMP - deployment problem
  
  2) can u pls suggest some good 
  books/online material to EJB basics
  
  http://developer.java.sun.com/developer/onlineTraining/Beans/EJBTutorial/


RE: Orion 1.5.4 Local/LocalHome with BMP - deployment problem

2002-02-19 Thread Kutzera, Dieter-Norbert



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:29To: Orion-InterestSubject: Re: Orion 1.5.4 
  Local/LocalHome with BMP - deployment problem
  Thanks for the reply. Does this mean that you 
  cantuse 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 - 
  
From: 
Kutzera, Dieter-Norbert 

To: Orion-Interest 
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 
hopethe bug is fixes rapidly!

Dieter

  -Original Message-From: David Tunkrans 
  [mailto:[EMAIL PROTECTED]]Sent: Sonntag, 17. Februar 2002 
  14:17To: Orion-InterestSubject: 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 ideaof 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 
  thechecked exception "java/rmi/RemoteException", but its invocation is 
  neither enclosed in a try statement that can catch that exception nor 
  ithe 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
  


Re: Orion 1.5.4 Local/LocalHome with BMP - deployment problem

2002-02-19 Thread Robert S. Sfeir



2) can u pls suggest some good books/online 
material to EJB basics

http://developer.java.sun.com/developer/onlineTraining/Beans/EJBTutorial/


RE: Orion 1.5.4 Local/LocalHome with BMP - deployment problem

2002-02-18 Thread Kutzera, Dieter-Norbert



... 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 
hopethe bug is fixes rapidly!

Dieter

  -Original Message-From: David Tunkrans 
  [mailto:[EMAIL PROTECTED]]Sent: Sonntag, 17. Februar 2002 
  14:17To: Orion-InterestSubject: 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 ideaof 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 
  thechecked exception "java/rmi/RemoteException", but its invocation is 
  neither enclosed in a try statement that can catch that exception nor 
  ithe 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
  


Re: Orion 1.5.4 Local/LocalHome with BMP - deployment problem

2002-02-18 Thread David Tunkrans



Thanks for the reply. Does this mean that you 
cantuse 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 - 

  From: 
  Kutzera, Dieter-Norbert 
  
  To: Orion-Interest 
  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 
  hopethe bug is fixes rapidly!
  
  Dieter
  
-Original Message-From: David Tunkrans 
[mailto:[EMAIL PROTECTED]]Sent: Sonntag, 17. Februar 2002 
14:17To: Orion-InterestSubject: 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 ideaof 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 
thechecked exception "java/rmi/RemoteException", but its invocation is 
neither enclosed in a try statement that can catch that exception nor 
ithe 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