Java Expert....Java/Open Source Addict

Redes Sociales

twitterlinkedinrss feedemail youtube

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

miércoles, 16 de septiembre de 2020

How to convert a Moodle Site from HTTP to HTTPS


Hello friends, in this opportunity I will show how to convert a Moodle site from HTTP to HTTPS. To do this, we need to to the following:

1.- Generate un backup of the moodle site (the main folder moodle) and moodledata folder, to avoid any problem that could generate.

2.- Log in such as Administrator in your moodle site

3.- Go to the Site Administration --> Security --> HTTP Security option.



4.- After that, go to the HTTP Conversion Tool section and select the tool.






  5.-  The tool scans the folder and files. After that, we need to confirm the operation and the tool execute the conversion.














6. Finally, the conversion is ready and you have a moodle site HTTP

sábado, 11 de abril de 2020

How to Install Spanish Language in OpenCart


To install the Spanish language in OpenCart, we have to do the following:

1.- Download the Spanish package on your computer and decompressed it.

Spanish Language Folder Image
 Spanish Language Folder Uncompressed

2.- Use the Filezilla Program or another to connect to hosting with your account, proceed to copy the admin/language/es-ES folder of the decompressed folder to the admin/language folder on hosting.


  
Spanish Language Folder Copied

3.- Use the Filezilla Program or another to connect to hosting with your account, proceed to copy the catalog/language/es-ES folder of the decompressed folder to catalog/language folder on hosting.




4.- Log in OpenCart Control Panel with the administrator account, go to the System->Localisation->Language option, and add a new language.










 Spanish Language Configuration

Spanish Language Added 
 

5.-  Finally, go to System->Settings option and edit the Store Settings,  select the Local Tab and change both Language and Administration Language Label to Spanish




martes, 20 de agosto de 2019

Maven Configuration Problem "Uknown" on SpringBoot Project


Dear friends.

In this opportunity, I am going to show how to fix the Maven Configuration Problem "Unknow" on the pom.xml when we create a new Spring Boot project, bellow I show the screenshots about it.



To fix this problem, we need to update the Spring Tool Suite or Eclipse IDE following the next steps.

1.- Go to the menu Help -> Check For Updates,  a screen shows us with the packages that we need to update. But we need one, I selected it. However, there is no problem if you can update all.


2.- Next we must to accept the terms of license agreements
3.- Then that Spring Tool Suite updated, we need to restart the IDE.
4.- Finally when the IDE had finished restarting. We can note that the error disappeared


lunes, 3 de junio de 2019

Creación Cuenta Talend Cloud


Estimad@s amig@s en esta oportunidad voy a mostrarles como crear una cuenta en Talend Cloud que permitirá generar tareas de integración desde la nube. Para lo cual se debe realizar lo siguiente:

1.- Dirigirse a la página Talend Cloud y seleccionar cuenta gratuita (disponible durante 14 días), la cual redireccionará a otra página para el proceso de registro como se aprecia en la figura a continuación.


2.- Ingresar una cuenta de correo, validar que se trate de una persona en el check I'm not robot y presionar el botón Start Your Trial, con lo que se enviará un correo con un hipervínculo donde se deberá completar el registro del usuario.





3.- Registrar todos los valores para completar el registro y presionar el botón Complete Registration.

4.- Finalmente una vez realizado estos pasos se presentará la pantalla principal de Talend Cloud donde se podrá comenzar a trabajar en las tareas de integración, la cual se muestra a continuación.



Espero les sirve de mucho, no olviden cualquier comentario, sugerencia pueden realizarla aquí

jueves, 30 de mayo de 2019

Warning SSL Connection MySQL


Estimad@s amig@s

En el caso de que al querer conectarse a MySQL utilizando JDBC se les presenta el siguiente Warning:

WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.


Se debe simplemente añadir al final de la cadena de conexión el atributo useSSL=false 

jdbc:mysql://localhost:3306/ecommerce?useSSL=false 

Si están utilizando dentro de un código fuente, no olvidar añadir el caracter ;