Difficulty: Beginner
Estimated Time: 25 Minutes

The definition of each step of this tutorial can be found at https://github.com/devonfw-tutorials/tutorials/tree/main/devon4j-architecture.

Feel free to report any errors to us or fix them yourself. Errors can be reported by creating an issue in the tutorials repository. To fix the error fork the repository and create a pull request. Errors in the wiki can be reported and fixed in the tutorial-compiler repository. You can find a description of what to look for when creating a pull request at the devonfw contribution guide: https://devonfw.com/website/pages/community/community.html#community.asciidoc_contributing-to-devonfw. If you want to create a tutorial you can start with the katacoda tutorial and read the description for creating your own tutorials: https://github.com/devonfw-tutorials/tutorials/wiki/Development.

Prerequisites

Java programming knowledge

Learning goals

This tutorial aims to explain concepts and principles of devon4j architecture with help of an sample application named JumpTheQueue. Below are the steps we will go through to understand it clearly.

  • Clone JumpTheQueue repository

  • Understand devon4j application structure

  • Understand Key and architectural principles followed by devon4j

  • Understand devon4j application architecture

By end of this tutorial you will have detailed understanding of principles followed by devon4j application as well as its structure and architecture.

#

Conclusion

To summarize, in this tutorial we learned about devon4j architecture and key principle it follows. with help of example we also learned about devon4j different modules such as api, core ,server and its multilayered architecture.

Next you can visit following tutorials to know more about devon4j:

  • Java backend code generation using CobiGen (Code Generator)

  • devon4j- contract first code generation

  • devon4j-Kafka

  • devon4j-security

  • devon4j with Spring JPA

  • devon4j rest services

devon4j architecture in practice

Step 1 of 4

Clone the repository https://github.com/devonfw/jump-the-queue.git

Clone jump the queue repository

First, clone the Jump-The-Queue Repository.Jump the queue is a sample devonfw application.

Please change the folder to 'devonfw/workspaces/main'.

cd devonfw/workspaces/main

Now clone the repository to your local directory.

git clone https://github.com/devonfw/jump-the-queue.git

Once project is cloned switch to next tab of IDE. In IDE explorer you will be able to see folder structure like devonfw-> workspaces->main->jump-the-queue-> java->jtqj