-->
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.  [ 1 post ] 
Author Message
 Post subject: Generic DAO - Could Java Dynamic Proxies be used?
PostPosted: Tue Jun 13, 2006 3:13 pm 
Newbie

Joined: Fri Jul 01, 2005 4:36 pm
Posts: 11
Location: US
Many thanks for the Generic DAO pattern at http://www.hibernate.org/328.html
This is saving me a whole *bunch* of code.

But I'm lazy, so here's a question:

Could Java Dynamic Proxies be used in HibernateDAOFactory.java.
so that a bunch of similar inline concrete DAO implementations with no biz-related data access methods could be dynamically handled?

The InvocationHandler could just invoke methods on GenericHibernateDAO, yes?

Is this possible?

TIA

aj


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

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.