Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help to Chose Remote or Local Interface

 
dinesh thalis
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We're going to do develop banking application it contains deposit, withdraw and loan etc... facilities, our team didn't have excellent knowledge about EJB3, Right now we completed 1/4 of our project, we developed our system using Remote interface, but now some of our members said "remote interface having considerable overhead" is it write or wrong. Regardless his idea please explain we should develop our system using Remote or Local interface. Please we need you're precious comments to improve our system performance . please give some comments.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34410
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dinesh,
The amount of overhead depends on your server. If you aren't making remote calls, it is unnecessary work though and I would advise you to use local. It's not hard to change from remote to local - especially in EJB 3.
 
dinesh thalis
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I change our system Remote to Local is there any future drawback(like reuse component etc ). I needs more comments.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In future, does your application have plans to allow remote calls to be made on that bean?
 
dinesh thalis
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are hope to develop payment gateway in the future, but sill not clarify whole requirements, please explain more about remote calls.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JavaEE guide on EJBs has the details. Especially, this chapter.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34410
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can have both local and remote interfaces defined. I recommend using local for now and adding remote if/when the need occurs.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic