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

20080509 vendredi mai 09, 2008

La famille GlassFish s'agrandit

JavaOne 2008 bat encore son plein, mais la quasi-totalité des annonces ont déjà été faites. En ce qui concerne GlassFish, le moisson est plutôt bonne.

Petit rappel, GlassFish v2 (ur2) est la version courante du serveur d'application Java EE 5 et Libre de Sun. Il intègre des fonctions d'administration, de clustering et de performance qui en font une alternative aux WebSphere, Tomcat, WebLogic et autres JBoss (sans ordre particulier).

GlassFish v3 est donc la prochaine version majeure dont il a été grandement question à cette JavaOne. La modularité et l'extensibilité en sont les deux caractéristiques principales.

GlassFish v3 TP2.
Tout d'abord la version TP2 (Technology Preview 2) est disponible en téléchargement (21Mo). Il propose un conteneur web pour applications JSP, Servlet, JSF, etc... et de nombreux compléments. Le serveur démarre en une seconde et ses services ne sont démarrés que sur demande. La console d'administration et l'outil de mise à jour sont téléchargés à la volée. Parmi les extensions disponibles on trouve également: EJB 3.1 (en preview), jRuby On Rails (sans packaging WAR nécessaire), Grails (aussi disponible pour GlassFish v2!), Jersey (Rest), Metro (Web Services), et jMaki (Ajax). Les plugins pour NetBeans 6.1 et Eclipse 3.3 sont également disponibles.

v3 en mode OSGi, HK2 ou embarqué.
Le gestionnaire de modules de GlassFish est HK2. Il assure à la fois les notions de modularité mais aussi d'extensibilité (indispensable pour proposer tous les services énumérés ci-dessus). HK2 utilise nativement OSGi (Apache Felix par défaut) tout en rajoutant une notion de référentiel et des services additionnels. Le mode par défaut reste pour l'instant HK2 (plus rapide, plus léger). Les implémentations OSGi Knopflerfish, Felix et Equinox sont toutes utilisables. Enfin, pour les nombreux cas d'usages orientés développeur (tests, outils, etc) GlassFish embedded permet de faire tourner le serveur dans la même JVM. Plus de hiérarchies ou étanchéité de classloaders. Démos à JavaOne d'intégration à Maven et Grails. Jetty est souvent utilisé pour ce genre d'exercice. GlassFish permet donc la même chose mais en proposant les fonctionnalités complètes d'un serveur Java EE 5 (EJB, Web Services, ...).
Trois modes de fonctionnement donc (HK2, OSGi, Embedded) pour un serveur unique.

GlassFish Enterprise + Unlimited.
GlassFish Enterprise fait désormais référence (selon un modèle calqué sur celui de MySQL) à la version commerciale et supportée du produit (anciennement Sun Java System Application Server). GlassFish unlimited est un mode de vente du produit basé sur le nombre d'employés dans l'entreprise. Le modèle plus classique est un abonnement (support, mises à jours) indexé sur le nombre de processeurs.

GlassFish Partner program.
En moins de deux semaines (beaucoup se fait au dernier moment avant JavaOne ;-), le nombre de partenaires GlassFish éditeurs de logiciels est aujourd'hui de 35, avant même l'annonce officielle du programme. On y retrouve Terracotta, ICEFaces, G2One, Nuxeo, XWiki, SpringSource, Zeus, etc... La demande est également forte pour un programme de partenariat similaire visant les intégrateurs et consultants. C'est l'affaire de quelques mois probablement.

GlassFish ESB.
GlassFish ESB est le nom de la communauté et du projet qui succède à OpenESB, le bus JBI qui intègre nombre de moteurs d'exécution (BPEL, JavaEE, ...) et de connecteurs (Fichier, FTP, HTTP, SOAP, etc.). L'architecture de ce produit s'appuie sans surprise sur JBI, GlassFish v3 et OSGi.

GlassFish Portal et Liferay (WebSynergy).
Il s'agit de l'annonce d'une collaboration technologique il y a 6 mois déjà entre les communautés Liferay (50 000 téléchargements par mois) et OpenPortal désormais regroupées sous le nom de WebSynergy. Mariage des standards (Portlet 2.0, WSRP), de la sécurité (OpenSSO), des widgets développés dans plusieurs langages (Java, PHP, Ruby), et du workflow (Liferay). Basé sur GlassFish v2 aujourd'hui, v3 plus tard. Téléchargements disponibles aujourd'hui à l'adresse : http://glassfish.org/portal (110 Mb). Les deux sociétés collaborent sur le même projet pour en dériver chacun une offre qui lui est propre.

Sun GlassFish Communications Server.
Sailfin, l'extension SIP de GlassFish développée avec Ericsson a désormais un nom commercial: Sun GlassFish Communications Server. La beta est pour bientôt, dès que SIPServlet 1.1 (JSR 289) est finalisé.

RDV à Tours, Bruxelles, Vienne, Zurich, Mont de Marsan, pour plus de GlassFish.

( mai 09 2008, 12:08:16 AM CEST ) Permalink Comments [2]

20080504 dimanche mai 04, 2008

GlassFish unconference - TODAY, SUNDAY

The unconference is today, Sunday 4th May @ 3pm in the Moscone center
So far here are the most commonly requested topics:
• GlassFish v3 and OSGi
• Java EE (many spec leads around)
• Comet (very high in the list)
• GlassFish Scripting
• OpenESB / JBI
• Community
• Migration from other products
• Production Stories

Now, this isn't a final set of topics, whoever comes (you can still sign up or just show up) will decide on the final agenda.
Should be fun!

( mai 04 2008, 03:58:00 PM CEST ) Permalink Comments [0]

20080501 jeudi mai 01, 2008

Any announcements left for JavaOne?

It really seems that this year, announcements are happening before JavaOne.
Here's what I have so far (I'm sure I missed some, adding as we go):
GlassFish v3 does OSGi
NetBeans 6.1 released
Spring Application Platform
Java 6 on the Mac (late, but still faster than JBoss on Java EE 5 ;)
OpenJDK 6 in Fedora and Ubuntu
Embedded GlassFish
XWikiWorkspaces

Hum, I'm wondering if they were all planned long in advance or somehow related one to another...
Anyway, plenty more to come at JavaOne I'm sure. Full speed ahead!

( mai 01 2008, 06:49:59 PM CEST ) Permalink Comments [4]

20080429 mardi avril 29, 2008

GlassFish v3 dans ma poche

Dis monsieur, ça sert à quoi un serveur Java embarquable? Ben, à ça par exemple:


GlassFish glassfish = new GlassFish();
glassfish.minimallyConfigure(8080);

GFApplication app = glassfish.deploy(new File("mon_appli.war"));

...
app.undeploy();
glassfish.stop();

Kohsuke vous en dit plus.

( avr. 29 2008, 08:06:00 AM CEST ) Permalink Comments [2]

20080423 mercredi avril 23, 2008

Quick GlassFish unconference update

I've had people tell me the GlassFish unconference sounds like for core community members only. If you look at the registration page we indeed have a full house of GlassFish engineers (thanks all for signing up!), but clearly if you use GlassFish or intend to in any way, you should get something out of the discussions there.

The content will be driven by the people that show up and this is not a death-by-powepoint gathering. Sun people are there to listen, share, and discuss, not present. Remember, NO SLIDES (very short demos are acceptable)!

v3, scripting, Rest, ESB, real-life experiences, and migration seem to be the hotest topics so far.

( avr. 23 2008, 09:43:57 AM CEST ) Permalink Comments [1]

20080417 jeudi avril 17, 2008

GlassFish unconference planning Wiki page now open to all

Ok, so I've created a Wiki page on wikis.sun.com to plan the attendance and content of our May 4th Moscone GlassFish unconference. It should be editable by all (not just me or Sun employees), so please add yourself if you're interested in participating: http://wikis.sun.com/display/GFunconfSF08/GlassFish+unconference+planning

( avr. 17 2008, 06:18:59 PM CEST ) Permalink Comments [0]

20080411 vendredi avril 11, 2008

GlassFish un-conference on May 4th 2008 (Pre-JavaOne)

I've sent the following to the "advocacy" alias of the GlassFish community, but thought people could also read and comment here:

Hi all,
We're lucky to have access to a room in the Moscone Center on the Sunday before CommunityOne/JavaOne (May 4th) and would like to take this opportunity to run an un-conference with the GlassFish community.

I'd love to get your feedback on our current thinking:
- Parallel sessions with content based on the people who show up and their interest
- Sessions are discussions much more than they are formal presentations but we do need a leader for each
- My job would be to track/secure at minimum set of people able to run such sessions.
- Event starting around (no earlier than) 3pm
- Total event time would about 3 hours starting with a 30-minute agenda planning session.
- Potential topics based on early discussion and people who've said to be likely in town on the Sunday:
    - scaling & clustering techniques (different approaches, real-life usage)
    - making money with GlassFish, how can Sun help (partner program, co-marketing, ...)
    - teaching Java EE 5 with GlassFish
    - packaging technologies (which one to use when)
    - real-life GlassFish experiences
    - dynamic languages for GlassFish v2, v3
    - GlassFish v3 architecture
    - community and GAP (how to grow the community, status on GAP)
    - performance
    - JSF, Ajax, Web 2.0 marketplace
    - [your choice here]
- The number of // tracks would depend on the number of people showing up (no point in having 2-people session).
- One-hour session should probably be the default

Some technical details/constraints :
- Room set up with a bunch of round tables
- Power and network connectivity provided
- No beamer/projector

If there's enough interest, we could also try to have a "GlassFish porting fest" with people working/hacking on GlassFish and their application throughout the event in a dedicated part of the room

PS: I hear talks about a party at the end of that day (Sunday), but this may just be rumors ;)

( avr. 11 2008, 04:43:09 PM CEST ) Permalink Comments [1]

20080402 mercredi avril 02, 2008

EMEA TechTalk on GlassFish et NetBeans

Starting now.
Update: about 100 attendees and something like 120 questions. Thanks to everyone who showed up! Transcript to follow.

( avr. 02 2008, 04:21:00 PM CEST ) Permalink Comments [0]

20080331 lundi mars 31, 2008

GlassFish progress in Europe in 12 months

This is built on the usage of the GlassFish admin console use between Feb. 2007 and Feb. 2008. Some people don't use it (tools integration, CLI), others will not get the "live" page (proxy not set, firewall, no connectivity, ...). What matters is order of magnitude and relative progress.

Total hits (27x) :

Total monthly hits (8x) :

Unique IPs (14x) :

Unique monthly IPs (3x) :

( mars 31 2008, 07:10:00 AM CEST ) Permalink Comments [0]

20080330 dimanche mars 30, 2008

SDPY - BEA, Oracle, Java EE 5, Matisse, and GlassFish

A year ago, BEA was joining the Java EE 5 parade.
• Interesting one-year-old read given the BEA acquisition by Oracle (and thus the future of Oracle's appserver) and the progress GlassFish has made in 12 months compared to others.
• I've only been using GlassFish for about 2 years (in its current incarnation). Seems longer than that.
• Three years ago, I was hinting at what NetBeans Matisse could look like. It turned out to be a killer feature.

( mars 30 2008, 10:44:00 PM CEST ) Permalink Comments [0]

20080327 jeudi mars 27, 2008

Sun AppServer (GlassFish) / MySQL bundle now available

It's only been a few weeks since Sun announced the close of the MySQL AB acquisition (which really didn't take long) and we now have a bundle of Sun Application Server 9.1 (GlassFish v2) together with MySQL.

The full distro is less than 150 MB (double that once installed on disk). It includes the open source GlassFish v2ur1 app server (Sun App Server 9.1ur1), MySQL Community Server 5.0 and of course the MySQL JDBC driver (version 5.1.16). You can get the bits off of HERE. They are available for Solaris, Linux, Windows, and Mac. Check out the "Installing Application Server 9.1 Update 1 with MySQL Community Server" documentation, the Release Notes, and Sathyan's entry and sample application.

The database default "SMALL" install option corresponds to a system using 64 MB memory or less (typically a developer platform).

Once installed (interactive and silent installs available), the application server can be started using this simple command (or simply during the install process) :
% INSTALL_HOME/bin/asadmin start-domain
The application server documentation is here.

... it takes the following few set of commands (documented here) to get MySQL going :
% sh INSTALL_HOME/mysql/scripts/mysql_install_db (to initialize the grant tables)
% INSTALL_HOME/mysql/bin/mysqladmin -u root password 'new-password'
% INSTALL_HOME/mysql/bin/safe_mysqld [--defaults-file=install-dir/mysql/mysql.ini --user=root] &
The mysql.ini config. file is located in INSTALL_HOME/mysql.
To find more information on working with MySQL: Getting Started, Full Documentation.

Creating a connection pool to the MySQL DB using the web console is pretty simple (command-line equivalent is % asadmin create-jdbc-connection-pool ...):

No separate JDBC driver to install :

Testing the connection is always worthwhile (command-line equivalent is % asadmin ping-connection-pool ...) :

Support for Sun Application Server/GlassFish starts at $4500 for 4 sockets while unlimited supports calls for MySQL Enterprise starts at $1999 per server. Access to patches (sustaining branch) is included in both support plans.

I have very regular discussions with GlassFish clients, system integrators, ISVs, and OEMs and the most common question (a fairly valid one too) I've been getting is this - "Great product experience and great roadmap, but how serious are you about this Open Source model?". Needless to say that I haven't heard the question since the MySQL acquisition.

( mars 27 2008, 09:42:00 AM CET ) Permalink Comments [4]

MySQL et GlassFish dans un bateau

Sun a donc récemment conclu le rachat de MySQL AB (à peine plus d'un mois après l'annonce du rachat). C'est maintenant le tour d'une distribution qui intègre GlassFish et MySQL d'être mise en ligne.

La distribution complète fait moins de 150 Mo (le double sur disque) et intègre le serveur d'applications Java EE Open Source GlassFish v2ur1 (Sun App Server 9.1ur1), MySQL Community Server 5.0 et bien entendu le pilote JDBC MySQL (version 5.1.16). Cette distribution est disponible ICI et s'adresse aux plate-formes Solaris, Linux, Windows et Mac. La documentation "Installing Application Server 9.1 Update 1 with MySQL Community Server" et les Release Notes sont disponibles. Le blog de Sathyan discute également d'une application de test.

L'option par défaut "SMALL" pour la base de données lors de l'installation correspond à 64 Mo ou moins (clairement une plate-forme de développement).

Une fois le tout installé (installations interactive ou silencieuse), le serveur d'application est démarré de la manière suivante (démarrage possible également dans l'installeur) :
% INSTALL_HOME/bin/asadmin start-domain
Le reste de la documentation du serveur d'application est ici.

... et MySQL nécessite l'exécution de ces quelques commandes (documentées ici):
% sh INSTALL_HOME/mysql/scripts/mysql_install_db
% INSTALL_HOME/mysql/bin/mysqladmin -u root password 'new-password'
% INSTALL_HOME/mysql/bin/safe_mysqld [--defaults-file=install-dir/mysql/mysql.ini --user=root] &
Le fichier de configuration mysql.ini se trouve dans le répertoire INSTALL_HOME/mysql. Pour prendre MySQL en main: Getting started, Documentation.

La création d'un pool de connexion vers MySQL avec la console graphique est alors simple (équivalent ligne de commande: % asadmin create-jdbc-connection-pool ...) :

Le driver JDBC n'est pas à installer séparément :

Tester la connexion, ça sert toujours (équivalent ligne de commande: % asadmin ping-connection-pool ...) :

Le support de GlassFish v2 (SJS AppServer 9.1) commence à 3500 euros pour 4 sockets et celui de MySQL Enterprise à 1599 euros par serveur pour un nombre d'appels illimités au support. L'accès aux patches est bien entendu intégré dans ces deux offres.

Mes discussions avec des utilisateurs (client, intégrateurs, éditeurs ou OEM) de GlassFish sont très réguliers et la question (somme toute raisonnable) qui revient le plus souvent était jusque là: "l'expérience avec la produit est très bonne, mais êtes-vous sérieux avec cette stratégie de support de produits Open Source?". Je n'ai plus eu droit à cette question depuis le rachat de MySQL.

( mars 27 2008, 09:28:29 AM CET ) Permalink Comments [0]

GlassFish and Metro Web Services now available to Microsoft Technology Centers

I've been working with Microsoft field engineers to demonstrate Web Services interoperability for a little while now. Some of it for customers, but also for conferences from both companies.

I'm happy to report now that the GlassFish application server, its Metro Web Services technology, and its NetBeans tooling are all now available in the Paris Microsoft Technology Center.

Microsoft customers interested in Web Services interoperability now can kick the tyres of a .Net/WCF + Java EE/GlassFish combinaison with WS-Addressing, MTOM/XOP, WS-Policy, WS-ReliableMessaging, WS-Security, WS-Trust, and WS-SecrureConversation (full list) before they use it in their architectures.

Thanks to Stéphane for his support (and the Tango photograph!). Let's hope the word spreads to more MTC's around the world.

( mars 27 2008, 12:08:09 AM CET ) Permalink Comments [0]

20080320 jeudi mars 20, 2008

Sun Net Talk européen sur GlassFish et NetBeans

Un chat est organisé ce mercredi 2 avril à 16h30 (heure de Paris) autour de NetBeans et GlassFish. Détails ici.
Ce sera une première en ce qui me concerne, avec en plus la plaisir de faire ça depuis l'étranger.

Avec la réunion MySQL à 18h00, votre fin journée du 2 avril est donc toute organisée!

( mars 20 2008, 06:08:00 AM CET ) Permalink Comments [0]

20080309 dimanche mars 09, 2008

Wotif.com, a good GlassFish experience (available as audio podcast)

Greg Luck, Wotif.com's Chief Architect has a GlassFish case-study available as the latest GlassFish Podcast episode.

A gentleman at the end asks a question about whether this was truly a successful GlassFish experience for Wotif.com given the issues faced before going into production. Having been in sales for the past 7 years and still pretty involved, I think that this certainly qualifies as a good experience but you probably need to listen to the podcast and to Greg's answer to this question.

If you haven't heard of Wotif.com, they're the largest hotel booking site in Australia, and growing.

( mars 09 2008, 12:01:05 PM CET ) Permalink Comments [0]


Join us at CommunityOne
ALT DESCR
Tags
Links