It has been quite sometime since i refreshed my j2ee. I was having a discussion with one of my friends. I was telling him that if one has local ejb's and then later on decides that the server has to be clustered and the ejb / web layers are going to be in separate servers. I told him, the code has to be modified to change the local ejbs to remote ejb's (i.e) EJBLocalHome has to be changed to EJBHome so on and so forth. But he strongly denied it. he says it should just be a matter of changing the ejb-jar.xml. Can somebody clarify?
Thanks & Regards,<br />Nijeesh.
posted 10 years ago
Sure, a remote client is, well, remote. There is no getting away from the need to recode for remote home and component interfaces, to pass serializable objects around, to handle RemoteException, etc.
If your friend is so sure that he is right, then why not invite him to demonstrate how his solution works?