Skip to main content

Posts

Showing posts from 2012

Ajuster les paramètres de confidentialité sur Facebook

·          Choisi l’option Paramètres de confidentialité Clique sur modifier les paramètres dans l’option ici-bas: Choisi l’option que tu désires dans la rubrique ici-bas (mois j’ai toujours choisi amis depuis le début): Je recommande fortement à tout le monde de réviser avec soin tous les paramètres de confidentialité.

Agile programming on steroids

I was reading my posts from 2007 (Wow, 5 years ago, a lot has changed) about Agile programming and Ruby on Rails (RoR).  Although I used RoR on only 1 project, it seemed a great thing because at that time things such as Spring Roo did not exist. Now with a simple Roo script, followed by some Java code touch-ups one can achieve the same kind of flexibilities that RoR provides using an industry proven language on an set of industry proven platforms (WebSphere, Weblogic, Tomcat, JBoss, etc....) with little risk and reusing our existing farm of coders/developers.  Wow, long live Java. Is there a real need for RoR, I don't think so.  Except perhaps for legacy reason!  HA HA HA! Please contradict me with your comments.  Just keep it civil. When I have time, I shall write an entry illustrating the above Spring Roo example. In the meantime you can look at the example roo scripts in the Spring Roo distribution.

Handling multipart form data in Spring 3.1

Introduction Multipart mime encoded is a format used to transmit binary and arbitrary data in 1 single HTTP request transaction. In this post, I will describe how to create and process multipart form data using Spring 3.1, the leading industry standard java application framework for creating Java web application.  I will start the discussion from the user perspective by talking about two main use cases and will expand it by describing how these two use cases translate into 7 possible application system use cases. Use Cases Here are some use cases of this feature: A browser submits or uploads a file to a web server using an HTML page. This is by far the most common use case of the multipart form data feature. A multipart is required because the form data and the file are both included in the request body. A java program (a java application or servlet instance) sends multipart form data to a web server (most likely a web service).  This is