- Blog Xebia France - -
Posted By Xebia France One on Monday, August 3rd, 2009 17:17 In Review of the papers No Comments

The review of the papers of actuality Popular dance / weekly J2EE offered by Xebia.
Actuality editors / SSII
RIA
The corner of technology
Ev nements of our community in France and abroad
The podcast last of Cast Converters was a chance to go around table of the information which each of the presenters had on JEE 6. Even if it is not about official information, they give an outline interesting on the fact that could BEING JEE 6 during his revision as well as on his calendar:
It is possible only to be delighted with this possible harmony between both JSR of injections of dependency since the developers would be so free to choose the specification on which they are based, according to to them more or less complex needs.
Ext-GWT, the Javascript ExtJS bookshop carried in GWT (cf. article on the galaxy GWT), goes out in version 2.0.1.
Let us use this exit to speak more on the whole about plan and about major taken out release 2.0 a month is now there.
This one indeed brings the lot of new components and new functionality. These additions reduce distance so between 2 plans. They find so:
Tree Panel and Tree Grid (d mo), this last (who spreads the component directly Grid therefore more to binder) benefiting from all functionality of the picturerow editor (d mo) who allows to change a complete line of the picture, all cells of the line in favour edition (while before it was necessary to edit all cells one after another)HTML editor / Rich Text Editor (d mo)Live Charting (d mo) who joins GCHART so (recalled during a previous review of the papers) and OFCGWTButtonGroup (d mo) and Status (d mo)An important job was brought on buttons, bar of tool, management of the overflow in this bar...
Novelties very numerous, a detour by the famous will allow to go through / test them.
As for a major update, a present guide of migration in the product will describe changes in the IPA - INTERNATIONAL PHONETIC ALPHABET.
Downloading here and yes (as I
) you already wait for continuation with 2.1, you will find roadmap news thereabouts.
The version 4.7 of the framework famous of unit test, JUNIT, is under way of preparation. A new concept was revealed: Rule.
This concept is going to delight the tears of the test automated by JUNIT. Indeed, this functionality will allow to change the execution of your tests, to prepare them for a context of execution.
One of the most significant examples is the following:
Thanks to this statement @Rule public TemporaryFolder folder= new TemporaryFolder();, before the test it does not need there to create temporary directory, after the test it does not need there to abolish directories and files created during the test. It allows more easily therefore to make tests automatisables, r p tables, and portables of environment with environment.
There is other Rules as for example:
ExternalResource: usable of an external file (accessible by system of file)Timeout: the test must answer before a timeoutExpectedException: the test must throw exceptions determined wellThere will be therefore group of Rules who will allow to avoid doing again small ends of personal code to make the same thing in an annotation.
Here is an interesting article which allows to include what is under the bonnet of the class of JDK G-STRING: G-string and memory leaks; he could even give you a small drop of sweat on the forehead. Even if the title of the article is not well chosen forcing ('escape memo' while it is more about retention memo), it shows us simply how a method of the class, substring, a wolf can hide.
Indeed, for aims of optimisation, they make turn following code:
At first glance, they have three authorities of her classes G-string:
String email = "mailto:"String userName = "user_name@"String domainName = "domain_name"However, in concrete terms, in memory there is only one picture of char who is stocked: "mailto:user_name@domain_name.com", the authorities of classes String intervals used by the picture of record only char.
Trap is to manipulate a chaine engrossment of characters (who comes from a batch file for example) and to use substring to limit size of the chaine and therefore use memory. Forgery! The initial chaine will always be stocked in memory.
Rather confusing!
Wicket plan continues evolving and, while we speak to you about a version 1.3.6 last May (which besides made the object of one ), it is the version 1.4 after one working year which arrives at us in hands (by Yes Wicket! and Apache Wicket).
In the menu of novelties: a new packaging of the ganders Wicket (who makes them compatible OSGI), the only one jar for modules Spring and several modifications of IMODEL, of its realisation and more on the whole IPA - INTERNATIONAL PHONETIC ALPHABETS to take advantage from Popular dance 5 (Generics). The use of Generics in the code of Wicket began there is vicinity one year by an opinion poll enthralled on direct mail advertising-list, to arrive only in the milestone 3 Wicket 1.4 with so many supporters as detractors - defenders of the support of JDK1.4-and this up to the release final. The thread on The Server Side is also impressive! For the complete detail, appointment on Jira of plan.
Just as for Ext-GWT 2.0 (above), one guide of migration of 1.3 towards 1.4 is available. A baby ?
InfoQ publishes an interesting anthology: "Accomplish better tests unit".
Some will find that, once again, opened doors are planted. Others (as we), will appreciate many reactions which follow from this type of article, and will think that it is never useless to remind of these basic main principles to give up seeing unit tortured tests (and useless) on some plans.
In short, in a word as in one thousand, your unit tests are classes of code popular dance, which are vital for your plan, it is therefore urgent to look after it (naming, material, refactoring...)
Three key developers of JRuby, to know Charles Nutter, Thomas Enebo and Nick Sieger, chose to leave Sun MicroSystems. Further to the recent redemption by Oracle and the uncertainty concerning the support of by the new owner, they decided to join the Engine Yard society, specialised in the accommodation of applications Ruby One Rails. Engine Yard has passionate air at the idea of being able to be the support of the development of offer JRUBY and of the community which goes with. (Source)
Article printed from Blog Xebia France:
URL to article: / 2009 / 08 / 03 / revue-de-presse-xebia-120 /
Click here to print.