Results 1 to 8 of 8

Thread: spring and ajax

  1. #1

    Default spring and ajax

    does spring supports ajax ? is any ajax spring example ?

    Thanks

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    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.
    Ben Alex
    Project Founder, Spring UAA, Spring Roo and Spring Security

  3. #3
    Join Date
    Aug 2004
    Location
    London, UK
    Posts
    339

    Default

    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
    Darren Davison.
    Public Key: 0xE855B3EA

  4. #4

    Default

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

  5. #5

  6. #6

    Default

    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

  7. #7
    Join Date
    Jan 2007
    Posts
    7

    Default 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

  8. #8

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •