VOTA is started

posted Apr 12, 2019, 12:18 AM by Luca Stancapiano

I released my new web application. It is a web application compatible with mobile devices to vote online. Configure parties and candidates from the console and add the rules according to the electoral law of the country. All voting information is stored in a database

It works with:

  • JDK 12
  • Gradle 5.2.1
  • React JS 16.8.4
You can download it through the docker command:

docker pull vige/vota

To run the image use the command:

docker run -d --name vota -p443:8443

Then open https://localhost to connect

For more info you can go to the VOTA project page:


School project

posted Aug 17, 2018, 9:12 AM by Luca Stancapiano

This new project can be used to manage the attendances of the pupils in the schools or in the canteens. It is a javaee 8 web application using JPA, EJB, JSF and Rest and it is released under Apache 2.0 license. Here the homepage where you can download it. Enjoy! 

Rubia Forums now based on JavaEE 8

posted Jul 17, 2018, 12:06 PM by Luca Stancapiano   [ updated Jul 17, 2018, 12:50 PM ]

I finally updated Rubia Forums to java EE 8. I also broke backward compatibility with WildFly. Version 2.3.0 will run exclusively on Java 10 and WildFly 13. Here it can be downloaded

Greetings to all

Native XML API on Liferay 7

posted Apr 7, 2018, 1:54 AM by Luca Stancapiano   [ updated Apr 10, 2018, 12:12 AM ]

Hi all, Liferay 7.0 DXP SP7 by default uses the legacy XML libraries known as xml-api, xerces and xalan. Since many years they are included inside the JRE. 
This legacy libraries included in tomcat 8 are cause of bugs inside Liferay. I share the steps how remove them, so you can use directly the native XML libraries inside the JRE.

1- Open the file inside ${home.liferay}/tomcat-8.0.32/bin and add the following properties in the CATALINA_OPTS: 


2- Liferay 7.0 DXP SP7 has a bad error because it wires the old xerces libraries in the services code. So you need a patch to add in the ${home.liferay}/tomcat-8.0.32/webapps/ROOT/WEB-INF/lib folder. The patch can be can be found here

3- Build the patch through the command: mvn install and copy in the lib tomcat folder

4- XML libraries need the org.w3c.dom package working as system library. To add it and avoid unespected ClassNotFound exceptions put this property in the of Liferay:,__redirected,  com.sun.jna,com.sun.ccpp,com.liferay.portal.servlet.delegate, com.sun.syndication,org.w3c.dom,sun.reflect

5- Restart Liferay

You are ready to work with the native XML libraries. Good work!

Installation and test of an Openshift cluster on a MAC

posted Dec 15, 2017, 6:39 AM by Luca Stancapiano   [ updated Dec 15, 2017, 6:42 AM ]

- Installing Docker using the mac command:
   brew install docker

- Configure Docker below preferences to set the insecure registries to:

- Installation of OC command line bees using the mac command:
   brew install openshift-cli

- Launch the command:
   oc cluster up
   which installs and launches an Openshift instance locally

- Verify the correct installation of Openshift by connecting to:
   Default users:
        system / admin
        developer / developer

- Log in to openshift using the command:
   oc login
   specifying the developer user

- Clone by git a trial application of four services with the command:
   git clone

- Access the project root and build the application and the four docker images using the command:
   mvn clean install docker: build

- Import json build configuration of the project to openshift using the command:
   oc create -f wildfly-swarm-microservices-example.json

- Import the application using the command:
   oc new-app wildfly-swarm-microservices-example

- Check the installed applications by connecting to the four links:

New book of WildFly orderable online

posted Jun 20, 2017, 7:04 AM by Luca Stancapiano   [ updated Jul 7, 2017, 3:11 AM ]

My latest Mastering Java EE Development book with WildFly is now order able online. Thanks to all those who have supported me in this work. Here is the link to order it. Here you can find the interactive demo online.

Rubia Forums 2.0.1 released

posted Aug 6, 2015, 3:52 AM by Luca Stancapiano

The new version of Rubia Forums adds:

- Wildfly 9.0.1 support
- Spanish translation (Thanks Gladys Carrizales for you contributions)
- Sources and Javadocs in the maven repositories

Rubia Forums can be taken in github or through Maven with the dependency code:


A demo is here:

Entry with:

root: gtn
john: gtn
mary: gtn

Rubia Forums 2.0.0 released

posted Jul 18, 2015, 9:42 AM by Luca Stancapiano   [ updated Jul 18, 2015, 9:48 AM ]

The new version of Rubia Forums was released on github and maven. This version is compliant with javaee 7 and it supports the following application server:

- Wildfly 8.0.0
- Wildfly 8.1.0
- Wildfly 8.2.0
- Wildfly 9.0.0

Apart bug fixing it introduces the new rest api to use Rubia Forums in other systems.

Mavenized bundle for Workdesk

posted May 23, 2015, 3:20 AM by Luca Stancapiano   [ updated May 24, 2015, 12:19 AM ]

In theese days I released a mavened version for Workdesk 4.2, a good and simple frontend to work with Alfresco as Share but simplier to configure.
The original bundle can be downloaded here.
The mavenized version is in the github and can be downloaded here.
Here you can find the current notification for the contribution to Alfresco.

Rubia Forums 1.0.0 released

posted Apr 12, 2015, 12:53 AM by Luca Stancapiano

The first release of Rubia Forums is published in github. You can find it here:
It is tested on the following platforms:
  • JBoss AS 7.1.1.Final
  • JBoss AS 7.1.2.Final
  • JBoss AS 7.1.3.Final
  • Gatein 3.6.0.Final
  • Gatein 3.7.0.Final
  • Gatein 3.7.1.Final
  • Gatein 3.8.1.Final
  • Gatein 3.8.2.Final
  • EAP 6.1.0.Final
  • EAP 6.1.1.Final
  • EAP 6.2.0.Final
  • EAP 6.3.0.Final
  • JBoss Portal 6.1.0.Final
  • JBoss Portal 6.1.1.Final

Soon I will start the 2.0.x branch for the wildfly platform and others

1-10 of 22