Switched to french canadian keyboard

Very interesting news,after a trip to Canada i switched my keyboard layout from french azerty based layout to french canadian. Since it’s a qwerty based layout it might be useful, if one day i have to work abroad. Also it’s more efficient for programming and english writings.

IT consolidation

Todays news:Oracle buys BEA.**Mysql AB acquired by Sun.**Well what’s next? Redhat acquired by Sun (or even Microsoft), Adobe acquired by Oracle, etc ?Industralization of the IT sector seems to get some steam, surely a sign of maturity. I am not sure if it will have an impact on innovation or this trend is the result of a loss of innovation. Big actors want to provide a complete enterprise stack from hardware to software package solutions. Will we only have to deal with SAP, Oracle, IBM, Sun and Microsoft tomorrow ?Google strategy seems to differentiate and focus on online services.

A picture is worth a thousand words (my 2008 no interest techs list)

This comic sums up my opinion on Scala pretty well (very funny):http://stuffthathappens.com/blog/2008/01/02/scala-will-do/I jumped on Ruby and Rails bandwagon spending some man-days (;-)) on it but at least Rails has been a reference in term of web productivity and introduced or leveraged nice concepts (naming conventions over configuration, DSL, REST, TDD etc.) . Recently, many Java web frameworks compared themselves to Rails and how they were much better (Seam,Grails & Co). Rails influenced the IT community (Java, .Net and Python included).=> All in all, i have excuses to have followed the crowd… But not this time, Scala (pretty unreadable), JavaFx (not until i see the consumer jre in action and applets as fast-loaded as flash apps without dumb dialog boxes) are definitely on my 2008 technos of no-interest !I’ll hopefully focus this year on the new Cobol ;-) core (or even .Net/C#) .

Xfire with Jibx

I uploaded on Google code hosting an example of Webservices with Xfire (1.2.1) and Jibx (1.1) built with Maven2. Services are defined and accessed through a Spring application context.Have a look if you are interested in such a solution. The built server war file is for Weblogic server 8.1 but you should be able to run it in any servlet engine (>2.3).

Where does Xfire and Jibx combination shine ?

  • When you need to adapt XML schemas to your Java model. Let’s say your client provides you the XML schemas that define the contract of your Webservice and you need to adapt them to your buisness interfaces. Generally, business facades are not exposed directly as Webservices and an adapter layer is coded on top of it. The goal of the adapter layer is to transform simple types (arrays, primitive types, simplified objects) to more complex ones (the ones of your business interface). Here with Jibx you can code transformation directly in the mapping file. The WSDL is still dynamically generated. This “design by contract” approach could also be used.
  • Performance. Jibx is supposed to be efficient since it uses a stax XML parser to perform unmarshalling and instantiate your Java objects. But unfortunately I didn’t run any benchmark to confirm this and compare Jibx XML binding with other binding libraries (JAXB 2, XMLBeans, Castor, etc.)