aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Help to Chose Remote or Local Interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Help to Chose Remote or Local Interface" Watch "Help to Chose Remote or Local Interface" New topic
Author

Help to Chose Remote or Local Interface

dinesh thalis
Ranch Hand

Joined: Nov 19, 2008
Posts: 39
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30537
    
150

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
dinesh thalis
Ranch Hand

Joined: Nov 19, 2008
Posts: 39
If I change our system Remote to Local is there any future drawback(like reuse component etc ). I needs more comments.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10102
    
165

In future, does your application have plans to allow remote calls to be made on that bean?


[My Blog] [JavaRanch Journal]
dinesh thalis
Ranch Hand

Joined: Nov 19, 2008
Posts: 39
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

Joined: Jul 20, 2005
Posts: 10102
    
165

The JavaEE guide on EJBs has the details. Especially, this chapter.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30537
    
150

You can have both local and remote interfaces defined. I recommend using local for now and adding remote if/when the need occurs.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help to Chose Remote or Local Interface