Passivate problems with inheritance

2002-03-13 Thread Michael Moossen
Hi, People I have trouble wenn the application server (orion/jboss) passivates an entity bean that extends another, andI don't know why!! :( I have two beans, "Request" and "AccountRequest" (and another: "PrivilegeRequest") Declaration of Request: EJB: public class RequestEJB implements

Inheritance Problem, orion bug

2001-06-18 Thread Christoph Sturm
Hey all! I have an app with different article types, that are stored in different tables, and are represented by different cmp-entity-beans. All my remote-interfaces implement the same interface ArticleBase, which extends EJBObject. Then I have a main article table which stores refenrences to

Inheritance Problem, orion bug

2001-06-18 Thread Christoph Sturm
Hey all! I have an app with different article types, that are stored in different tables, and are represented by different cmp-entity-beans. All my remote-interfaces implement the same interface ArticleBase, which extends EJBObject. Then I have a main article table which stores refenrences to

RE: Implementation inheritance with ejb...

2001-04-03 Thread Jeff Schnitzer
I don't think you can have an inheritance structure like this. When you define the parent relationship, the EJB container wants a method 'abstract Category getParent()' which does not exist. I have a similar tree structure without the inheritance (also called 'Category'), and it works with some

Re: sessions, inheritance and authorization

2000-11-06 Thread Daniel G. Koulomzin
me. -Dan Adam Winter wrote: Thanks for your reply. In answer to your question... > > Second, does inheritance of Session Beans, work the same as other > > inheritance in Java? The answer is probably yes, but I've > > never seen this > > covered. Every EJB I've seen has e

RE: sessions, inheritance and authorization

2000-11-05 Thread Jeff Schnitzer
r reasons as well but those are probably the two best. Second, does inheritance of Session Beans, work the same as other inheritance in Java? The answer is probably yes, but I've never seen this covered. Every EJB I've seen has extended EjbObject. Can I still have abstract super classes?

RE: sessions, inheritance and authorization

2000-11-05 Thread Adam Winter
Thanks for your reply. In answer to your question... Second, does inheritance of Session Beans, work the same as other inheritance in Java? The answer is probably yes, but I've never seen this covered. Every EJB I've seen has extended EjbObject. Can I still have abstract super classes

sessions, inheritance and authorization

2000-11-04 Thread Adam Winter
a firewall and both appear to the server as having the same IP? Second, does inheritance of Session Beans, work the same as other inheritance in Java? The answer is probably yes, but I've never seen this covered. Every EJB I've seen has extended EjbObject. Can I still have abstract super classes

Inheritance

2000-09-01 Thread Kurt Hoyt
I know the EJB 1.1 and 2.0 specs avoid (finesse?) the issue of bean inheritance, but has anyone tried doing anything that mimics inheritance using Orion? If so, can you share how you accomplished it? I have an object model that uses inheritance. I started with a trial version of PowerTier from

Re: Inheritance

2000-09-01 Thread Etienne Bernard
On Fri, Sep 01, 2000, Kurt Hoyt wrote: I know the EJB 1.1 and 2.0 specs avoid (finesse?) the issue of bean inheritance, but has anyone tried doing anything that mimics inheritance using Orion? If so, can you share how you accomplished it? I was able to create entity beans (BMP) which remote

RE: Inheritance

2000-09-01 Thread Joe Walnes
I know the EJB 1.1 and 2.0 specs avoid (finesse?) the issue of bean inheritance, but has anyone tried doing anything that mimics inheritance using Orion? If so, can you share how you accomplished it? EJB does not directly support inheritance - the main reason being that the Home interface

Re: Inheritance

2000-09-01 Thread Mike Clark
There has been lively discussion on this topic in the ejb-interest mailing list. You can search the archives for inheritance here... http://archives.java.sun.com/archives/ejb-interest.html EJB inheritance has some general restrictions, though I don't think you'll find Orion to be the culprit