Java Expert....Java/Open Source Addict

Redes Sociales

twitterlinkedinrss feedemail youtube

Mostrando entradas con la etiqueta jakartaee8. Mostrar todas las entradas
Mostrando entradas con la etiqueta jakartaee8. Mostrar todas las entradas

jueves, 24 de septiembre de 2020

Install Maven Archetype and Create Project Jakarta EE 8


Hello friends, in this opportunity I show how to install a Maven Archetype and create a project from it. I will use the JakartaEE8 Archetype, we need to do the following.

1.- First, we need to download and decompress the archetype from this link. You can choose the zip or tar.gz format.


2.- Once unzipped, open the terminal in the main root folder and execute mvn clean install command. This command installs the archetype in the local maven repository (.m2).



3.- After this, go to the directory where you create a project and execute the following command (dont forget to change the GROUP_ID, PROJECT_NAME and VERSION variables until to execute it):

mvn archetype:generate -DarchetypeGroupId=com.matoosfe -DarchetypeArtifactId=jakartaee8-archetype -DarchetypeVersion=1.0 -Darchetype.interactive=false --batch-mode -DgroupId=GROUP_ID -DartifactId=PROJECT_NAME -Dversion=VERSION




4.- Finally, your project will be ready to work on it.




miércoles, 23 de septiembre de 2020

Jakarta EE 8 archetype


Hello friends, in this opportunity, I want to share with all a JakartaEE8 Archetype, that has the following features:

  • It has an EAR, EJB y WEB project.
  • It has a basic example to save the employee data to the h2 database.
  • It can be deployed in both Wildfly and Payara, I built and tested with Wildfly 20 and Payara 5. To use the deploy, you must configure the profiles, in this link you can see how to do.
  • The Jakarta EE 8 Archetype is available on git, in the following URL.

  • Finally to install the archetype and create a project from it, you can review this link.
I hope, it will be useful. If you have any doubt, you can write to me without any problem.

Greetings