20050923 Friday September 23, 2005

Hibernate Relationships with XDoclet Tutorial I finally got around to finishing the Hibernate Relationships tutorial for AppFuse today. This initial version includes a howto for creating the UI with Struts. In the future, I'll add sections for creating the UI with Spring MVC, WebWork, Tapestry and JSF. Those should be easy now that the hard part is done. This is a first cut at this tutorial, so it's likely there's issues, bugs and things I did wrong.

Now it's your turn. If you have a chance, please try it out and let us know how we can improve it. Posted in Java at Sep 23 2005, 11:51:50 AM MDT 2 Comments

Comments:

Matt,

This is awesome. Thanks for getting around to this. I have done something similar with appfused project; so, I will definitely look at what's different.

Posted by Nicholas on September 23, 2005 at 01:32 PM MDT #

Good job. Just a question about Hibernate Relationships and many-to-many associations in AppFuse. Can we put an attribute is the new table (eg : a date or something like that)? With your xdoclet's method this's not possible ! So, the first answer is to create a new class WebLogUser with a composite-id (composed by a id User and an Id Web Log). But hibernate's doclet does not handle composite-id (i'm not sure ...) and in my mind hibernate don't like composite id. Have you an idea about this problem? (Sorry for my bad english ...) Thanks

Posted by Ben on September 25, 2005 at 03:52 PM MDT #

Post a Comment:
  • HTML Syntax: Allowed
Click me to subscribe
Matt Raible is the Lead UI Architect at LinkedIn. The opinions on this site are mine, not my employers.
« September 2008
SunMonTueWedThuFriSat
 
1
2
4
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today

Recent Entries

Tag Cloud