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
Summary: Example Project for the integration of Maven, Angular, Java EE 6
11
+
Summary: Example Project for the integration of Maven, Angular, Java/Jakarta EE 8
12
12
13
-
Target Project: Java EE 6
13
+
Target Project: Java/Jakarta EE 8
14
14
15
15
## Articles
16
16
*[The Recipe for Angular 2 in a Java EE Environment](https://dzone.com/articles/recipe-for-angular-2-in-a-java-ee-environment)
@@ -22,49 +22,53 @@ Target Project: Java EE 6
22
22
*[The Recipe for Angular in a Java EE Environment: Two Improvements](https://dzone.com/articles/the-recipe-for-angular-in-a-java-ee-environment-2)
23
23
*[Angular Interceptor for a BaseHref Path in Services](https://angular2guy.wordpress.com/2021/07/31/angular-interceptor-for-a-basehref-path-in-services/)
24
24
25
+
Update
26
+
-----------
27
+
The project has been updated to **Jakarta EE 8** and **Java 11** on **Wildfly 23**.
28
+
25
29
What is it?
26
30
-----------
27
31
28
-
The project shows the integration of Angular with Angular Cli as UI. The Rest services are provided by JavaEE 6, in this example is with WildFly. The build is done in Maven.
32
+
The project shows the integration of Angular with Angular Cli as UI. The Rest services are provided by Jakarta EE 8, in this example is with WildFly. The build is done in Maven.
29
33
30
-
The development setup is Eclipse with Typescript Plugin or Webstorm. JBoss is integrated with the JBoss Plugin to provide re-deployments. Angular Cli provides the UI, redeploys the UI on change and optimizes production build.
34
+
Wildfly is integrated with the JBoss Plugin to provide re-deployments. Angular Cli provides the UI, redeploys the UI on change and optimizes production build.
31
35
32
36
The Ear that is build can be tested in a Docker Image that Maven builds.
33
37
34
38
Development Requirements
35
39
-------------------
36
40
37
-
Java 8 JDK or newer.
41
+
Java 11 JDK or newer.
38
42
39
-
Eclipse Oxygen JEE or newer.
43
+
Eclipse JEE.
40
44
41
-
WildFly 10 or newer. (Any JavaEE 6 Appserver will do)
45
+
WildFly 23 or newer. (Any JavaEE 8 Appserver should do)
42
46
43
-
JBoss Plugin JBoss AS, WildFly & EAP Server Tools 4.5.0 or newer.
47
+
JBoss Plugin JBoss AS, WildFly & EAP Server Tools.
44
48
45
49
Install Eclipse Plugin Eclipse Wild Web Developer of the Eclipse Marketplace.
46
50
47
-
Maven 3.3.3 or newer.
51
+
Maven 3.5.4 or newer.
48
52
49
-
Nodejs 12.16.x or newer
53
+
Nodejs 14.x.x or newer
50
54
51
-
Npm 6.13.4 or newer
55
+
Npm 6.x.x or newer
52
56
53
-
Angular Cli 9 or newer.
57
+
Angular Cli 13 or newer.
54
58
55
59
Build Server Requirements
56
60
-------------------------
57
-
Java 8 JDK or newer.
61
+
Java 11 JDK or newer.
58
62
59
-
Maven 3.3.3 or newer.
63
+
Maven 3.5.4 or newer.
60
64
61
-
Nodejs 12.16.x
65
+
Nodejs 14.x.x
62
66
63
-
Npm 12.16.x
67
+
Npm 6.x.x
64
68
65
69
Setup
66
70
-----
67
-
JDK 8, Wildfly 10(or an other Java EE6 server), Nodejs, Eclipse, Maven must be installed.
71
+
JDK 11, Wildfly 23(or an other Jakarta EE8 server), Nodejs, Eclipse, Maven must be installed.
@@ -74,8 +78,6 @@ Add the server runtime environment for Wildfly and connect it to the WildFly ins
74
78
75
79
Install Eclipse Plugin Eclipse Wild Web Developer of the Eclipse Marketplace.
76
80
77
-
Optionally install Webstorm for the UI.
78
-
79
81
Development Setup
80
82
-----------------
81
83
Check out the carrental project.
@@ -107,4 +109,8 @@ With such a setup Angular can be used on Java EE environment.
107
109
108
110
Testing the Ear
109
111
---------------
110
-
To provide a method to test the Ear of the Build a Docker Image can be build. The image uses Wildfly and deploys the Ear in the server. The server can then be started and the optimized build can be tested. That enables testing the Ear without changing the setup of the development environment. Docker Images of other Application Servers are availiable and provide the opportunity to test the Ear on different platforms. Images for Wildfly and Websphere Liberty can be build.
112
+
To provide a method to test the Ear of the Build a Docker Image can be build. The image uses Wildfly and deploys the Ear in the server. The server can then be started and the optimized build can be tested. That enables testing the Ear without changing the setup of the development environment. Docker Images of other Application Servers are available at [Docker Hub](https://hub.docker.com/u/angular2guy/) and provide the opportunity to test the Ear on different platforms.
113
+
114
+
Build the Docker Image
115
+
----------------
116
+
For building the Docker Image the Docker needs to be installed and started. To build the Docker image the lines in buildDocker.sh can be used. First the ear needs to be build with 'mvnw'. Then the Docker image with the ear is created. Then the Docker image can be run locally.
0 commit comments