• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB

 
Archana Palanichamy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we switch Local/EJBinterface usage with minimal/no code change??
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There wouln't be much of a code change but the important thing here is that local interface are based on pass-by-refernce semantics and remote interface pass-by-value.
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nice point touched by Pradeep. In my experience I used a lot of local vs remote interfaces, but never made use (in fact always took into consideration) the big thing Pradeep mentioned.
So be carefull!
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Archana Palanichamy:
Can we switch Local/EJBinterface usage with minimal/no code change??



Yes, you can switch Local/EJBinterface usage with minimal/no code change, but Pradeep mentioned is very important.

I think, in this case
you may be dicussion in requirement/design phase or sometime that you want to upgrade application.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!