• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
  • salvin francis
  • Piet Souris

tapestry 5, ajax, javaee and spring

Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does tapestry support ajax ?

Have you discussed in your book how to use ajax and tapestry ?

And what about javaee and spring integration ? Can I use @SpringBean and @EJB annotations like in wicket ?
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, Tapestry has support for AJAX.

Tapestry 5 relies heavily on annotations to reduce coding and provide additional features, but in some cases it is still possible to 'just write code' if you want.
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let me quote the Tapestry website here:

Tapestry includes sophisticated JavaScript and Ajax support, based on the Prototype and Scriptaculous libraries. These libraries are all packaged with Tapestry itself ... no extra download required.

The goal for Tapestry is to have many basic and useful components available within the application itself, and make it easy for other JavaScript widgets to be encapsulated as Tapestry components.

Ajax support takes the form of new components and, occasionally, component mixins.

Mixins are a kind of packaged additional behavior that can be added to different components. An example is Autocompleter.

As for integrating with Spring, there is a separate Tapestry-Spring subproject that makes possible simply injecting Spring artifacts into the page. There is also Tapestry-Hibernate integration library available, and using it is also very easy.

All these features aren't covered in my book though. There is a plan to write two other books - one on Ajax, another on testing and integration.
[ March 04, 2008: Message edited by: Alexander Kolesnikov ]
You get good luck from rubbing the belly of a tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!