First, JavaScript 1.2 has been deprecated for a couple of years; use JS 1.3. But then, you do not indicate how you are planning to use JS. I would set up an architecture whereby the applet and servlet maintain a persistent connection using sockets and have the servlet communicating with a MDB (message-driven EJB) for passing JMS messages based on XML or other transforms, and both, in turn would communicate with an entity EJB for storing messages, IDs, and states in a backend database. You could dynamically set the "keep alive" polling to an interval acceptable to your bandwidth. This would require the use of a J2EE-compliant application server (please don't ask what an "application server" is - ;-) ) like Sun's J2EE implementation or i-Planet, WebSphere, SilverStream, etc.) and a transactional database like Oracle 8i, MS SQLServer 7.0, IBM/Informix DB2, etc. I realize this is rather vague, but then so are your design requirements. Cheers! Mark ----- Original Message ----- From: "Venkat Bommakanti" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 17, 2001 4:16 PM Subject: Web-page/Applet communication with Servlet > Hi: > > I intend to build a solution with the following characteristics: > . HTML_4/Javascript_1.2 client OR HTML_4/Javascript_1.2/Applet_JDK1.3 > client. > . to access a firewall-friendly Servlet_JDK1.3_JSDK2.2, which in turn > communcates with one-or-more pure-Java_JDK1.3 app-servers. > . the client needs to be 'in constant touch' with the servlet. > . need to have servlet 'send' info (HTML/JS or XML/JMS-msg) only when > required. > . need to minimize polling (between browser and servlet) to avoid > web-server/servlet-engine overload, except to maintain 'session-alive' > in the absence of traffic. > > What might be the best approach ? > > TIA, > /venkat > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
