aspose file tools
The moose likes JDBC and the fly likes Example of reusing common functionality (like transaction management) using reflection and delegates Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Example of reusing common functionality (like transaction management) using reflection and delegates" Watch "Example of reusing common functionality (like transaction management) using reflection and delegates" New topic
Author

Example of reusing common functionality (like transaction management) using reflection and delegates

Hendra Kurniawan
Ranch Hand

Joined: Jan 31, 2011
Posts: 239
Can anybody give an example about reusing the same functionality like transaction management (begintrans, committrans and rollbacktrans) using two methods : reflection and delegates? thanks.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32712
    
    4
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: http://aspose.com/file-tools
 
subject: Example of reusing common functionality (like transaction management) using reflection and delegates
 
Similar Threads
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