|
Hi
Thorsten,
next
week, there will only be a maintenance release (2.1.1) that fixes the build.xml
bug in the empty sample project wizard for Hibernate 2 projects. Support for
abstract EJB inheritance is already in the code base of AndroMDA 3.x (see the
HEAD branch in CVS). You may try it already if you do a CVS checkout and build
AndroMDA from the sources which is only a matter of one line in a properties
file and a call to "ant".
About
EJB inheritance: There is no REAL inheritance in EJB. For example: Create three
beans, call them AnimalBean, DogBean and CatBean. Let DogBean and CatBean
inherit from AnimalBean. Let all the interfaces inherit, too. Then, call
DogHome.create("fido") and CatHome.create("pussy"). Then, call
AnimalHome.findByPrimaryKey("fido"). Surprise, surprise: You will get an
AnimalBean, not a DogBean and you will NOT be able to cast. You see what
happened?
So
all that we do in the AndroMDA 3.x EJB cartridge is abstract inheritance. The
base classes themselves cannot create instances and cannot find instances of
derived classes.
Cheers...
Matthias
|
Title: Nachricht
- [Andromda-user] How to select Remote or LocalHome EJB dkernek2
- RE: [Andromda-user] How to select Remote or LocalHome... Matthias Bohlen
- Re: [Andromda-user] How to select Remote or LocalHome... Wouter Zoons
- [Andromda-user] Next Release Thorsten Lamby
- RE: [Andromda-user] Next Release Matthias Bohlen
- RE: [Andromda-user] Next Release Thorsten Lamby
- RE: [Andromda-user] Next Release Matthias Bohlen
- RE: [Andromda-user] Next Release Thorsten Lamby
- RE: [Andromda-user] Next Rel... Matthias Bohlen
- Re: [Andromda-user] Next Rel... Richard Kunze
- RE: [Andromda-user] Next Rel... Thorsten Lamby
- Re: [Andromda-user] Next Rel... Richard Kunze
