• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Wicket in Action: advanced topics

 
Ivano Pagano
Ranch Hand
Posts: 54
Java Mac OS X Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Martijn and Eelco,
our team is now using Tapestry 4.x as web framework, integrated with Spring/Hibernate and a couple of other frameworks, almost seamlessly.
We've been investigating other frameworks in alternative to upgrading to Tapestry 5.
Being familiar with component-oriented frameworks, I'm interested in advanced topics such as integration with other frameworks (e.g. spring, hibernate), accessing wicket pages from external links, using ajax features, managing transactional behaviour in Hibernate Sessions or JTA...
Does the book covers any such topics?

Of course it would be useful to have your opinion on pros and cons of Wicket vs. Tapestry 5, if you have any.

Thank you for supporting developers through your work,
have a nice day.

Ivano.
 
Marco Ehrentreich
best scout
Bartender
Posts: 1294
IntelliJ IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ivano,

Martijn already answered this question (at least partly) in this post. So it seems to be no problem to integrate most other frameworks or technologies.

Marco
[ May 20, 2008: Message edited by: Marco Ehrentreich ]
 
Martijn Dashorst
author
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

We've been investigating other frameworks in alternative to upgrading to Tapestry 5.
Being familiar with component-oriented frameworks, I'm interested in advanced topics such as integration with other frameworks (e.g. spring, hibernate), accessing wicket pages from external links, using ajax features, managing transactional behaviour in Hibernate Sessions or JTA...
Does the book covers any such topics?


The book covers Ajax in depth, and Spring/hibernate in chapter 13 (14 if you have the MEAP). Providing access to pages in your application is covered in chapter 5 (6 if you have the MEAP) and 14 (15 if you have the MEAP).

Wicket's default URL coding strategy is rather ugly but using mounts you can pick the encoding strategy to your liking. Wicket supports urls such as: http://cheesr.com/cheese/edam or http://cheesr.com/cheese?name=edam and http://cheesr.com/cheese/name/edam

This is explained in detail in chapter 14 (15 in the meap).

Transactional behavior is specific to the technology one uses in addition to Wicket. Therefore we don't impose any on you. Some people use OpenSessionInViewFilter from Spring, others use a custom Wicket request cycle to provide access to their Hibernate sessions and transactions. ymmv.
 
Ivano Pagano
Ranch Hand
Posts: 54
Java Mac OS X Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much Martijn,
your answer has been absolutely clarifying and accurate.

Thank you again,
Ivano.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic