Bistro!
Alexis Moussine-Pouchkine's Weblog
public enum Topic { Java, GlassFish, Tools, Sun, InFrenchInZeText, SDPY }

20090928 lundi septembre 28, 2009

"Le futur de Java" ce jeudi à l'OpenWorldForum

Ce jeudi, vous êtes conviés à venir à l'Open World Forum qui se tient à Paris (Eurosites George V dans le 8ème) et en particulier à la series de courtes sessions autour de Java.

Avec l'imminence du rachat par Oracle de Sun, un point sur Java semblait intéressant et utile. Au programme, le chemin parcouru par Java SE depuis sa mise en Open Source et les avancées prochaines de JDK7, une table ronde sur les langages dynamiques sur la JVM (Groovy, Scala, Fan, et Clojure, ou Jython, JRuby et PHP?), et enfin un point sur Java EE 6 et son implémentation de référence GlassFish v3. Notre Guillaume Laforge sera de la partie pour la table ronde.

Ce sera bref (1h30 au total), mais une occasion concrète de faire le point sur les travaux en cours et sur ce que le futur proche nous réserve.

• Programme: http://openworldforum.org/program/floss-java.
• Enregistrement, c'est ici: http://openworldforum.org/Register.

( sept. 28 2009, 09:02:24 AM CEST ) Permalink Comments [1]

20090820 jeudi août 20, 2009

Java EE 6 tutorial and samples straight to your GlassFish v3 install

While the Java EE 6 tutorial and the code samples it offers are still work in progress (expect a few rough edges), it's probably a great source for getting up to speed with this update to the Java EE platform. If you've installed the Preview of the Java EE 6 SDK you've probably been encouraged to download an update to the Java EE 6 tutorial:

If you've been using the GlassFish v3 Preview bits from glassfish.dev.java.net then you may be wondering what this is all about as there is no "Tutorial" package or update showing up in the GlassFish updatetool. Whether this is a feature or a bug is yet to be decided but this is technically due to different repositories being wired in for the two different downloads (glassfish vs. SDK). You can check what your repository settings are with to following command (you can visit the URL for an HTML representation of the contents of the repository) :

% pkg authority
AUTHORITY                           URL
contrib.sun.com                     http://pkg.sun.com/glassfish/v3/contrib/
contrib.glassfish.org               http://pkg.glassfish.org/v3/contrib/
stable.glassfish.org (preferred)    http://pkg.glassfish.org/v3/stable/
stable.sun.com                      http://pkg.sun.com/glassfish/v3/stable/

If you're using GlassFish promoted builds you have a preferred dev.glassfish.org authority (repository) defined as http://pkg.glassfish.org/v3/dev/. If you're running GlassFish v3 Preview (released at JavaOne in May 2009), then it comes with a preferred stable.glassfish.org repository defined as http://pkg.glassfish.org/v3/stable/.

In both cases, in order to be able to see and add the tutorial and sample packages, you simply need to add stable.glassfish.sun.com like this :
% pkg set-authority --enable -O http://pkg.sun.com/glassfish/v3/stable/ stable.glassfish.sun.com

Once that's done, you can list the tutorial and samples packages available for install and proceed with the install :
% pkg list -a | grep javaee
javaee-firstcup-tutorial (stable.glassfish.sun.com) 2.0.1-4         known ----
javaee-javadocs (stable.glassfish.sun.com)          3.0-47.2        known ----
javaee-samples-build (stable.glassfish.sun.com)     0.9-2           known ----
javaee-samples-full (stable.glassfish.sun.com)      0.9-2           known ----
javaee-samples-web (stable.glassfish.sun.com)       0.9-2           known ----
javaee-tutorial (stable.glassfish.sun.com)          6.0.1-9         known ----
% pkg install javaee-firstcup-tutorial javaee-javadocs javaee-samples-build javaee-samples-full javaee-samples-web javaee-tutorial

This will install 17MB worth of samples and tutorial documentation and place this all in your glassfish/samples and glassfish/docs directories.

if you're running GlassFish v3 Preview (which already comes a stable repository) it is important that you then either disable or remove the stable.glassfish.sun.com authority. Failing to do so will cause multiple packages conflict on the next update of GlassFish. Here's how to disable the repository:
% pkg set-authority --disable stable.glassfish.sun.com

Of course you can use the bin/updatetool to accomplish all of the above if you're CLI-averse.

( août 20 2009, 02:21:04 PM CEST ) Permalink

20090808 samedi août 08, 2009

Latest GlassFish Podcast episode: Antonio Goncalves

It's been a while since the last GlassFish Podcast episode and even longer since the last interview, so here it goes - episode #36 an interview with Antonio Goncalves.

Antonio has many hats and this discussion covers a lot of ground starting with his recently published Java EE 6 book with GlassFish v3. We get into his favorite Java EE 6 feature, his role in the JCP as an individual contributor, his take on Spring vs. Java EE 6 and some thought on JSR 299 (the interview predates the inclusion of JSR 330 into Java EE 6). We also discuss Antonio's role as the leader of the Paris JUG inspiring more than a dozen other JUGs across the country.

Enjoy the episode.

( août 08 2009, 11:46:52 PM CEST ) Permalink

20090804 mardi août 04, 2009

While away, starting with the hot-off-the-press part -

• Small (and welcome) Java EE 6 delay to accomodate JSR299/JSR330 (and to include both in the platform). Expect GlassFish v3 to shift as well.
OpenDS 2.0 released - full Java LDAP server now ready for prime-time.
Web Stack 1.5 released. More than an optimized and integrated (L)AMP stack it also buys you support for Hudson and uses IPS (like GlassFish v3) for fully relocatable installs.
NetBeans 6.7.1 shipped. Now with JavaFX and lots of bug fixes (including some related to Maven support). You can simply update an existing 6.7 install. 6.8 will have Java EE 6 support and recent GlassFish v3 as the default (Milestone 1 is just out).
JRuby guys moving to EngineYard (and confirming the GlassFish praises).
GlassFish v2.1 patch 3, for paying customers.
NetNewsWire now has web version via Google Reader

( août 04 2009, 09:23:46 PM CEST ) Permalink

20090625 jeudi juin 25, 2009

GlassFish et Java EE 6 à Niort mercredi prochain

Antonio pour la partie Java EE 6 et votre serviteur pour GlassFish v3. Détails ICI.
Comme le dit Wadael, espérons que GlassFish y gagnera en assurances! ;-)

( juin 25 2009, 10:53:47 AM CEST ) Permalink Comments [6]

20090619 vendredi juin 19, 2009

GlassFish v3 a la carte screencast - Part 3 - Jersey and EJBs

In the first screencast, I installed a minimal GlassFish v3 from a small bootstrap (IPS toolkit), created a domain and started the server. The second entry did something actually useful with GlassFish and two containers: Java Web and Spring. In this screencast, I layer a custom distribution on top of a GlassFish kernel. Enough to deploy a JAXR-RS / EJB 3.1 (lite) application.

For the sake of brevity this screencast is mostly command-line. It starts with the 5MB ips bootstrap and installs a pre-defined custom distribution which is enough to deploy the jersey-ejb sample application. The custom distribution is essentially an IPS package with no artifact, only a set of dependencies on other packages. For the curious out there, here is the step-by-step for the screencast :

bin/pkg set-publisher -P --enable -O http://pkg.glassfish.org/v3/dev dev.glassfish.org
bin/pkg set-publisher --enable -O http://localhost:10001 localRepo
bin/pkg install sample-distro
bin/asadmin create-domain --instanceport 8080 --adminport 4848 mydomain
bin/asadmin start-domain
bin/asadmin deploy ~/jersey/jersey/samples/jersey-ejb/target/jersey-ejb.war
open http://localhost:8080/jersey-ejb/

I hope this series of screencasts demystifies the IPS/packaging side of GlassFish and shows the interesting possibilities it offers to end-users.

( juin 19 2009, 04:42:38 PM CEST ) Permalink

20090617 mercredi juin 17, 2009

Livre Java EE 6 (in english in the text) en dédicace ce samedi à Paris

Antonio Goncalves :
" Je vous propose de nous retrouver samedi 20 juin à la librairie Le Monde En Tique de 15h50 à 18h pour une séance de dédicace. Le principe est simple : vous venez, vous achetez un exemplaire du livre (ou plusieurs exemplaires pour offrir à votre femme et à vos parents), et je vous écris un petit mot doux. C’est un bon deal non ? "

Détails ici.

( juin 17 2009, 03:51:45 PM CEST ) Permalink

20090612 vendredi juin 12, 2009

GlassFish v3 a la carte screencast - Part 2

In the first screencast, I installed a minimal GlassFish v3 from a small bootstrap (IPS toolkit), created a domain and started the server. This entry will actually do something useful with GlassFish and two containers: Java Web and Spring.

The Spring DM (OSGi) part of the demo is described in Jerome's GlassFish V3 Extensions, part 3 : Spring, Java EE 6 and OSGi blog entry. In the screencast, the manual install of the Spring bits is replaced by adding a new repository definition (a local one) and installing a single package from there. For the rest, the demo demonstrates how to extend GlassFish without using any GlassFish API and how to invoke an OSGi bundle service without using any OSGi API - the servlet injects the service by name using a standard @Resource annotation. Note that Jerome's most recent blog entry covers OSGi Declarative Services for a somewhat simpler approach.

The screencast was done using the dev/ repository, so your experience may vary as the boundaries of the IPS packages and their dependencies are still being worked. Also, instead of the default Felix console briefly shown, you could use the web console described by Sahoo.

The full-size (and offline) video is available here (15MB, video/x-m4v).
The next screencast will show how one can seamlessly add more GlassFish v3 features to obtain a "full" Java EE application server and still benefit from the modular architecture in terms of pay-as-you-grow (startup time, load-on-demand, memory consumption, ...).

( juin 12 2009, 01:32:12 PM CEST ) Permalink

20090403 vendredi avril 03, 2009

GlassFish l'aquarium in Paris - Presentation Slides

The latest GlassFish Community Day in Paris dubbed "l'aquarium" took place this past Monday. The agenda covered Java EE 6, GlassFish Portfolio (including ESB and WebSpace) but also MySQL and OpenSSO. The other interesting part is the large number (almost half) of non-Sun speakers. Here are the slides for the various presentations (some in French, most in English). Thanks to all the speakers and to the attendees (I hope you like the new GlassFish shirt!).

"Bienvenue et Introduction GlassFish Portfolio", Jean-Yves Pronier (SlideShare, PDF)
"Java EE 6", Roberto Chinnici (SlideShare, PDF)
"GlassFish v3, en route Java EE 6", Alexis Moussine-Pouchkine (SlideShare, PDF)
"GlassFish Web Space", Patrice Goutin (SlideShare, PDF)
"Retour d'expérience OpenMQ (1)", Jérôme Molière, Mentor/J (SlideShare, PDF)
"GlassFish Enterprise 2.1, production", Didier Burkhalter, Alexis Moussine-Pouchkine (SlideShare, PDF)
"Transaction support, guaranty of delivery and consistency with Glassfish ESB BPEL", Paul Perez et Bruno Sinkovic, Pymma Consulting (Source from Pymma Consulting)
"Retour d'expérience OpenMQ (2)", François Ostyn (SlideShare, PDF)
"Authentification Web unique, Fédération d'identité et sécurisation de services Web .Net et Java avec OpenSSO", Alain Barbier, Sun Microsystems et Stève Sfartz, Microsoft (SlideShare, PDF)
"MySQL HA Solutions", Lenz Grimmer (SlideShare, PDF)

( avr. 03 2009, 12:55:57 PM CEST ) Permalink

20090112 lundi janvier 12, 2009

Java EE 6 et GlassFish demain au Paris JUG


Antonio Goncalves "himself" nous parlera demain (mardi 13) de Java EE 6 au Paris JUG. Quant à moi, je vous présenterai en deuxième partie GlassFish v3 "Prelude". Un petit cadeau pour ceux qui seront là lors du buffet (en espérant en avoir assez pour tout le monde!). Details sur la soirée ici.

( janv. 12 2009, 02:53:51 PM CET ) Permalink Comments [4]

20081031 vendredi octobre 31, 2008

Bloquez la date: 12 décembre 2008

Journée gratuite "GlassFish et Java" le Vendredi 12 décembre à Paris chez Sun au 42, avenue d'iéna à Paris.

Sujets traités: GlassFish, Java EE 6, Grizzly Comet, Jersey, OpenMQ, JavaFX, MySQL, OpenSSO, OpenESB, partenaires, retours d'expérience.

Speakers: Roberto Chinnici (spec lead), Richard Bair (tech lead), Paul Sandoz (spec lead), Linda Schneider (tech lead), Jean-François Arcand (tech lead), etc...

