You’ve now seen how DWR integrates with Java applications to implement server push using Comet. But we haven’t yet addressed scaling. In this chapter, we’ll begin by examining why traditional web servers scale poorly to the demands of a Comet application. We’ll then look at the Jetty server, which offers an alternative approach to serving Comet requests, and demonstrate how to write scalable Comet applications using this proprietary approach.
Unable to display preview. Download preview PDF.