EhCache Standalone Server integration with GlassFish Embedded Web 3.1.2

This one happened to me earlier this year. I was coding a DAO using Hibernate, and I got to the part of configuring a 2nd Cache Level. The whole team decided that it would be a best practice to use Terracotta’s Ehcache Server, which is considered one of the best Java cache Servers out there.

You can check my opened ticket in Terracotta’s JIRA Server for the error log and my new server implementation. Click on Read more for further details.
Continue reading EhCache Standalone Server integration with GlassFish Embedded Web 3.1.2

Advertisements

RESTful Web Service with Apache CXF for a Java 5 Web Site

Dealing with legacy code is painful, but someone has to do it. I had to make a Restful WS (JSON objects passed everywhere) within a webapp supporting Java 5 and Spring 2.0.3 (a very old version!).

Recently I’ve been investigating about making WS with a framework called AppFuse, which implements the Apache CXF library to make SOAP and REST WS. AppFuse has an interesting documentation and it’s easy to read. But Apache’s library stopped supporting Java 5 since the version 2.7, so I had to configure the Servlet (web.xml file) circumventing the Spring Containter and declare all my JAX-RS Services there.

Continue reading RESTful Web Service with Apache CXF for a Java 5 Web Site

Hello world!

Hello Everyone!

Trying to remember all I do every day is a difficult task, if not impossible. And I’ve found that I was complaining a lot about Social Networks and their verbosity very tight coupled with a lot of irrelevance and indifference about almost every existing topic in life.

So I finally decided to write a blog about my adventures as a Java EE, JavaScript and Node.js Developer. Also in the last years I joined a rock band named Hanging Mantells as their lead guitar and singer, so expect some posts about Grunge and Hard Rocking music!

I’ll probably put all my personal data links in the About page, so you should be able to contact me in GitHub and in the Hanging Mantells Facebook page.

Happy reading!