Craig,
You should take a look at Marc Fleury's paper "Why I love EJBs" (should be 
easy to find on jboss.org). Between the egocentric pub stories (they are 
interesting too), there is a recommendation to keep the web server in the 
same JVM as the EJB server. His thesis is: serialisation is the real 
bottleneck in distributed systems, so avoid it wherever possible. You need 
it between the DB and the server, and between the server and the client, 
but why split the server into front-end and back-end. He also mentions the 
possibility of caching to gain mega performance improvements too.
Ciao,
Jonathan O'Connor
XCOM Dublin



"Craig Berry" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
12.01.2004 19:16
Please respond to
[EMAIL PROTECTED]


To
<[EMAIL PROTECTED]>
cc

Subject
[JBoss-user] Disallowing Local interface access from servlet tier [auf 
Viren geprüft]






I have noticed that in the default JBoss 3.22 + Tomcat deployment 
configuration, it is possible to obtain Local interfaces for EJBs from the 
Servlet tier.  In the interest of maintaining maximum portability (e.g., 
to enable us to later move to separate boxes for the two tiers), I would 
like to disallow Local access from the servlet tier.  Obviously, our 
design avoids using it, but I'm concerned that "leakage" might occur 
without our noticing it (e.g., an EJB returns an object to the servlet 
tier which, when accessed, does a Local lookup back to another EJB 
component).
 
Is there any way to make Local lookups from the servlet to the EJB 
container impossible at the configuration level?  Or would I have to run 
the two in separate JVMs to accomplish this?
 
-- 
Craig Berry
Principal Architect and Technical Manager
PortBlue
(310) 566-7546
 



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to