Tag Archives: framework

XML <=> javabean = Xstream

Voici le plus court chemin pour aller d’une structure XML à des javabeans et vice-versa: Xstream.

L’outil est impressionnant  de facilité et d’efficacité. Attention il s’agit d’un sérialisateur/désérialisateur => les structures objet et xml  doivent se correspondre. Il sait traiter les types simples tout comme les collections ou les maps. Une limite, il ne reconnait pas les attributs d’un élément mais seulement les sous éléments.

Dans le même genre il y a aussi jox

Si vous voulez faire du “mapping” xml < => objet, du xml databindings, il va falloir se tourner vers des solutions plus lourdes se basant sur un XML schema comme:
– Castor XML
– XMLBeans
– ou Jaxb

Ce ne sont pas les seules solutions, en voici une liste assez complète, selon un sondage sur manageability castor XML serait la solution la plus utilisée.

Lucene power 10

Looking for a search engine to integrate into your application? Lucene is a good choice of course, but you still have a lot to do if you want your end user to play with it: UI, file selection…

SearchBlox (via TheServerSide) is the solution. I just gave it a try, and I must say I’m impress. In less than 10 min I’ve got my personnal desktop search engine running!

Here are the main feature:
– use lucene as the search engine
– can index and search HTML, Word, PDF, ppt, xls
– comes as a war file and is deployable on any Servlet 2.3/JSP 1.2 container
– free if you index less than 1000 files

Strus and JSF future from the source

Via bistro Craig McClanahan (Struts’s creator and co-specification lead for JSF) is blogging !! We now have a point of view on Struts and JSF from the source. Goog read to know how Struts and JSF overlap in the presentation tiers of web application. But nothing surprising in this post: Craig says Strust and JSF are fully compatible and encourage anyone to use either of them or both… But can he be objective?? Lots of people in the blogosphere are dumping Struts in favor of WebWork or Spring and I read more bad opinion about JSF than good ones. Today a J2EE developper must have Struts on his resume, tomorrow will he need JSF or Spring?