-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Implementing the composite pattern
PostPosted: Sun Nov 30, 2003 9:16 pm 
Regular
Regular

Joined: Fri Sep 05, 2003 12:01 am
Posts: 80
Location: Bogot
Hi all!!

http://www.informit.com/isapi/product_id~%7B960C23C8-0FFE-46F2-A381-07D2036ED902%7D/content/index.asp

I've been wondering about this one for the last few days:

Many of the recent projects I've been on require some sort of structure to hold information in a hierarchical fashion. I think its time we found a more reusable way and for this I think the composite pattern is the key.

The main idea is to have some ready to use abstract classes that would be extended to suit specific application needs.

So if someday someone wanted to implement, say a simple fiilesystem they would just need to extend this abstract classes or implement some sort of interface.

another interesting thing here would be to be able to model versioning (some sort of Version Control...)

Does anyone have any ideas as how to implement this using hibernate. anyone has any experience with version control with info stored on a DB?

_________________
Mauricio Hern


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 30, 2003 9:21 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
http://www.hibernate.org/Documentation/CompositePattern

Might be a bit dated, but feel free to update it :)

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.