File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
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
Pattern question for gurus
check if setEditable is defined as a method
How to implement this requirement
hibernate with Container Managed Transactions (CMT)
Best practices for retreive/edit EJB system
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015