20021220 Friday December 20, 2002

Hibernate Reverse Engineering Tool 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. Posted in Java at Dec 20 2002, 12:23:52 AM MST 3 Comments

Comments:

I recommend you have a look at Middlegen, and have it improved to tag the generated code with Hibernate XDoclet tags. It currently does EJB markup, but it would be easy to adapt it to generate the proper Hibernate code/tags.

Posted by Erik Hatcher on December 20, 2002 at 12:48 AM MST #

Sure it "sounds" easy enough, but I don't know if it's worth the time. Actually, I know it's worth the time, but I have a deadline of January 15th, and spending a week to do some source contribution to Middlegen might not be the best use - considering I could probably just use regular JDBC with imbedded SQL in that amount of time ;) Nevertheless, I will look into it - thanks for the tip.

Posted by Matt Raible on December 20, 2002 at 04:59 PM MST #

It would be worth a look at Middlegen - I don't follow their code commits... it may very well do Hibernate tags already.

Posted by Erik Hatcher on December 22, 2002 at 01:46 AM MST #

Post a Comment:
  • HTML Syntax: Allowed
Click me to subscribe
Matt Raible is a Web Architect who enjoys developing applications with open source technologies. Contact me for rates.
« November 2008
SunMonTueWedThuFriSat
      
1
2
3
6
7
8
9
10
11
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
      
Today

Recent Entries

Tag Cloud