Announcement Announcement Module
Collapse
No announcement yet.
Spring and Atmosphere Integration Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring and Atmosphere Integration

    Hi,

    We have an application which we should push some events from service layer to client.

    After some research I've found that Atmosphere is a good solution for us,
    We are using Spring for DI, Spring MVC 3.0.5, Spring Integration 2.0, Glassfish 3.0 .
    And jQuery on client-side.

    Now I wonder how can I integrate Atmosphere with a Spring Controller or Servlet?
    What They've mentioned on project home page is:
    *Servlet 3.0 is supported along with framework like Jersey (natively), GWT (natively), Wicket, Guice, Spring etc.

    But I couldn't find any good sample code for Spring. There are samples for Guice but not Spring which is more popular, so it can have a simple solution maybe(for version 0.7 at least).

    Can you guys give me a clue?

    Thanks in advance

  • #2
    Hello

    What They've mentioned on project home page is:
    *Servlet 3.0 is supported along with framework like Jersey (natively), GWT (natively), Wicket, Guice, Spring etc.
    It refers or is related with the specificacion, I am not an expert for Atmosphere, but I think you should be able to integrate Spring MVC + Atmosphere without working directly with Servlets

    Wondered why on Google do not exists concrete tutorials for both, perhaps on DZone links you could get better results

    Let me know your advance

    Comment


    • #3
      Thanks DR.

      I still didn't find any good guide to connect spring and atmosphere...

      Comment


      • #4
        I followed their twitter account,
        and they've just made a good sample less than 1 day ago which is exactly what I need,

        for those who are interested:

        https://github.com/ghillert/atmosphere-spring-web-mvc

        Comment


        • #5
          Hello Navid

          Have you tested with such code? is useful? have found it other tutorials?

          Pls let me know

          Best Regards

          Comment


          • #6
            I was working on a similar problem - integrating Wicket (which is normally accessed by a WicketFilter defined in web.xml) with Spring, Spring Security and later on Atmosphere with Tomcat NIO protocol to have non-blocking server push. You may find the description of our solution here:
            http://burkond.blogspot.de/2012/12/a...-security.html
            http://burkond.blogspot.de/2013/01/n...push-with.html

            comments are welcome

            Originally posted by dr_pompeii View Post
            Hello Navid

            Have you tested with such code? is useful? have found it other tutorials?

            Pls let me know

            Best Regards

            Comment

            Working...
            X