Category Archives: Coding

Hibernate Session Management

There is some controversy about this topic and Hibernate reference documentation does not provide clear examples of best practices how-to’s. I have been researching on it for the last days and the result will be available within the next few weeks in one of the books I’m about to publish with Ra-Ma Editorial (based on [...]

Runniac is almost ready to go!

In recent posts I wrote about a project I’m working on which consists on a search engine to find running events. I would say that it’s now in some kind of preproduction stage. For that reason I have been really busy these days trying to fix bugs and issues and trying to polish the whole [...]

Drawing markers with AngularJS and openlayers

As you probably read some days ago I’m developing a website with some mapping features in it. To do so I’m using a great AngularJS directive created by tombatossals and accesible on this link: https://github.com/tombatossals/angular-openlayers-directive I need now to show a map with some markers representing running races. This is pretty simple using the directive. [...]

Exporting a map with AngularJS and openlayers

In the previous post  I talked about how to create a map with AngularJS and openlayers. You see the directive created by  tombatossals and accesible on this link: https://github.com/tombatossals/angular-openlayers-directive This directive provides a handful of very useful features. However in this post we will see how to download a layer rendered on the map. Which [...]

Building maps with AngularJS and openlayers

During the last few weeks we have resumed a Project that was stopped for some time. The idea is to have something deliverable by the start of this summer. These days we have been working on the maps functionality. The idea is to display races courses in a map in order to let visitors inspect [...]

Spring Framework Certification

This week I’m finishing teaching a course for Software Specialist  Developer on J2EE enterprise environments but shortly I hope to start another course based on a huge range of different web technologies. Notice that many of the contents presented during that term are related to the Spring Framework (SpringMVC) and Hibernate, so this would be [...]

Message Queueing with Apache ActiveMQ

Spring Framework provides two common ways to empower enterprise applications such as message queues and email sending. Message queues allow asynchronous communication between programs or systems. Not only allow you to send messages but object instances. To integrate this technology in our applications a message queuing server like Apache ActiveMQ is required. Here you can [...]

Reverse engineering to extract POJOs and XML mapping files

If you are used to work with Hibernate you probably hate the tedious task of managing the multiple XML files and POJOs your project contains. In that case I have great news for you. Jboss tools (http://tools.jboss.org/downloads/jbosstools/luna/) has a plugin which makes easy to create them automatically from the database. You only have to follow [...]

Interceptors in Hibernate

We all know ORMs and why they were developed but apart from mapping relational data to objects and all its possible relations between them they offer some other features aside. One of the most full-featured ORMs in the market is Hibernate, which is the most successful in the Java platform y has been ported to [...]