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

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]


Join us at CommunityOne
ALT DESCR
Tags
Links