vendredi 20 novembre 2009

Veille technologique semaine 47

Pour le bulletin de cette semaine, je vous propose les sujets suivants :

  • présentation d'un retour d'expérience à la conférence Model Driven Day 2009 sur Paris le 26 novembre prochain (site www.mdday.fr) dans les locaux de Microsoft. Je présente l'usage du Model Driven Architecture (MDA) et de l'Aspect Oriented Programming (AOP). L'inscription est gratuite (voir sur le site).
  • Des résultats de performances du standard OpenCL pour le traitement du signal audio. Le standard OpenCL (à ne pas confondre avec OpenGL) propose une API qui permet de déléguer du travail de traitement sur le processeur graphique (GPU). Ce traitement n'est pas lié à des pixels (contrairement à OpenGL). CUDA est l'API propriétaire
  • Un article au sujet de HTML 5 qui veut remplacer Flash.
  • La NASA qui adopte NetBeans comme plateforme.
  • 5 bonnes pratiques pour le développement du code.
  • La conférence Java Devoxx qui a eut lieu du 16 au 20 novembre en Belgique, plusieurs présentation on été faites.
  • Toujours à cette conférence, a été annoncé le retour des closures pour le JDK 7. Différents articles au sujet des closures en Java.
  • Deux articles sur l'intégration du concept de services dans Java
Bonne lecture.


La journée du « Model Driven » - Edition 2009

Titre de la présentation:JAva COmponent MOdel - How Aspect Oriented Programming can help Model Driven Architecture

Abstract : Model Driven Architecture (MDA) propose to transform Platform Independant Model to Platform Specific Model (PIM). Aspect Oriented Programming (AOP) propose to weave technical code inside domain code. JAva COmponent MOdel (JACOMO) technologie use AOP to implement MDA.

Intervenant : Emmanuel Grivot


OpenCL Standard Speeds Compute Intensive Applications
OpenCL, an emerging new standard for distributing applications across processor cores and GPUs promises to dramatically speed up processing time for parallelizable tasks. One Mac programmer was stunned to see a 492 seconds audio processing task shrink to a mere 14.1 seconds..


HTML 5, tueur de Flash ?
Les fonctionnalités étaient jusqu'à présent seulement disponibles sur nos postes de travail. Aujourd'hui, on trouve des applications Web capables de proposer de la retouche de photos, la visualisation de bande annonces de film, la gestion et l'écoute de musique, la lecture de livres, etc. Les standards actuels du W3C n'ayant pas été conçus pour la création d'applications Web, des plugins tels que Flash ont comblé
ce manque. Le W3C préparait XHTML 2 depuis des années mais cette spécification était orientée document et non application.

Des employés d'Apple, de Mozilla Foundation et d'Opera Software ont
formé la communauté WHATWG. Point de départ d'HTML 5, leurs travaux ont été orientés vers un standard capable de créer des applications : ajout de la vidéo, mode hors-ligne, etc. HTML 5 est-il une réelle alternative aux plugins comme Flash ? Voire un Flash-killer ?


NASA Adopts the NetBeans Platform
Tim Boudreau, Senior Staff Engineer at Sun Microsystems,
recently spent some time with engineers at NASA, showing them how to use
the NetBeans Platfom.
Below, he reflects on some of the interesting engineering needs that NASA
has and how the NetBeans Platform is well suited to respond to these. During
the interview, Tom Wheeler, one of the NetBeans Platform's several external
contributors, talks about his participation in the course at NASA, too!


5 practices to create good code.
  • Keep it simple
  • Make it work, then make it fast.
  • Automated Test
  • Code reviews.
  • Refactor.

Devoxx Conference
Devoxx Day 1: University Day 1
Devoxx Day 2: University Day 2
Devoxx Day 3: Conference Day 1


JDK 7 Unexpectedly Gets "Simple" Closures, but is Pushed Back to End of 2010
During his Devoxx talk, Mark Reinhold has announced that JDK 7 will have Closures. With the inclusion of this much debated feature, JDK 7 schedule will be extended until around September 2010.
Joseph D. Darcy, lead engineer of Project Coin, which aims to make small language changes for Java 7, has confirmed that the next version of the language will include some kind of "lightweight" Closures:


Closures after all?
Apparently Mark Reinhold announced that closures would be added to JDK 7 at Devoxx today:


Closures? In Java 7???
Today, a tantalizing announcement by Mark Reinhold about closures in Java 7 has made its way through the twittersphere.


Closures for Java (v0.6a)
We describe a proposed extension of the Java Programming Language that supports deferred execution of snippets of code. These correspond to lambda expressions in languages such as Javascript, C#, and Groovy.


First-class methods: Java-style closures
The following examples refer to static methods:

Math#min(int, int)
Collections#sort(List, Comparator)

The following examples refer to instance methods:

Integer#intValue()
Object#equals(Object)


How to create services in Java
Creating services is quite an abstract subject, everyone has his own ideas and preconceptions, so is worth clarifying what I mean by services in this article. A service is a component that holds some business logic which can be easily reused anywhere else in the application no matter where the service is located, or what the communication mechanism is used between the client and the service. The following code samples detail my own personal approach on how to implement services in Java.


Service Provider Interface: Creating Extensible Java Applications
Most of an application's life cycle revolves around maintenance. An extensible application allows for easy maintenance—i.e., upgrading of specific parts of a product—without affecting the entire application. This article examines the service provider interface (SPI) approach to creating extensible applications, a key to modular, plug-in architectures. The article begins by defining what a service provider interface is, how it is implemented, and how you can achieve extensibility by using the ServiceLoader API (part of JDK 1.6).

Aucun commentaire: