-
Notifications
You must be signed in to change notification settings - Fork 45
devon4j overview
For Java based back-end solutions, devonfw includes devon4j that provides a standardized architecture blueprint, an open best-of-breed technology stack as well as industry proven best practices and code conventions for a cloud ready Spring based server.
Included in devonfw framework as default server solution, devon4j is the result of applying devonfw principles in a Java based technology stack. With devon4j developers are able to create web application back-ends in a fast and reliable way, generating web services (REST, SOAP) that web clients can consume.
As mentioned before, devon4j is not only a framework but a set of tools and conventions. devon4j provides a Java back-end solution based on the following technologies:
-
Spring framework as the main development framework.
-
Spring Boot as project accelerator.
-
Maven as project and dependencies management tool. The Maven projects use the POM file to store all the necessary information for building the project (project configuration, dependencies, plugins, etc.). You can get more details about POM files here.
Some of the main features of Spring Boot are:
-
Creation of stand-alone Spring applications in an easy way.
-
Embedded Tomcat directly (no need to deploy WAR files).
-
Provide 'starter' POMs to simplify your Maven configuration.
-
Automatically configure Spring (whenever possible).
-
Provide production-ready features such as metrics, health checks and externalized configuration.
-
No requirement for XML configuration.
For persistence and data access devon4j implements:
As service framework:
-
Apache CXF that provides support for:
The following tools are included in the devonfw IDE, which — among many other things — can create, run and deploy devon4j applications, avoiding lots of manual work.
As part of the devonfw framework, devon4j projects are integrated into a customized Eclipse instance, which provides pre-configurations and pre-installed plugins, focusing on code quality and productivity boosting.
devon4j provides a solution for industrialized web apps based on components and a three-layers architecture.
A component is a package that contains the services and logic related to one feature of the app.
Each component will be divided in three layers: service
, logic
and dataaccess
.
-
Service Layer: will expose the REST API to exchange information with the client applications.
-
Logic Layer: the layer in charge of hosting the business logic of the application.
-
Data Access Layer: the layer to communicate with the data base.
Finally the devon4j applications provide a general package to locate the cross-cutting functionalities such as security, logging or exception handling.
In the next chapters you can find all the details about the implementation of each layer and how to develop all the relevant parts of a web app based on devonfw framework and devon4j.
Next Chapter: A devon4j Application
This documentation is licensed under the Creative Commons License (Attribution-NoDerivatives 4.0 International).