Skip to content

Commit 1e98eeb

Browse files
committed
docs: update Readme
1 parent c444134 commit 1e98eeb

1 file changed

Lines changed: 27 additions & 21 deletions

File tree

README.md

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Carrental: Example Using Angular with Angular Cli and Java EE 6 Deployed as an EAR
1+
Carrental: Example Using Angular with Angular Cli and Java/Jakarta EE 8 Deployed as an EAR
22
==============================================================================================
33
Author: Sven Loesekann
44

@@ -8,9 +8,9 @@ Author: Sven Loesekann
88

99
Technologies: EAR, Rest, Angular, Angular Cli
1010

11-
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
1212

13-
Target Project: Java EE 6
13+
Target Project: Java/Jakarta EE 8
1414

1515
## Articles
1616
* [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
2222
* [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)
2323
* [Angular Interceptor for a BaseHref Path in Services](https://angular2guy.wordpress.com/2021/07/31/angular-interceptor-for-a-basehref-path-in-services/)
2424

25+
Update
26+
-----------
27+
The project has been updated to **Jakarta EE 8** and **Java 11** on **Wildfly 23**.
28+
2529
What is it?
2630
-----------
2731

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

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

3236
The Ear that is build can be tested in a Docker Image that Maven builds.
3337

3438
Development Requirements
3539
-------------------
3640

37-
Java 8 JDK or newer.
41+
Java 11 JDK or newer.
3842

39-
Eclipse Oxygen JEE or newer.
43+
Eclipse JEE.
4044

41-
WildFly 10 or newer. (Any JavaEE 6 Appserver will do)
45+
WildFly 23 or newer. (Any JavaEE 8 Appserver should do)
4246

43-
JBoss Plugin JBoss AS, WildFly & EAP Server Tools 4.5.0 or newer.
47+
JBoss Plugin JBoss AS, WildFly & EAP Server Tools.
4448

4549
Install Eclipse Plugin Eclipse Wild Web Developer of the Eclipse Marketplace.
4650

47-
Maven 3.3.3 or newer.
51+
Maven 3.5.4 or newer.
4852

49-
Nodejs 12.16.x or newer
53+
Nodejs 14.x.x or newer
5054

51-
Npm 6.13.4 or newer
55+
Npm 6.x.x or newer
5256

53-
Angular Cli 9 or newer.
57+
Angular Cli 13 or newer.
5458

5559
Build Server Requirements
5660
-------------------------
57-
Java 8 JDK or newer.
61+
Java 11 JDK or newer.
5862

59-
Maven 3.3.3 or newer.
63+
Maven 3.5.4 or newer.
6064

61-
Nodejs 12.16.x
65+
Nodejs 14.x.x
6266

63-
Npm 12.16.x
67+
Npm 6.x.x
6468

6569
Setup
6670
-----
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.
6872

6973
Install Angular Cli "npm install -g angular-cli@latest".
7074

@@ -74,8 +78,6 @@ Add the server runtime environment for Wildfly and connect it to the WildFly ins
7478

7579
Install Eclipse Plugin Eclipse Wild Web Developer of the Eclipse Marketplace.
7680

77-
Optionally install Webstorm for the UI.
78-
7981
Development Setup
8082
-----------------
8183
Check out the carrental project.
@@ -107,4 +109,8 @@ With such a setup Angular can be used on Java EE environment.
107109

108110
Testing the Ear
109111
---------------
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

Comments
 (0)