Hi,
i'd like to know if invoking a method on an ejb via its local interface performs almost as fast as with plain java objects. Or, does the call spawns so many sub-operations that i should seriously stop abusing of business method calls (just like with remote interfaces) ? Does it make sense to drop the DTO pattern when talking to local ejbs?
thanks in advance
yes, the local interface is really fast,
yes you should drop DTO if you are in memory.
in memory usage is what we recommend for entities anyway