This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Web Services and the fly likes Stub vs Dynamic proxy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Stub vs Dynamic proxy" Watch "Stub vs Dynamic proxy" New topic

Stub vs Dynamic proxy

Mohamed Farouk
Ranch Hand

Joined: Jun 08, 2005
Posts: 249
Hello Friends
If Dynamic proxy mode of communication is so good and portable should we ever have to use Stub mode?

Please help

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

The advantage of dynamic proxies is that one does not have to generate client side stubs but since dynamic proxy involves reflection performance could go down a bit.

I agree. Here's the link:
subject: Stub vs Dynamic proxy
It's not a secret anymore!