Gavin King has started a new Wiki page for Hibernate users. Contribute if you've got some Hibernate knowledge. I hope to add value in the next month or two, or possible get value from this. Gavin hooked me up today with a 2nd set of eyes on a Hibernate -> Oracle issue I was having. User error - of course!
I have started a new Wiki page in the community area where we can (collaboratively)
produce some documentation of common Hibernate design patterns. The page is
called "workarounds" at the moment, but it can be more general than that. I've
documented two patterns already and added one TODO (for people with knowledge
of Maverick / servlet filters to fill out).
I'm starting to wonder if Maven will even work for my project. I've been able to setup a lot of dependencies lately and the Maven team has been doing an awesome job of getting my requested jars into their repository. Thanks dIon! The real reason I want to use Maven is to produce a project website. As far as building and running tests, I'd actually prefer to use my Ant script - who I got courtesy of Erik Hatcher.
The problem I'm seeing is that Maven must compile my source to generate the website, and it also seems to be part of the maven java:jar
task. And because several of my classes don't exist yet, the compilation fails. Is there any way to tell maven that it must run an Ant task (i.e. ejbdoclet) before it runs its compilation? I'd love to simply tell it to hook into my "package-web" task, rather than trying to compile classes that haven't been generated.
Better yet, is it possible to use Maven simply for downloading jars and generating the website? At this point, it almost seems easier to checkin my 15MB worth of JARs into CVS and use a README file. Maven might be overkill...
Later: Hmmm, maybe XDoclet and Maven can work together. I just found a "maven plugin" in the XDoclet CVS tree. It's description is A Maven plugin to run XDoclet from within Maven. This is very interesting... -- now I need to figure out how to use the damn thing ;-)
Thanks for all the tips for setting my proxy/port for Java apps. Now I just have to try to figure out what the proxy server/port is. I tried to get it yesterday, but everyone only seemed to know the automatic configuration URL. I'm hoping that's a text file with some information in it that I can use.
Jon Lipsky also hooked me up (via e-mail) with the Reverse Engineering Tool for Hibernate. If I get a chance to use it today - I'll report on it's ease of use, etc. I wonder if I can generate my classes, mark them up with XDoclet and then produce my Struts ActionForms. Or possibly, I can generate the classes with Hibernate and create my ValidatorForms by hand. It'd be cool if the Reverse Engineering Tool supported generating an XDoclet-ready class, and also allowed for regeneration. I probably shouldn't be hoping for too much - it might just work as is.