8 Replies Latest reply on Mar 15, 2007 7:35 PM by nielsh

    Comet

    nielsh

      Reading up on Glassfish I noticed a lot of interest into Comet, especially in comination with Grizzly http://weblogs.java.net/blog/jfarcand/. Will Seam have support for Comet functionality and if so, when can we expect something of the kind.

        • 1. Re: Comet

          What is Comet doing that would make it preferable to Seam Remoting?

          • 2. Re: Comet
            nielsh

            If seam remoting offers the same functionality as Comet, it would at least be good marketing to position it as such. Comet seems to be the generic buzz word for a push style asynchronous http response. Can it be done with Seam Remoting? If so, let's start the buzz then...

            • 3. Re: Comet
              gavin.king

              It depends what you mean.

              Seam Remoting has a nice API for pushing messages to the client via a JMS topic. But currently this is implemented on top of standard servlet spec mechanisms which use blocking IO.

              The reason why the next generation of servlet engines is offering special support for "comet" is that they can provide an implementation based upon NIO. When this stuff is actually productized into Tomcat and/or standardized in the servlet spec, Seam remoting can use that as the underlying implementation.

              Currently what is in todays servlet engines is highly experimental.

              • 4. Re: Comet
                nielsh

                Thanks for the response Gavin. Reading up on the documentation of Tomcat 6, I found a section pertaining to Apaches Advanced IO features http://tomcat.apache.org/tomcat-6.0-doc/aio.html. I checked Jira to see what is done about integration of Tomcat 6 into JBoss, an open and unresolved issue since May 06. Is there any activity in that area?

                • 5. Re: Comet

                  Another thing you may find interesting is the JBossWeb project. It combines tomcat with the Apache APR giving you a fast optimized native networking stack on top of Tomcat.

                  • 6. Re: Comet
                    nielsh

                    I did a little check up on JBoss-web and apparently JBossAS-4.2.0.CR1 supports Tomcat 6. TC6 supports a "servlet" of the type CometProcessor which allows for comet style http access. In principle this would allow for a non-polling/long-polling solutions for eg. the JMS example. Are there any plans to support these features in Seam? Though it would add a dependency on Tomcat

                    • 7. Re: Comet
                      gavin.king

                      We should definitely support that in Seam Remoting. Please add a feature request to JIRA, so we don't forget.

                      • 8. Re: Comet
                        nielsh