vertx web services

if you need to create ws server:

    • (how to generate xml in vertx –

SAX Error – Content is not allowed in prolog

we need to find a way to parse a multipart/related txt in xml message + attachments



enterprise logging using jboss tools

Reading the errors of wildfly – weld, sometimes you can see some NUMBERS to identify the error..

* Log messages for Contexts
* Message Ids: 000200 – 000299

@MessageLogger(projectCode = WELD_PROJECT_CODE)
public interface ContextLogger extends WeldLogger


@LogMessage(level = Level.TRACE)
@Message(id = 200, value = “Looked for {0} and got {1} in {2}”, format = Format.MESSAGE_FORMAT)
void contextualInstanceFound(Object param1, Object param2, Object param3);

The theory:
the code:

ejb3: transactions

sometimes, i need a little review of things…

Making sense of EJB3.x Transaction Attributes – Part 2 (MANDATORY)


Making sense of EJB3.x Transaction Attributes – Part 1 (REQUIRES_NEW)


Making sense of EJB3.x Transaction Attributes – Part 4 (NEVER)


EJB3.x JPA: When to use rollback() and setRollbackOnly()


EJB 3.x JPA: Bean-Managed Transaction with javax.ejb.UserTransaction

angular connect 2016

…a lot of thinks..

Angular 2 Testing for Hackers (workshop code):

Building Mobile Apps With Ionic 2 (workshop code) :

Managing Async With RxJS 5 and Angular 2 (workshop code) :

AngularConnect 2016 IoT Workshop

Bulb Ionic App (workshop code) :

Optimizing Angular Apps (slides):


vertx on java one 2016

Vert.x – From zero to (micro)-hero

Clement Escoffier, Julien VietVersion 0.5,August 30th, 2016


Let’s start from the beginning…. Vert.x. What’s Vert.x ? That’s a pretty good question, and probably a good start. If you go on the Vert.x web site, Vert.x is defined as “a toolkit for building reactive applications on the JVM”. This description is rather fuzzy no ? What’s atoolkit ? What are reactive applications ? In this lab, we are going to explain these words, and build an application using Vert.x illustrating what Vert.x is. This application is going to be composed by microservices. Another buzzword to be trendy ? No, Vert.x was promoting microservices before everyone and his dog jumped on the bandwagon…..

vertx auth

some starting points…

vertx quartz integration

I found an old project (vertx 2.2), that show a possible integration between quartz scheduler and vertx:

This project use vertx event bus to act when the job trigger is executed.

I would like to create a management interface with REST methods (to create/delete/list new job) and the execution of jobs is out of this verticle.

The job submission will be using a json object:
– cron expresion
– action: http url to call
– method: post/get/put/delete
– data to send when the trigger will be execute


Clustered JDBC Job store configuration:


ubuntu: update nodeJS to latest

sudo npm cache clean -f
sudo npm install -g n
sudo n stable

sudo ln -sf /usr/local/n/versions/node/<VERSION>/bin/node /usr/bin/node
To upgrade to latest version (and not current stable) version, you can use

sudo n latest
To undo:

sudo apt-get install –reinstall nodejs-legacy # fix /usr/bin/node
sudo n rm 6.0.0 # replace number with version of Node that was installed
sudo npm uninstall -g n