This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hi, Just wanted some clarifications here,WHY we have two separate interfaces,one for remote and home.Why don't sun made only ONE interface. Is it because one manages life cycles and other manages bussiness methods?But I think there must some other reason for this.... Can some one put more light on this ? James
This is how I understand it so far Home Interface is sort of like EJB Factory Remote Interface is sort of like EJB Proxy At least conceptually there is one factory for many EJB (1:M) there is one proxy for each EJB (1:1 relationship) Since factory and proxy have such different functionality, it would be awkward to have them implemented in one class.