• Post category:StudyBullet-15
  • Reading time:7 mins read


Get started with Apache Wicket in 2022 with forms, components, MongoDB, GridFS and backed by SpringBoot

What you will learn

How to make a basic Apache Wicket project setup

Manage Apache Wicket + Spring Boot integration

Explore Apache Wicket basic concepts

Develop a basic Todo App using Wicket

Connecting to the database using Spring Data integration (MongoDB)

Using Apache Wicket components

Use HTML/CSS templates together with Apache Wicket related tag attributes

Understand how to design applications with Apache Wicket in the background

Description

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:


Get Instant Notification of New Courses on our Telegram channel.


  • 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.

English
language

Content

Introduction

Introduction

Basic ToDo application: step-by-step guide – part 1

Application overview – basic setup and dependencies
Single page app – overview
Single page app – layouts

Storing data in MongoDB

Why MongoDB?
Project configuration for supporting MongoDB
Creating basic MongoDB code infrastructure
MongoDB implementation summary

Basic ToDo application: step-by-step guide – part 2

Single page app – items view – part 1
Single page app – items view – part 2
Adding Todo items – part 1
Adding Todo items – part 2
Adding Todo items – part 3
Updating items on the screen – part 1
Updating items on the screen – part 2
Removing Todo items
What we are not doing – overview
Selecting / deselecting all items
Single Page application created

Working with MS Excel exports

MS Excel usage overview
Dependencies needed
Building a backend code for creating MS Excel file part 1
Adding a export button to the screen
Connect the backed Excel export implementation with our button
Applying a simple styling for our Excel file
What we are not doing – overview
Hiding/disabling download button when no items available

Implementing PDF reporting

PDF usage overview
Building backend for creating PDF file part1
Adding HTML template (blueprint) for PDF
Implementing button for download PDF
What we are not doing – overview
Various PDF formatting
Adding images to PDF
Adding barcode to PDF
PDF reporting from Wicket application overview