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

20080521 mercredi mai 21, 2008

GlassFish @ St Petersburg, the Q&A

This is a very long overdue post on my trip to the Sun TechDays in Saint Petersburg, Russia.

This was my second trip after last year's event. This one was in a bigger place (a sports/events stadium) and it seemed even more energetic than the previous one. Just like last year I could have some conversations in Russian, but I presented in English (I just don't have the vocabulary and didn't want to have people remember my talk for how funny my Russian was).

Here is a list of the questions (and answers) from this conference :

Q: On which OS does GlassFish has the best performance?
A: On the best JVM/Operating System combinaison. The tuning maybe a little different depending on the HW architecture and the GlassFish Performance Tuning Guide may come in handy.

Q: Do you have a performance comparaison vs. JBoss?
A: Well, we compare ourselves with other application servers using the SPECjAppServer benchmark. JBoss has not published any results but we believe we are substantially faster.

Q: Do you have a feature comparison to WebSphere (not CE)?
A: You may have heard the GlassFish is "WebLogic features at JBoss price". Well you could also use WebSphere in this case (except it doesn't support Java EE 5 yet). One feature we don't currently have is Administration RBAC. This is coming in GlassFish v3. Also if you have dependencies on IBM software or hardware, GlassFish may not be able to fullfil them. Having said this, AIX is a supported platform for GlassFish.

Q: Can JAX-WS RI be used in other App Servers? What about WSIT?
A: Metro is GlassFish's one-stop-shop for Web Services and, yes, it can be used in other application servers. The most common cases are Tomcat and JBoss, but also WebSphere. Note that Weblogic 10 already integrated the Web Services stack from GlassFish (albeit an older version, and without WSIT).

Q: Can you do TX with Web Services?
A: Yes! It's all part of Metro which implements Web Services-AtomicTransactions (WS-AT) and Web Services-Coordination (WS-Coordination). Check out this link.

Q: How to set up thread pool and connection pool?
A: You can do this either with the graphical console or the command-line (asadmin). The GlassFish documentation is your best friend!

Q: How can I make my bread on GlassFish (earn money)?
A: We want you to be successful with the technology and us as a result of that! We recently launched an ISV partner program. Expect certification and integrator programs to follow-up soon.

Q: What advantages GlassFish has? (for instance comparatively with Jboss)
A: Administration tools (GUI, CLI, JMX) are clearly a differentiator vs. other open source products. Performance (see our SPECjAppServer results). GlassFish is currently in its second implementation of a fully-compliant Java EE 5 product. Documentation is rich and still improving. Clustering is out of the box and fairly painless to configure. The Web Services stack (Metro) is a simple yet powerful one-stop-shop for everything Web Services (including Microsoft interop on advanced web services). GlassFish's OpenMQ JMS implementation is probably its best kept secret. It's high quality with great performance and comes with HA features.

Q: Hibernate and TopLink have extra-functionality than JPA. Would be features of TopLink and Hibernate ported into JPA?
A: I would encourage you to look into JPA 2.0. It adds many of the popular features from those two products such as criteria. The reference implementation for JPA 2.0 will be EclipseLink and as such integrated into GlassFish v3.

Q: I have memory leaks with GlassFish. On the application server only simple JavaServer Faces page is deployed. How can I file a bug? Where would be better to ask about possible workaround?
A: We've fixed bugs in earlier 1.x releases and there is no known leak in the current versions. I would encourage you to update to a recent version (v2ur2 is the latest as of this writing) if you are not there already. Having a support contract (see benefits) is clearly your best chance to solve the problem fast. It can provide patches for such issues without forcing you to upgrade for instance. You can also file bugs here

Q: Who have used GlassFish for business?
A: Customers listed on the "Stories" blog are all GlassFish production customers. Interesting customers include Wotif.com, the FAA, RTL, TravelMuse, Carrefour, Net Entertainment, 1Sync and more. We have many more using it in production but not everyone is willing to share this information publicly. Having said this we're working hard on publishing more references soon.

Q: Is hot redeploy supported (I do not like to restart server even time to time)
A: Yes, see this documentation. Also, IDE integration (NetBeans, Eclipse) can come in handy.

Q: Is it true, that TomCat is included in GlassFish?
A: Well, while Sun is the original creator of Tomcat, the GlassFish team optimized Tomcat to add things like Grizzly to enhance the performance. Having said this, any application running inside Tomcat (even using Valves) should run unmodified in GlassFish. If it doesn't, make sure to file a bug or share your experience on the GlassFish Forums.

Thank you to Denis Fokin for helping me with this list of questions.

To get a feel for the conference, here's a movie (I'll admit I don't know who put it together, but it looks nice):

( mai 21 2008, 03:33:55 PM CEST ) Permalink

20080303 lundi mars 03, 2008

GlassFish Day Sydney - Last Call

Sun Tech Days Sydney is only a few hours away (just enough for me to fly in actually).

This is also the last call for GlassFish Day this Thursday.

It seems Arun and the Hyderabad attendees put the bar pretty high up, so make sure you don't make me look bad and register ;-) See you there!



( mars 03 2008, 12:16:48 PM CET ) Permalink

20071008 lundi octobre 08, 2007

Sun TechDays Italy presentations are online

...here.

( oct. 08 2007, 02:54:38 PM CEST ) Permalink

20071001 lundi octobre 01, 2007

Back from Milan - GlassFish and Sun Tech Days

I'm back from Milan. Three days with GlassFish Day and Sun Tech Days went by very fast which was to be expected given the agenda.

This was the first time we were having a GlassFish Day as part of the bigger Sun Tech Days event (and the first one outside the US) and I believe this is a good success as of all the ancillary events, only NetBeans had more participants (similar to CommunityOne in San Francisco, back in May). The presentation slides for GlassFish Day are posted here.

The event took place in a hotel in the suburbs of Milan. The first day had heavy rain which seemed to heavily affect traffic in Milan so I was quite pleased with the number of people showing up and staying throughout the afternoon, even with the most annoying fire alarm (when are you supposed to know that it's for real?).

The language barrier was not too much of a problem once t-shirts were promised in exchange of the first questions. From the questions we asked the audience and the survey results, it seems that Tomcat, Spring and Hibernate are heavily used. What was also interesting to learn is that 50% had already used Java EE 5 and that several people were already in production with GlassFish V1.

Here's a list of questions and answers gathered from those few days in Italy:

•  Q: How can I move from Zope/Python to GlassFish/Java?
  A: Most likely a rewrite, but you are not alone! Look at Nuxeo's migration from Zope to Java EE 5 (Update: Nuxeo's Stephane Fermigier is suggesting this presentation)

•  Q: I have a CMS application deployed on many GlassFish V1 domains, can I easily migration to GlassFish V2?
  A: Look at the asupgrade binary in you GlassFish distribution (see also [1] and [2]

•  Q: Can you explain how load-balancing work?
  A: A picture is worth a thousand words. The notion of sticky load-balancing is an important one. See also related documentation.

•  Q: I have an application running on Tomcat 5, how well should it run on GlassFish?
  A: Fairly well. Give it a try and report an problems. GlassFish supports some Tomcat-specific features such as valves too.

•  Q: I have already deployed GlassFish v2 beta2 in production, how can I upgrade to the final version?
  A: Again, the asupgrade binary in you GlassFish distribution is probably a good choice and this online upgrade blog post should also help.

•  Q: We are trying to deploy OpenSSO and OpenDS with a hardware load-balancer. Is there any documentation available?
  A: Maybe this blog post can help. Feel free to email me (alexis.mp@sun.comREMOVE) if you have further specific questions. I'd like to know more about your use of OpenSSO.

•  Q: Do you plan to have content-based message routing in a future version of OpenMQ?
  A: Yes, this is in the roadmap for the next major release.

•  Q: Can I use the clustering features on the Mac?
  A: Yes, the clustering profile is available on the Mac (setup-cluster.xml or upgrade to cluster profile). If you face issues, please file bugs on the issue tracker on GlassFish.

All the TechDays presentations from Milan should be available soon from this page.
Imola's JBI binding components are described and can be downloaded from here: (CORBA, CICS)

Just as a reminder, we are still (always) looking for people willing to be part of our Stories blog. The intent is to share your experience with other GlassFish users. Ideally such exposure should help you as well and in any case we have a thank-you gift for going through the legal/approval process inside your company. We're trying to make this a win-win situation. If you're interested, please send an mail to stories@sun.comREMOVE.

Given for how long I have been reading his prose, chat transcripts and watching his recent SDNtv interviews, it was very nice meeting Ed Ort from the java.sun.com team during those couple of Italian days.

I will not spend a great deal of time bitching on the Hotel service. Others have done this well enough. Let me just say that between the time I started talking to the guy at the front desk and the time I received the key to my room, he answered the phone eleven times (yes, 11)! French service still has ways to go (it's actually making good progress), but the one I had in this hotel is just terrible.

( oct. 01 2007, 05:34:49 PM CEST ) Permalink Comments [2]

20070625 lundi juin 25, 2007

Video des TechDays Paris en ligne

Developpez.com continue son travail de titan pour mettre en ligne les présentations.
Cette fois-ci, TechDays Paris (mars 2007).
Je vous recommande particulièrement (GlassFish & Co. j'imagine que vous en avez eu votre dose...):
•  Technical Demos (en partie en français)
•  Java SE on the Desktop : Extreme GUI Makeover (en français)
•  NetBeans Extreme: Matisse, Profiling, Rich Clients and More
•  Real Time Java (en français)

( juin 25 2007, 07:16:00 AM CEST ) Permalink Comments [2]

20070423 lundi avril 23, 2007

Back from Russia

Sun TechDays in Saint Petersburg were great, lots of energy and quite an attendance.
Here are my presentations :
• Java EE и GlassFish - погружение в Aquarium
• JAX-WS и WSIT: Танцуем танго с .NET

and some photos:


Of course there's much more to Saint Petersburg than just TechDays :)


( avr. 23 2007, 11:58:19 AM CEST ) Permalink Comments [2]

20070411 mercredi avril 11, 2007

Hello from Saint-Peterburg !

I'm still not sure if Saint Petersburg or Paris should be declared the most beautiful city in the World (according to me), but for this week I'll settle for Saint Petersburg where I'm staying for the Sun Tech Days which are starting this Wednesday.

I'll be presenting on GlassFish and JAX-WS + WSIT. Although I do speak some Russian, it's probably not sufficient to give an effective presentation... So just like for my fellow presenters my talk will be translated to Russian.

( avr. 11 2007, 12:40:31 AM CEST ) Permalink Comments [7]

20070403 mardi avril 03, 2007

Premières présentations Sun TechDays

J'avoue ne pas savoir combien de temps cela prendra pour avoir toutes les présentations des Sun TechDays en ligne. Voici donc celles auxquelles j'ai participé :

( avr. 03 2007, 07:07:07 AM CEST ) Permalink

20070317 samedi mars 17, 2007

Sun TechDays Paris, dernière ligne droite

Sur le même principe (le même code en réalité) qu'au mois de juin dernier pour le JavaDay de Versailles, j'ai réalisé une carte des inscrits aux Sun TechDays qui débutent lundi à La Défense (cliquez sur l'image pour obtenir un gif animé).

La carte Google maps n'est pas en ligne directement car il y a cette fois-ci trop d'inscrits et trop de JavaScript pour une seule page (j'ai peut-être mal cherché, mais rien pour n'afficher qu'un marqueur par ville par exemple). Le taux de résolution du service de géo-localisation de Google Maps est cette fois-ci de 99% après correction des fautes de frappes et petit hack pour nos amis britanniques que Royal Mail ne souhaite pas que l'on localise. Au total, il aura fallu 72 minutes pour résoudre toutes les adresses en respectant les règles d'utilisation de ce service Google. La prochaine fois j'utiliserais Yahoo Maps histoire de comparer.

Dans les dernières nouvelles:
•  install parties NetBeans, GlassFish et Solaris
•  accès Wifi gratuit (merci Fon)
•  un iPod à gagner pour ceux qui viendront tôt et un voyage tout frais payés à JavaOne (mai 2007)

Rendez-vous lundi!


( mars 17 2007, 09:00:00 PM CET ) Permalink

20070306 mardi mars 06, 2007

Intervenants Sun Tech Days
L'agenda des TechDays à jour avec les intervenants est en ligne.
Encore quelques additions à venir sous peu...
( mars 06 2007, 12:22:47 AM CET ) Permalink

20070302 vendredi mars 02, 2007

James Gosling et tous les autres en France ce mois-ci

James Gosling le confirme lui-même, il sera là à Paris ce mois-ci pour les Sun Tech Days.

L'événement est gratuit. Christophe vous dit pourquoi y aller. Dans les nouveautés récentes, la participation de l'OSSGTP, de Fon, de Silicon Sentier, Ruby France et de nouveaux sponsors (dont Adobe dont l'actualité technologique est riche). L'agenda sera bientôt mis à jour avec les noms des intervenants (pas mal de francophones) et des événements supplémentaires (essentiellement communautaires).

Pour l'inscription, c'est ici.


( mars 02 2007, 01:38:40 PM CET ) Permalink Comments [3]

20070123 mardi janvier 23, 2007

Inscriptions ouvertes pour les Sun TechDays à Paris

Vous pouvez désormais vous enregistrer pour les Tech Days de Paris, du 19 au 21 Mars 2007 à La Défense. L'agenda préliminaire est ici (Open Solaris Day, NetBeans Day, Java ME, Sun Tech Days, Java University Training). Le tout gratuit.

( janv. 23 2007, 09:52:26 AM CET ) Permalink Comments [1]


GlassFish Podcast
Get GlassFish V3 Preview
Support GlassFish Enterprise

Today's Page Hits: 619




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