Steven,
Most APP servers that implement EJB try to shortcut
the RMI layer when both client and server are in the same process (for
example a servlet container + ejb container in the same process).
However, you must pass the RMI/RMI-IIOP/etc. layer for when two
processes
communicate and YES it is a significant performance hit. You can find an
extended
discussions about this (+ all the derivative practices) in the
EJB-INTEREST list.
Gal Shachor
Steven Punte wrote:
>
> Dear E-Commerce Architects:
>
> The EJB architecture seems to imply that a client uses
> the software "guts" of a bean through RMI (even though
> this is fairly hidden from the client).
>
> If ALL of ones middle and lower tier software are
> running on the same machine, is not this then
> a significant performance hit (i.e. the marshalling
> and serialization of data back and fourth)?
>
> Is there a way to use the EBJ architecture without
> suffering this penalty?
>
> STeve Punte
> e-Business Software Architect
> Technologent Inc
> stevep@technologent.com
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
|