-
1. Re: EJB 3 & JBoss4.0.3
neelixx Oct 24, 2005 6:54 PM (in response to redijedi)Not sure what to tell you about the "buggy" comment. I'm working just fine on 4.0.3.
As far as the EJB3.0, you'll need to install it using the graphical installer, and choose the EJB3.0 option.
I believe this was the decision due to the fact that the EJB3.0 option is not a certified J2EE platform.........yet. -
2. Re: EJB 3 & JBoss4.0.3
bill.burke Oct 25, 2005 11:23 AM (in response to redijedi)also, EJB3 only works with Java 5 is another reason why it is not with the JBoss 4 zip. Also, EJB3 can be separately downloaded and installed into your JBoss installation. It currently works with JBoss 4.0.2 and greater. Another thing is that EJB3 is currently at release RC3 and the version that comes with the installer is RC2.
As for your webapp problem. The classloading behavior was changed from 4.0.1->4.0.2 to match requirements in the specifications. Web classloaders are now scoped and isolated from rest of EAR. -
3. Re: EJB 3 & JBoss4.0.3
tro1 Oct 25, 2005 2:26 PM (in response to redijedi)Working on a upgrade from AS 4.0.1 with EJB 3.0 preview 5, to AS 4.0.3 (used the installer).
I'm not able to find @AssociationTable within the distribution, is it replaced by ... or not supported?
This is my old prview 5 deployment description:
@OneToMany(targetEntity = TextCMPBean.class, cascade = { CascadeType.PERSIST }, fetch = FetchType.LAZY)
@AssociationTable(table = @Table(name = "TBL_TEXT_ORDER"), joinColumns = { @JoinColumn(name = "TAULENGDE_ID") }, inverseJoinColumns = { @JoinColumn(name = "ORDER_ID") })
public Set getTexts() {...} -
4. Re: EJB 3 & JBoss4.0.3
majohnst Oct 25, 2005 2:29 PM (in response to redijedi)@AssociationTable has been renamed to @JoinTable. I ran into that problem myself.
-
5. Re: EJB 3 & JBoss4.0.3
bill.burke Oct 25, 2005 2:37 PM (in response to redijedi)1) Don't use the installer. Use the EJB 3.0 RC3 distro. The installer has version RC2.
2) JoinTable has replaced AssociationTable. -
6. Re: EJB 3 & JBoss4.0.3
redijedi Oct 25, 2005 4:34 PM (in response to redijedi)Thanks for all the replies. It seems to work better with the installer than with the add-on package.
The Management annotation also changed whihc through me off since the trailblazer on services does not note this. -
7. Re: EJB 3 & JBoss4.0.3
henkomannen Nov 2, 2005 3:12 AM (in response to redijedi)Yes, regarding this @Management annotation change, is it documented somewhere? Would like some info about it.
-
8. Re: EJB 3 & JBoss4.0.3
kabirkhan Nov 2, 2005 6:44 AM (in response to redijedi)I believe it now has been moved from the interface to the bean class. Try
@Service
@Management (MyManagementIF.class)
public class MyBean implements MyManagementIF
{
}
It should eventually be useable on both the interface and on the bean class, as with @Remote/@Local -
9. Re: EJB 3 & JBoss4.0.3
henkomannen Nov 2, 2005 7:34 AM (in response to redijedi)"kabir.khan@jboss.com" wrote:
@Service
@Management (MyManagementIF.class)
public class MyBean implements MyManagementIF
{
}
Yupp, correct. It works for me now. I tried this strategy but without compiling my project in eclipse with the JBoss 4.0.3SP1 specific lib's included, but those for JBoss 4.0.3RC2. DOH! Then I got an exception at deploy time, but that's gone now.
Thanks for the confirmation. -
10. Re: EJB 3 & JBoss4.0.3
bill.burke Nov 2, 2005 9:59 AM (in response to redijedi)who changed this? It was supposed to be able to be used on both.