Skip to main content

lamine_ba's Blog

Http Caching with JAX-RS and Groovy

Posted by lamine_ba on October 24, 2012 at 8:25 AM PDT

Do what you think is interesting, do something that you think is fun and worthwhile, otherwise you won’t do it well anyway.
Brian Kernighan

Moving MY IDE in the CLOUD

Posted by lamine_ba on October 1, 2012 at 12:52 PM PDT


Ladies and Gentlemen, the web is living an exciting time for the reason that I was able to create for my web application, a virtual editor that can run in the cloud and that can embed with an insolent ease any JavaScript source code or wysiwyg editors. But no story does come without the rise of a need and the more I'm programming and the more I'm convinced that Eclipse, NetBeans and such are not the right tools for us to build quickly a web application when we are all seeing the mismatch between the two contexts in which both are running. And my vision is to extend my web application to make it be my IDE and with the use of back-end modules that one can download or use remotely from a platform.

Consuming a REST service within JSF using JQuery and Handlebars [THE TRUE MVC APPROACH]

Posted by lamine_ba on July 29, 2012 at 3:13 PM PDT

The indispensable first step to getting the things you want out of life is this : decide what you want.
Ben Stein

JAX-RS 2.0 : The Movie

Posted by lamine_ba on July 11, 2012 at 5:36 AM PDT

The shift of focus will have a profound and enduring effect on the way we write programs.
Ward Cunningham and Ralph Johnson


Designing and Testing RESTful web services [ UML, REST CLIENT ]

Posted by lamine_ba on June 22, 2012 at 2:23 PM PDT


Ladies and Gentlemen, Like you, I'm intimately convinced that a professional should not promote a bad practice or a bad technology even though it does serve his own interests or those of his company. And that is one reason why, I wrote this blog post as a replacement of my previous one in which I have shown to many of you, how to build a JAX-RS web service with Groovy. And I did also ask to myself how I did ever think that giving you the knowledge of a scripting language or whatever to write your RESTful web service, could be the key for you to understand how to design a successful RESTful API.

Building RESTful web services with JAX-RS, JAXB and Groovy

Posted by lamine_ba on May 20, 2012 at 11:14 AM PDT


Ladies and Gentlemen, beyond the fact that I'm going today to share with you, most of the things a developer should know when building a JAX-RS web service with Groovy, this blog post is first and foremost a farewell to the Java language. It was a fun ride but now I think it is high time for me to move on. And how odd and ridiculous is it to build the dynamic parts of my application with a static language?

If JAX-RS had an MVC framework?

Posted by lamine_ba on April 10, 2012 at 1:09 PM PDT


In my previous blog post, I have asked to many of you this question: "What JSF should become?". And since then, I was quite silent. And the reason behind it is that I was working on a concrete implementation of this vision and my vision is to create a JSF application with a set of UI components that can render themselves on the client side and in this way :

What JSF should become?

Posted by lamine_ba on November 27, 2011 at 6:03 AM PST

Perfection is achieved through times.


How someone can improve with no clear vision of what he could become? I'm asking this question while reading to the definition of JSF. As it is written in its specification, JavaServer Faces is a user interface framework designed to significantly ease the burden of writing and maintaining applications that run on a java application server and render their UIs back to a target client. And that is really a nice defnition but still for me, there is something missing.

A Multi-templating System : what does it mean for you?

Posted by lamine_ba on November 12, 2011 at 2:25 PM PST


For prosperity to be sustained it must be shared.

Implementing a Cascading DropDown with JSF 2

Posted by lamine_ba on May 12, 2011 at 11:42 AM PDT

The Beginning

The term " Cascading DropDown" means a dynamic dependent list boxes that allow a child list box to refresh when a selection is made in the parent list box. This blog entry is about how to implement a cascading dropdown using the JSF framework and today we have the simple requirement to display a list of countries and to update a list of cities once a country is selected. Having now the scenario, we can start to present the actors :

The Entities

  1. public class Country {
  3.         private Long id;
  4.         private String name;   
  6. }
  8. public class City {
  10.         private Long id;
  11.         private String name;
  12.         private Country country;
  14. }