Juan Pablo Lorandi Chief Software Architect Code Foundry Ltd. [EMAIL PROTECTED]
Barberstown, Straffan, Co. Kildare, Ireland. Tel: +353-1-6012050 Fax: +353-1-6012051 Mobile: +353-86-2157900 www.codefoundry.com -----Original Message----- From: Juan Pablo Lorandi [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 12:00 PM To: 'BOUTTE Sebastien' Subject: RE: Software Architecture All inline Juan Pablo Lorandi Chief Software Architect Code Foundry Ltd. [EMAIL PROTECTED] Barberstown, Straffan, Co. Kildare, Ireland. Tel: +353-1-6012050 Fax: +353-1-6012051 Mobile: +353-86-2157900 www.codefoundry.com > -----Original Message----- > From: A mailing list for Enterprise JavaBeans development > [mailto:[EMAIL PROTECTED]] On Behalf Of BOUTTE Sebastien > Sent: Tuesday, April 16, 2002 8:47 AM > To: [EMAIL PROTECTED] > Subject: Software Architecture > > > Hi, > > I have a simple problem in software design ; i would like to > know what is the best between these two solutions ? For > Communication between applet and EJB: > > Applet ------ Servlet (Connectivity servlet) ----- EJB > (In this, the proxy servlet is just redirecting the request > to the EJB) You're adding a layer of abstraction. Also, communication between an Applet and a Servlet is usually the simplest to implement. Of course, you could implement a lot of performance improvements in the servlet. Usually a servlet (not communicating with an EJB) will have better response times than an EJB server. It'll probably scale better, too. This would be my DEFAULT choice; however, there might be extremely weird cases where this approach wouldn't apply. I'd bet that anything not being assembly language wouldn't apply either ;-) > > or > > Applet ------ EJB > (In this, the applet is communicating with the ejb via his stub) Since you're eliminating an abstraction layer, you improve (very subtly) performance > > What are the advantages/disadvantages of those solutions ? > > Thanks > > Boutt� S�bastien > > ========================= > To unsubscribe, send email to [EMAIL PROTECTED] and > include in the body of the message "signoff EJB-INTEREST". > For general help, send email to [EMAIL PROTECTED] and > include in the body of the message "help". > ==========================================================================To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
