Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Local or Remote interface usage

 
Dhiren Joshi
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If there is just one AppServer which has the web tier and Business tier in one container which EJB implmentaiton would be most suited ... I would think Local Interfaces ..?
CAn any one who used remote interface suggest the addvantage in this scenario .. ?

Thanks
Dhiren
 
Ramon Gill
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dhiren,
Local interfaces would be best in the scenario you mentioned (one AppServer containing Web and EJB containers). There are no advantages to using remote interfaces in this case. Remote interfaces can have some advantages when using different boxes.

The Pet store uses local interfaces.

The performance benefits would be huge.

Ray
 
Dhiren Joshi
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ray,
For travel agent app probably remote interface would be better if we a client BD ?
Any thoughts

Thanks
Dhiren
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!