
Explore building full-stack Java web applications with Apache Wicket 9.x+ integrated into Spring Boot, leveraging server-side component-based UI, Ajax components, and MongoDB via Spring Data for MongoDB.
Configure MongoDB support in a Spring Boot app by adding the Spring Boot Starter Data MongoDB dependency in Maven and configuring the database name and port, with GridFS for attachments.
Implement a todo creation form in Apache Wicket (version 9.x+) with title and body fields bound to the HTML, an Ajax-enabled save button, server-side visibility toggling, and persistence to MongoDB.
Synchronize a MongoDB-backed to-do list with Apache Wicket by fetching updates, refreshing the list view, and enabling item selection through a bound checkbox and transient selected property.
Create a backend using the Apache library to generate an Excel 2007+ workbook, pull to-dos from MongoDB, and expose a downloadable sheet via a Spring Boot service.
Add an export button to the RMS Excel flow by updating the HTML toolbar and implementing a matching Ajax link in the Java class.
Implement visibility and enabled states for the MSS Excel export button in an Apache Wicket app by monitoring MongoDB items; hide when no data, show or enable when data exists.
Welcome to the ‘Starting with Apache Wicket’ course. With this course, you are going to add value to your existing JAVA and Apache Wicket 9+ (with SpringBoot) knowledge by getting familiar with several techniques for solving specifically selected areas of JAVA web application development.
We will focus on several topics often useful in corporate JAVA development but not exclusively. SpringBoot is being used here as an underlying framework, but solutions presented here are not specific to this platform and can be reused e.g. with recent Quarkus support, etc.
The primary idea of this course is to help new or existing Apache Wicket developers to adopt certain knowledge in an easy way. The solutions presented are being used for several years in production-grade Wicket applications and the libraries used are well-known for stability and active development. This will protect the value invested into adopting some libraries or projects.
What you'll learn
Start building real apps with Apache Wicket and SpringBoot
Become a master in fullstack development using Apache Wicket
Learning-by-doing method of building real application and practice your knowledge immediately
Use ajax client/server communication using Java only
Integrate 3rd party libraries into your Apache Wicket app
Add a new value to your existing SpringBoot development knowledge/skills
Topics covered by this course:
During a course, we create a basic Apache Wicket single-page application and each lecture will add a new enhancement to it. Eventually, we create a single application with many different features. The main topics include:
creating a full-featured single-page application using Apache Wicket
export application data in MS Excel format with formatting and some other features
export application data in PDF format with formatting, embedded images or bar-codes
including MongoDB as persistent data storage
using GridFS as an attachment/file uploads data storage (PREPARING)
An important part of this course is to realize 'what we don't need to do' when using Apache Wicket. Simplification can be huge and the old saying that 'the best code is the code you don't have to write' is proven here.
GitHub repository:
The source code is available through the link attached to the last lecture in this course. You can clone the repo and use the code snippets we are building in this course.
Summary:
‘Starting with Apache Wicket’ course is targeted at individuals or small/medium teams of professional Java developers that want to be productive and competitive in this large market. Techniques presented here can be reused easily in application development of many kinds.