A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Example of reusing common functionality (like transaction management) using reflection and delegates
Joined: Jan 31, 2011
Feb 06, 2011 02:00:33
Can anybody give an example about reusing the same functionality like transaction management (begintrans, committrans and rollbacktrans) using two methods : reflection and delegates? thanks.
Joined: Oct 13, 2005
Feb 06, 2011 07:27:47
Why on earth would you want to use reflection for that sort of thing?
This isn't a "beginning Java" question, so I shall move this discussion.
I agree. Here's the link:
subject: Example of reusing common functionality (like transaction management) using reflection and delegates
hibernate with Container Managed Transactions (CMT)
How to implement this requirement
Best practices for retreive/edit EJB system
check if setEditable is defined as a method
Pattern question for gurus
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013