You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: devon4j-app/index.asciidoc
+18-5Lines changed: 18 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,10 @@
2
2
====
3
3
devon4j is the Java stack of devonfw. It allows you to build business applications (backends) using Java technology in a highly efficient and standardized way based on established best-practices.
4
4
5
-
=== Prerequisites
5
+
# Prerequisites
6
6
* User should have Java development experience
7
7
8
-
=== Learning goals
8
+
# Learning goals
9
9
After completing this scenario, you will have learned how to generate Java application using devon4j.
10
10
11
11
More information about devon4j on https://devonfw.com/website/pages/docs/devon4j.asciidoc.html
@@ -17,11 +17,13 @@ More information about devon4j on https://devonfw.com/website/pages/docs/devon4j
17
17
restoreDevonfwIde (["java","mvn","vscode"])
18
18
--
19
19
====
20
-
== Create devon4j sample application
20
+
### create devon4j sample application
21
21
22
22
23
23
If you want to create devon4j application on your local machine there are two ways to do it:
24
+
24
25
* In eclipse as shown [here](https://devonfw.com/website/pages/docs/devon4j.asciidoc_tutorials.html#tutorial-newapp.asciidoc_from-eclipse)
26
+
25
27
* Using command line as shown [here](https://devonfw.com/website/pages/docs/devon4j.asciidoc_tutorials.html#tutorial-newapp.asciidoc_from-command-line)
26
28
27
29
Now, we will create sample devon4j application with name *sampleapp*. This step will guide you on how to do it.
**server**: This module bundles the entire app (core with optional batch) typically as a bootified WAR file.
45
47
46
-
If you want to know more about modules and project structure refer [here](https://github.com/devonfw/devon4j/blob/master/documentation/guide-structure.asciidoc#project-structure).
48
+
If you want to know more about modules and project structure refer [here](#https://github.com/devonfw/devon4j/blob/master/documentation/guide-structure.asciidoc#project-structure).
47
49
====
50
+
51
+
48
52
====
49
53
[step]
50
54
--
@@ -64,6 +68,8 @@ Each component is divided into following layers:
64
68
65
69
* [data-access layer](https://github.com/devonfw/devon4j/blob/master/documentation/guide-dataaccess-layer.asciidoc) for the data access (esp. persistence).For example, in sampleapp we generated com.example.application.sampleapp.<compoenntname>.dataaccess will contain entity, repositories etc.
66
70
====
71
+
72
+
67
73
====
68
74
== Build devon4j sample application
69
75
@@ -77,15 +83,22 @@ buildJava("sampleapp", false)
77
83
Once build is successful you will get bootified-war generated in server module target folder. In sampleapp check for path sampleapp/server/sampleapp-server-bootified.war
78
84
79
85
====
86
+
87
+
80
88
====
81
89
== Conclusion
82
90
83
-
84
91
In this tutorial you have learnt how to create devon4j application using command line or via Eclipse. Next you can check for other tutorials such as:
92
+
85
93
* Java backend code generation using CobiGen (Code Generator)
0 commit comments