• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Spring AJAX Support

 
Ranch Hand
Posts: 426
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Can I add ajax support in my spring mvc 2.5 web app. I have asked this because most of my spring form controls are binded to the spring form tag library.

I tried to search at the spring documentation but I cannot find anything related to ajax integration.

Also, If I use a library like Jquery, will I be able to integrate it into my current web apps. It does mentions about DWR but I wanted to try jquery for that matter.

I tried to google but I cant find a good resource that explains this.

Hope somebody can shed me light on this..
 
Ranch Hand
Posts: 445
Android Eclipse IDE Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thats where DWR comes. Have a look at it at

http://directwebremoting.org to know how to integrate AJAX functionality with Spring.
 
Mark Reyes
Ranch Hand
Posts: 426
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Rajkumar,

Thanks for the reply..

In my book pro spring 2.5, it does mentions about DWR support in spring. But I was planning on applying Jquery as an ajax library.
At this point I cannot find enough resource on how to apply jquery on spring configurations.

Do you have resource that discusses about this? Thanks.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Unless I'm missing something really fundamental, why do you feel that you need some sort of special integration? Just import and use jQuery on the pages as you would any other pages.
 
Mark Reyes
Ranch Hand
Posts: 426
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bear,

The truth is, I still dont know yet how to handle ajax call in the controller interface when I use Jquery.
I only find resources related to DWR configuration in spring.

I found this Spring JSON View Spring-JSON but I am not sure if many are using this or if this is scalable and dependable to use.

As of the moment, I am looking on using jquery on some of the client side stuff but use DWR on the ajax call. Not quite sure if this is efficient honestly
 
reply
    Bookmark Topic Watch Topic
  • New Topic