wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes jdk dynamic proxy vs cglib dynamic proxy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "jdk dynamic proxy vs cglib dynamic proxy" Watch "jdk dynamic proxy vs cglib dynamic proxy" New topic

jdk dynamic proxy vs cglib dynamic proxy

prveen dhannapuneni

Joined: Oct 13, 2007
Posts: 7
Please can you help me to understand all the difference between jdk dynamic proxy vs cglib dynamic proxy.? ( I know only one difference. jdk dynamic proxy uses interface implemenations and cglic dynamic proxy can be created with out interface implementation too).
If i have to choose among jdk dynamic proxy implementation and cglib dynamic proxy, which is better in performance / maintainability?
How these two differ in J2SE environement and J2EE environement?
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24183

Personally, I try to avoid using libraries that replicate functionality already in the standard APIs; why add a dependency you don't really need? Every external library you use makes your code a little bit harder to understand and maintain. But I'm a minimalist, and my opinion is not the prevailing one in the Java community!

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link: http://aspose.com/file-tools
subject: jdk dynamic proxy vs cglib dynamic proxy
Similar Threads
Can spring make a class implement an interface?
Analysis vs design
Struts 2 Dynamic Method Invocation
Springļæ½s ROI
Network vs local - transparent to client