I’m pleased to announce Piriti 0.3.5. This is a minor update which fixes some bugs and changes the way JSON data is parsed. Please take a look at the release notes for further info.
Announcement: Piriti 0.3.1→
I’m pleased to announce Piriti 0.3.1. Piriti is a JSON and XML mapper for GWT. It is based on annotations and deferred binding. Here are some of the features:
Restlet Extension for Piriti→
Restlet is a RESTful Web framework for Java. There’s also a GWT edition available. The Piriti Restlet extensions is built on top of that edition. Therefore the 2.x version of Restlet is used. There are two representations available which use the Piriti readers to convert JSON and XML data to your model (POJOs and/or GXT models).
JSON Mapping in Piriti→
Following a proposal by Jerome Louvel, I added JSON mapping to Piriti. Piriti is a JSON / XML mapper for GWT based on annotations and deferred binding.
Restlet and Google Guice
In an earlier post I described how to configure resources with Google Guice. I decided to move the relevant code to a small library called “Taoki” (Maori for “rest”).
Besides the features described in the initial post, I added the possibility to configure security for resources. The details will be described in a separated post.
For those interested, take a look at https://github.com/hpehl/taoki
XML Mapper for GWT→
I’m a big fan of RESTful architectures. When using REST resources with XML representations in combination with GWT you have to parse the XML and map it to the model used in the GWT client. The code therefore is tedious and error-prone. So I decided to start a little framework called “piriti” (Maori for bridge). It is hosted on goolge code under https://github.com/hpehl/piriti. The basic idea behind piriti is to use annotations on your model and generate the parsing / mapping code with the help of deferred binding.
Google AppEngine, Restlet & Security→
I was wondering how to secure the resources in my current application. The application is deployed on the Google AppEngine and uses Guice 2.0 and Restlet 2.0. Inspired by the post from David M. Chandler I decided to use the AppEngine cookie named “ACSID” as a token in each and every url to secure my resources. This way the url to the “projects” resource becomes http://karaka-d8.appspot.com/rest/v1/<ACSID>/projects.
Google AppEngine, Restlet & Guice→
Currently I’m developing an application for time recording called Karaka. Karaka is deloyed on the Google AppEngine for Java (GAE/J) and uses inter alia the following stack: