We currently have a bankng application that uses local EJBs. Its has the combined tier architecture (
jsp,
servlets and
ejb in one ear file in one server). The EJB we use has a number of calls to three different mainframe web sevices in its methods. Now, there has been a drive to move our business layer into another server for more flexible load balancing or clustering. The EJBs would now be called remotely.
This is what worries me. Is it a bad idea to have ejbs calling different interfaces as remote ejbs?... I mean, this would only add more networks round trips and point of failures. First is remotely calling the ejb, then the ejb would call a web service. A lot of round trips before the caller receives the response. Do i really have to worry about this and disagree not to move the ejbs out? or do you think the benefits of this will outweigh the drawbacks?
thanks and good day to y'all :-)