*
The moose likes Other Application Frameworks and the fly likes Wicket in Action: advanced topics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Wicket in Action: advanced topics" Watch "Wicket in Action: advanced topics" New topic
Author

Wicket in Action: advanced topics

Ivano Pagano
Ranch Hand

Joined: Dec 16, 2006
Posts: 47

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

Joined: Mar 07, 2007
Posts: 1280

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

Joined: Jan 23, 2006
Posts: 58

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

Joined: Dec 16, 2006
Posts: 47

Thank you very much Martijn,
your answer has been absolutely clarifying and accurate.

Thank you again,
Ivano.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Wicket in Action: advanced topics
 
Similar Threads
Which framework is Wicket closely related to?
J2EE Framework components
Wicket, the big door for Java developers
Wicket in Action - Wicket VS GWT
Spring Book Question!