Xebia

Blog Xebia France

J2EE, Agility and SOA

February 16th, 2010

Performance, Xebians plays the mine clearance experts 2

Continuation of our investigations on application shaded PetClinic.

After a first pass which allowed us to calibrate logs in an a little more pertinent way, it's about time, always without the assistant of the source code, to put hands under the bonnet of Tomcat (6.0.20).

And for it, nothing better that to throw an eye once again in our VisualVm.

So much of threads for the single user.

For (Re) begin, let us tilt us on our threads, just after the starting of the server (and therefore before the first connection of an user)

When a server Tomcat, some threads is started are appointed to its internal 'piping ' (connector cables MINIMUM BENEFIT, JMX). But from there to have 165 threads, there is a worry indeed somewhere!
Let us dig little, and let us enter the detail of this threads by using the thumb-index Threads.

Read the continuation of this article

January 27th, 2010

Performance, Xebians plays the mine clearance experts

The first XKE in our new places gave rise to very curious stages: bisounours booed garbage cans under the scoffing look of pokemons! And, no, the cardboards of move did not fall to us on the head. It was only some some of the names chosen by teams there 3 - 4 consultants, that measured in a competition of tuning of performance, on an application standard Popular dance EE, bugg e (voluntarily, for time) by the masters of ceremony, Guillaume Bodet and Cyrille Le clerk. All participants saw each other delaying VM, containing Tomcat, an application (PetClinic of Spring, seen again and "corrected  ) and scripts of performance JMETER. The source code had not given, at first.

For all, the only purpose: make diminish the time of answers of application.

Rules were the following:

  • A bug is considered as found only when he was identified, that a corrective was offered and that proof is made that this corrective allows to improve response time significantly.
  • There are three levels of difficulty, going from the obvious bug to the craftiest anomaly.
  • The choice of tools is free.

In your marks Loans? D buggez!

Read the continuation of this article

November 20th, 2009

Why so much waves around GOOGLE Wave?


For a little more than a month, GOOGLE threw a full-scale test (they speak about 100 000 silly billy testeurs) of the deck of centralised communication, Wave. After a big frenzy of hunt for invitation, the bellows fall again little by little: they really have a feeling that there is something to pull of this aggregate of tools become 'real time ', but they still do not know what. They see appearing of many archetypes (translation real time, connection with motives), but few very concrete things. It will be necessary for it to wait to attain a critical mass (if several firms decide for example to replace the entirety of their tools of communication with Wave) but also count on the community to explore the possibilities of extension of Wave and to offer delightful robots.

Nonetheless, the tool of GOOGLE stirred our curiosity, mainly thanks to its opened architecture and to its possibilities of extension.

Read the continuation of this article

June 26th, 2009

JAZOON Day 3 The secrets of the programmers Rockstars

Strange title for a conference
In fact, this title is that of a book that Ed Burns (spec leader of JSF 2.0, working at the place of Sun) dedicated on features of main characters of the big names of the world of software development (James Gosling, Adrian Colyer, Rod Johson, but also Chris Wilson (architect of IE) or Max Levchin (ancient CTO of Paypal)). In spite of the advertising aspect of this presentation (  I introduce you here only a very small part of the equipment at my disposition, for the rest buy my book  ), we did not regret having attended it.

This conference was a chance to discover extracts of (audio) interviews which served in the realisation of the book, and to pierce the secrets of these big names which monopolise conferences and honours.

Read the continuation of this article

June 26th, 2009

JAZOON Day 3 A tree fell

Yesterday last day of JAZOON took place.

And to change, the opening keynote was not kept by Sun, but by Adrian Colyer, CTO of SpringSource. And least that it is possible to say, it is because the change of tone was radical.

By an analogy with the primary forest, In. Colyer announced the fall of Sun, and the very next emergence of new business companies leader in the world JEE (they imagine well that SpringSource is part of this new shoot).
He explained the fall of Sun under an angle different from that of pure financial redemption: according to him, the actors of the world JEE do not want to follow recommendations (dogmas) any more enunciated by Sun, and it is for it that we see an apparaitre of new languages, but also new wills to modulariser the stack JEE monolithic.
Read the continuation of this article

June 25th, 2009
Print this ticket

JAZOON Day 2 JAVAFX

Yesterday, they have still a lot spoken about JAVAFX. Danny Coward, in the conference of opening of the day, announced that Sun intended to catch the lost time, by continuing its policy of releases expresses, and that JAVAFX would know a new version before end of year (even if the functionality of this version remains still mysterious). It also made its beep 5 of functionality given by version 1.2:

  • More platforms: an archetype of television sets shown in JavaOne, (partial) support of Linux and Solaris, and promise to see the telephones of LG, HTC and Sony arriving soon on the public works contract
  • More of composing UI, any skinnable with the aid of CSS
  • Addition layouts
  • Better performances
  • A better access and a better usage of data

Strange beep 5 to tell the truth, since some some of his points are only partly implemented.

Read the continuation of this article

June 24th, 2009

JAZOON Day 1 Futurology

Difficult to sum up the closing keynote of Neal Ford,  to forge the 21th century  . He swept so much concepts to make us share his vision of the technologies of the future that it is delicate to make you share its bright presentation in some lines.

We are however going to try to approach main lines:

  • To predict the future is a delicate exercise, because our brain is not correctly armed to make it, especially at the level of statistics. However, in our jobs, some signs can put us on the way: it is necessary to search first of all the " paradigm changers " , those who by their innovative vision revolutionise some concepts, for example the iPhone. Other sign, technologies warmed up: because she has not gone out timely, VM of Pascal did not take, while she was previous to JVM invented by James Gosling.
  • The sensitive subjects in next years should be multi threading, functional programming and dynamic languages. What makes of Clojure (ie LISP in JVM) a good candidate for future technology star.
  • Our technologies should apply to a new functional domain, robotics. We see premises besides with (who does not hesitate to slaughter the offenders) developed by Samsung. Attention not to topple over to the visions SF of Matrix, Terminator and other scenarioes disasters based on clever and autonomous robots.
  • The recent tendencies show it, the syntax of language matters: they think well only what it is possible to formulate. It is for it who we live a  revival of languages  , with the appearance of new syntaxes which stick on the need. Besides, it would be ridiculous to want to force to use only the single language when in the final all these languages are compiled and carried out within JVM in form of bytecode. Three cheers for polyglot programming.
  • Social networks offer new modes of consumption, and even the most "stupid  of applications (Ocarina for iPhone) can bring back millions of dollars if she offers an original social experience.
  • If the battle of the RIA rages with million dollars, it is to reproduce the diagramme of Microsoft which "made" everybody encode with the IPA - INTERNATIONAL PHONETIC ALPHABET win32 during years. To earn this  game of platforms  , it is to impose its standards on competition permanently.
  • Mobile phones also make, all over their absence of standard, left it " platform play " . And in this small game, Apple, by imposing his terminal, the first music supplier in the world became at the same time. And besides, if Apple managed to invoice any service type by using AppStore, would not it become fast the biggest World Bank?

Read the continuation of this article

June 24th, 2009

JAZOON Day 1 mobile Development

Conference  development iPhone seen by developers Popular dance  filled up. We did not attend this conference in its entirety, this subject having been already treated in depth as part of our XKE. To note however that this subject seems to enthrall crowds.

Another "mobile" subject  was introduced today, to know the division of the market of motives. This division intervenes at all levels: hardware, BONE, applicatif environment.

Chaos is positive, because it brings innovation, but it complicates considerably the task of the developers. To accomplish an application working on all decks, several strategies come:

  • Develop specifically for every apparatus: portability and experience user are maximum, but titanic job.
  • Develop an application using only the lowest common denominator between flat forms, what returns to sacrifice experience user.
  • Use a player, what is equivalent to solution ci over (the experience user is limited by the functionality of the player, them the same limited by sticking between the different motives).
  • Use a framework of porterage.

It is this last solution which was introduced, by the creators of the framework J2ME POLISH. Subjacent idea is to write its programme in Popular dance, and to use a framework to carry him on the majority of the motives. Code is transcribed by the framework in J2ME by using a repository of apparatus, who specifies the characteristics of each (size of the screen, possible correlations with the apparatus)

It is possible to migrate code under Android or Blackberry (J2ME POLISH uses for these two targets a reconstruction of classes specific J2ME).

It is even possible to transform this source code to display it on mobile Windows and on iPhone: code Popular dance is represented in form of tree and a cross-country running - to compile is to use to transform this tree into target language.

Even if exercise is interesting, it is little overrates, notably because the experience user given by the iPhone outclasses all these rivals and because it is therefore reasonable only to carry a logic business kicks out (the conception of IHM too much differ according to motives).

To note that the creators of the framework appreciate initiative JavaFX, but will indeed lean over only if the market of the mobile terminals carries this new technology.

June 24th, 2009

JAZOON Day 1 JEE6 and Glassfish v3

You could follow us all yesterday on Twitter, here is now come the hour to make a retrospective of this first day of JAZOON.
Contrary to some famous blogueurs gifts on event, we are not going to make you relive event conference by conference, but rather try you to synthetize these conferences by big subjects.

First approached subject, the future of Popular dance, to know JEE 6 and its reference realisation, Glassfish V3.

Read the continuation of this article

June 22nd, 2009

En route to Jazoon 09


Next week will be held in Zurich one of the biggest conferences Popular dance in Europe, I named JAZOON. Xebia France will be represented there.

The programme promises to be charged and manifold, and they hope for announcements a little more sexy than for those given by the lecturers of JavaOne. Here are some some of main subjects:

  • JEE6: t-on will teach when specification will be finalised?
  • RIA: FLEX, GWT, JAVAFX
  • Spring 3.0
  • Cloud computing
  • Mobile development, Android
  • Dynamic languages (GROOVY / Grails)

Add to it of many presentations transverses touching in the middle of our job:

  • Performance / concurrency
  • Persistence JPA 2.0, Hibernate
  • Integration goes on with Hudson
  • MODULARISATION OSGI
  • Testing / refactoring
  • Design (DDD)

The whole will be carried by world-famous actors J2EE: James Gosling, Neal Ford, Adrian Colyer, Danny Coward, Kirk Pepperdine, Ivar Jacobson

Days risk being dense and we hope to collect a maximum of information there which we will relieve to you!

You will be able to live direct JAZOON (from Tuesday till Thursday) in us according to on Twitter.

Follow to me one to twitter

Xebia IT Architects lock France
Defence Colis e - 10/12, avenue of The Ark
92419 Courbevoie Cedex

T l : +33 (0) 1 46 91 76 16
Fax : +33 (0) 1 46 91 88 00
E-mail : info@xebia.fr