I am developing an application using ejb and jsp. So far I have been accessing my ejbs from my jsp pages using the remote interfaces. I deploy my application in one .ear file, ie the ejbs and jsps are in the same .ear file. What I am thinking of is if I should access my ejbs using the local interfaces instead, since they all execute within the same virtual machine.
Will this result in any performance gain? Are there any drawbacks using the local interfaces from the jsps? Currently I am not using clustering or anything like that. Will there be problem in the future if I start using the local interfaces from my jsps?