Re: Interface Vs Local Interface
Tuesday, July 23, 2002 11:40 PM
Local interfaces can only be used for acessing when both the accessor and accesse are in the same container , where as remote interfaces (both home and remote)are for all acessing remotely.
Using local interfaces , boosts performance , mainly by-passing over heads like marshalling - unmarshalling etc etc .
So you can categorise your beans , based on there location and access requirements , and then decide wether they should have local or remote interfaces.Another way out is that during developement of a bean you develope both local and remote interfaces and while using you decide which interface will be best suited for accessing that particular bean .
Hope this helps you