Plus de détails et ouverture des inscriptions dans quelques jours, nombre de places (très) limité.

( oct. 31 2008, 02:11:39 PM CET ) Permalink Comments [6]

20080808 vendredi août 08, 2008

New GlassFish Podcast episode, Java EE 6 with Roberto

I posted a new episode of the GlassFish podcast. This time, it's Roberto Chinnici's Java EE 6 presentation from the Jazoon conference back in June. The audio is far from perfect but I decided content mattered more than container...
Update: I posted the second part as well.

( août 08 2008, 09:57:04 AM CEST ) Permalink

20080721 lundi juillet 21, 2008

Java EE 6 - le point à mi-parcours.

Il y a à peine plus d'un an, je mentionnais pour la première fois Java EE 6 (JSR 316). Il semble y avoir un large consensus sur les différents JSR. Il y a également un consensus sur les trois thèmes proposés: extensibilité, profils et pruning. Clairement les profils a pas mal fait parlé d'eux: faut-il un web profile de type "tomcat" ou bien quelque chose de plus riche (voir le billet de Roberto sur ce sujet). Ce qui est clair c'est qu'il n'y aura qu'un seul profil "web" (pas question de maintenir les profils A et B). Après la présentation de Rod Johnson à Jazoon en Juin dernier, il semble que SpringSource ne s'oppose plus au profil B qui contient EJB 3.1 Lite (session+interface locales), WebBeans 1.0, et JSF 2.0.

Clairement Servlet 3.0 me parait comme une avancé significative. C'est elle qui va permettre en grande partie l'extensibilité (déposer les JAR de son framework dans un répertoire précis suffira, plus d'édition de web.xml), de standardiser les mécanismes de suspend/resume utilisés par Comet, et d'avoir (enfin) une approche POJO (annotation @Servlet). JPA 2.0 (specification séparée des EJB) et EJB 3.1 sont des incréments importants et nécessaires après des versions 1.0 déjà bien réussies.

Le succès de WebBeans me parait être une inconnue même si l'unification du modèle de composant est selon moi un "no-brainer". JAX-RS aura certainement beaucoup de succès mais je vois déjà les discussions "JAX-WS ou JAX-RS?" occuper les architectes dans les entreprises et les SSII y passer du temps (à leur grand plaisir! ;-).

Le calendrier initial était effectivement un peu agressif (sachant également que d'autres ne sont pas encore arrivés encore à Java EE 5). Rendez-vous donc pour la beta Java EE 6 l'année prochaine. GlassFish v3 sera aligné avec cette version de la spécification et la version TechPreview 2 propose déjà quelques implémentations en avance de phase au travers de son update center (EJB 3.1, JAX-RS 1.0, ...).

( juil. 21 2008, 07:04:00 AM CEST ) Permalink Comments [1]

20080207 jeudi février 07, 2008

GlassFish aux MS Tech Days à Paris la semaine prochaine

Non rancunier qu'on nous ait piqué notre nom d'événement, je suis aux Microsoft Tech Days lundi et mardi sur le stand de Sun (interop Web Services, virtualisation et bien entendu serveurs x64/x86). J'anime également la session "Interopérabilité des Services Web en environnement .Net et Java via les technologies GlassFish et WCF implémentant les spécifications avancées des services Web (ARC310) "

( févr. 07 2008, 09:41:39 PM CET ) Permalink

20071110 samedi novembre 10, 2007

Java EE et GlassFish cette semaine à Rennes (mardi 13)

Ce mardi 13 novembre 2007, je suis programmé pour une intervention à l'IRISA sur le thème "Java EE 5 et GlassFish". RDV à 18h00 pour une heure de présentation, démos à l'appui. Ensuite si je me souviens bien il y a un pot pour discuter avant de reprendre mon train (enfin s'il existe en cette veille de grève... ).

Update: voici la présentation d'hier. Merci aux participants pour leur présence.

( nov. 10 2007, 10:40:07 PM CET ) Permalink Comments [4]


GlassFish Podcast
Get GlassFish V3
Support GlassFish Enterprise

Today's Page Hits: 2159




bea conference glassfish groovy ips java javaee javafx javaone javazone jug mysql netbeans openesb openoffice opensource paris performance pkg podcast presentation sdpy spring sun swing techdays tips updatecenter v3 webservices
Links