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

  • spring and ajax

    does spring supports ajax ? is any ajax spring example ?

    Thanks

  • #2
    Spring doesn't do AJAX directly. You'll want to use an AJAX library like DWR or JSON-RPC to add remoting capabilities to JavaScript.

    I use JSON-RPC, as it has a very broad range of supported platforms. For detailed integration instructions, see a post I made at http://www.mail-archive.com/qooxdoo-.../msg02576.html.

    Comment


    • #3
      you can also have a look at this, which I knocked up for the "Expert Spring MVC and Web Flow" book: http://opensource.atlassian.com/conf...Comments=false

      Comment


      • #4
        Similarly, +1 for JSON-RPC, see my earlier post at http://forum.springframework.org/sho...07&postcount=3

        Comment


        • #5
          thanks your

          Comment


          • #6
            After reading the "Expert Spring MVC and Web Flow" book, which I can really recommend, I did a small prototype using DWR and I was surprised how simple and smooth it all went.

            I'd have to go more into the details to really understand the DWR implementation and to compare it to JSON-RPC. Maybe somebody here already did this comparison. I would be very interested in the findings.

            Topics I am worried about:
            - how is the authentication handled (what happens if the Servlet Session times out)
            - What wire protocol is used (efficiency)
            - Support on top of the "remoting" like high level widgets and Ajax-Patterns.

            Thanks.

            \christof

            Comment


            • #7
              ajax n spring

              Hi

              I am trying to configure the DWR with Spring MVC Pattern. But the request is not getting into the controller which i deisgned for spring MVC.

              Not able to configure with DWR.. Please help

              Comment


              • #8
                DWR is pretty good but have you looked at IceFaces? They have lots of ready-to-use components. Ajax4JSF is another interesting project. And then you have Seam...

                The only problem is that you need to use JSF ... Try JSF/Facelets and you'll be surprised how productive you get.

                Comment

                Working...
                X