-
1. Re: EJB3 vs Hibernate
acoliver Oct 1, 2005 12:07 PM (in response to mikezzz)Switch to go to EJB3 for the persistance stuff/session bean type stuff. However still use XML for wiring of stuff like the MBeans as these are reconfigurable. It would be good to decouple table/field names from the EJBs and put those in XML because it is likely that some places will change their names for different reasons.
-
2. Re: EJB3 vs Hibernate
pilhuhn Oct 1, 2005 12:11 PM (in response to mikezzz)Actually, just put the defaults in the annotations. Overriding in DDs later on is still possible.
-
3. Re: EJB3 vs Hibernate
pilhuhn Oct 1, 2005 12:13 PM (in response to mikezzz)"mikezzz" wrote:
I am currently working on the new Message & Mailbox persistance code. Since moving to JDK5 I have run into a problem with XDoclet that it chokes on code that uses generics.
There is a xjavadoc 1.5 module, that can be (iirc) dropped in Xdoclet to replace the old xjavadoc 1.1 and which understands the JDK 5 features. -
4. Re: EJB3 vs Hibernate
acoliver Oct 1, 2005 12:55 PM (in response to mikezzz)"Actually, just put the defaults in the annotations. Overriding in DDs later on is still possible."
As long as it doesn't obfuscate it for your average sysadmin type then that is fine.
"There is a xjavadoc 1.5 module, that can be (iirc) dropped in Xdoclet to replace the old xjavadoc 1.1 and which understands the JDK 5 features."
My opinion is "Lets just EJB3 it and be done. The HAR deployer is a dead end anyhow.", but I do not feel strongly about it. -
5. Re: EJB3 vs Hibernate
mikezzz Oct 1, 2005 1:07 PM (in response to mikezzz)Lets just EJB3 it and be done
My sentiments exactly. I'll probably just use the entity stuff initially and see how it goes. -
6. Re: EJB3 vs Hibernate
acoliver Oct 1, 2005 1:26 PM (in response to mikezzz)It may actually (now that I think of it) make sense to use Jboss (EJB3 extension) "Service" beans instead of MBeans then do the wiring and config from XML.. That might simplify config. I'll think on it some more...