Enjoying Web Development with Wicket 4th edition (Covering Wicket v7 and v6)

How to create web-based applications easily?
Enjoying Web Development with Wicket

If you'd like to create web-based applications easily, then this book is for you. More importantly, it shows you how to do that with joy and feel good about your own work! You don't need to know servlet or JSP while your productivity will be much higher than using servlet or JSP directly. This is possible because we're going to use a library called Wicket that makes complicated stuff simple and elegant.

How does it do that? First, it allows the web designer to work on the static contents and design of a page while allowing the developer to work on the dynamic contents of that page without stepping on each other's toes; Second, it allows developers to work with high level concepts such as objects and properties instead of HTTP URLs, query parameters or HTML string values; Third, it comes with powerful components such as calendar, tree and data grid and it allows you to create your own components for reuse in your own project.

However, don't take our word for it! This book will quickly walk you through real world use cases to show you how to use Wicket and leave it up to you to judge.

For previous editions, please see here.

How this book can help you learn Wicket?

  • It has a tutorial style that walks you through in a step-by-step manner.
  • It is concise. There is no lengthy, abstract description.
  • Many diagrams are used to show the flow of processing and high level concepts so that you get a whole picture of what's happening.
  • The first two chapters are freely available on http://www.ttdev.com. You can judge it yourself. They can be used as tutorials to get you started on Wicket
  • The manuscript of book has been used to train up a team of programmers who had not used Java or written any program at all. The training took only a few months (six hours per week). Now they are developing a core application for their organization using Wicket, Spring and Hibernate.

Table of Contents

Chapter 1 Getting Started with WicketChapter 9 Using the DataTable Component
Chapter 2 Using FormsChapter 10 Supporting Other Languages
Chapter 3 Using Forms: More TechniquesChapter 11 Working with the Back Button
Chapter 4 Creating an e-ShopChapter 12 Handling File Downloads and Uploads
Chapter 5 Creating a ForumChapter 13 Providing a Common Layout
Chapter 6 Creating Custom ComponentsChapter 14 Using Javascript
Chapter 7 Building Interactive Pages with AJAXChapter 15 Unit Testing Wicket Pages
Chapter 8 Using Hibernate/JPA and SpringChapter 16 Deploying a Wicket Application

A more detailed TOC is here. The following topics are not found in other books on Wicket:
  • Works with Wicket v7 (and v6).
  • Full coverage of JPA/Hibernate and Spring including conversions (extended sessions).
  • How to make a jQuery UI component into a Wicket component supporting self-contained client-server callbacks.
  • How to unit test Wicket pages with the Wicket Page Test library (supporting AJAX).

Changes from the 3rd edition

  • Updated for Wicket v7 (and v6).
  • Added a new chapter on authentication and authorization.
  • Added a new chapter on how to make a jQuery UI component into a Wicket component supporting self-contained client-server callbacks.
  • Added a new chapter on how to support the Back button.
  • Completely rewrote the chapter on JPA/Hibernate and Spring to make it easier to understand and included the common strategies for dealing with detached entities in web applications.
  • Added more description and more examples on the true meaning of models.

Target audience and prerequisites

This book is suitable for those learning how to develop web-based applications and those who are experienced in servlet, JSP, Struts and would like to see if Wicket can make their jobs easier.

In order to understand what's in the book, you need to know Java, HTML and some simple SQL. However, you do NOT need to know servlet, JSP, Tomcat, Spring, JPA or Hibernate.

Download or purchase

Download free chapters Chapters 1-2 here
Get the rest of the book in PDF

Purchase the PDF with PayPal (US$19.95) by clicking this button: 

 

Usually within a few minutes you'll receive an email containing the link to download the book. You will also get any minor updates to the book and a discount when major editions are available.

If your credit card is not accepted by PayPal, you can pay with Skrill by clicking the button below. As this requires manual processing, typically you'll receive the link within 24 hours.

If you own a previous copy of the book or a hard copy, you can get a discount.

License

Just like a printed copy, the PDF purchased (including any soft or hard copy you make from it) can be legally accessed by one person at a time. To allow more than one people to access it concurrently, you can get a site license.

Get a hard copy

Get it from Amazon or Lulu.

Note that a soft copy is NOT included in the Amazon hard copy purchase. If you'd like to get both, please purchase the soft copy here and print it out yourself. If you've purchased a hard copy on Amazon and would like to get the soft copy, you can get a discount.

Download the complete source code in the book source code in the book


About the author

Click here to learn more about the author (me).

Errata

Please check the change log. The PDF version and the current print version already include the changes.