Plugin mechanism for GWT application

Cotrix, the RIA I’m working on, is packaged differently depending on the target environment. For each environment we want some features enabled or not, both client and server side. From the client POV I’ve to enable or disable some GWT components, I will call those components plugins. In our case each plugin is bounded in a separate Java library. In GWT to enable a component you need to: include it in the module file:...

March 21, 2014 · 4 min

How to customize a GWT DataGrid style

I had to deal with GWT DataGrid and his style customization. In order to customize it you have to extend the DataGrid style resource with your own type. Then you have to override the dataGridStyle() method returning your own DataGrid style. It is fundamental to return a new DataGrid Style type. Here the example code: public interface CustomDataGridResources extends DataGrid.Resources { @Source("MyDataGridStyle.css") CustomStyle dataGridStyle(); interface CustomStyle extends DataGrid.Style { } } As alternative you can simply extends the default one:...

August 10, 2013 · 1 min

Released yahoo-weather-java-api 1.0

This is an old library that I’ve started in 2011 in order to play with JAXB, Git, Maven and Github. The library is a wrapper of the Yahoo Weather API. It is lightweight and requires only slf4j. In this version there are no particular changes. The javadoc has been updated and the package names and the group id has been adapted to the maven central rules. Then the library has been released in maven central....

July 24, 2013 · 1 min

Released JKippt 2.0.0

Finally I’ve released a new version of JKippt, a Java library for Kippt API. This version is aligned with the last API version (as 14/07/2013). The library is hosted here: And now is available also in Maven Central with this coordinates: <dependency> <groupId></groupId> <artifactId>jkippt</artifactId> <version>2.0.0</version> </dependency> I’ve started developing this library as personal project in order to practice with some technologies, in this case the gson library and REST service interaction....

July 14, 2013 · 1 min

GSON custom serialization falling in default serialization

I’m developing a Java library that interacts with a REST service. The REST responses are JSON object and the library deserialize it using the Google Gson library. Interacting with the service I had a special case: one field of an object was serialized as JSON in two different ways depending on request url. In one case the field was serialized as JSON object, in the other case as JSON string....

July 7, 2013 · 4 min
Fritzing an amazing circuit editor.

Fritzing an amazing circuit editor

If you need to create a schema for your next DIY project maybe Fritzing is the right tool.

December 19, 2012 · 1 min

Arduino + ultrasonic module + leds

Click to view the video.

December 7, 2012 · 1 min

Released version 1.1.0 of codemirror2-gwt

A new version of codemirror2gwt has been released. This new version includes new features introduced by Alejandro Tamalet. We’ve also removed some features not more supported by CodeMirror library. You can find more information about this version in the release notes. You can download the last version here.

October 20, 2012 · 1 min