Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stub vs Dynamic proxy

 
Mohamed Farouk
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends
If Dynamic proxy mode of communication is so good and portable should we ever have to use Stub mode?

Please help
Thanks
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic