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

20080521 mercredi mai 21, 2008

Sun Presenter Console (Presenter Screen) for OpenOffice in beta

The presenter console for OpenOffice.org is available. Enable this simply by using multiple monitors.

Very slick! Now I need to used it during a real presentation.
Will do in 24 hours.

( mai 21 2008, 05:22:06 PM CEST ) Permalink Comments [0]

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 Comments [0]

20080519 lundi mai 19, 2008

Patrick Curran (JCP) au ParisJUG ce mercredi

Patrick Curran (Chair Java Community Process) est au ParisJUG ce mercredi (le 21). Patrick est un bon orateur, mais il a surtout besoin de votre participation sur l'évolution du JCP. Inscriptions ici.

( mai 19 2008, 12:33:03 PM CEST ) Permalink Comments [0]

20080516 vendredi mai 16, 2008

GlassFish unconference post-mortem

The GlassFish Unconference was success I believe. Several people commented positively on the format and the interaction it enabled ([1], [2]). We had about 100 participants (more than people registering on the wiki). Thanks all for showing up and being an interactive crowd!

Clearly we also learned a few things including that with this number of people (particularly in the first round), the crowd/noise combinaison made it very hard to follow the discussion for many.

A total of 10 topics in 4x45-minute sessions with 3 parallel tracks for a total of more than 3 hours is a bit long (but then it was good exercice for JavaOne and the party was a very nice conclusion to that day).

Also, I think we (I, really) could have done a better job at introducing each topics and some key participants (but then it's kinda nice to be able to provide feedback with no reserve whatsoever ;).

Anything else we should improve?

Unconference photos from Arun, Anil, and Paul.

( mai 16 2008, 12:46:34 PM CEST ) Permalink Comments [0]

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]

20080502 vendredi mai 02, 2008

VirtualBox 1.6 with Solaris and Mac love

VirtualBox 1.6 is out. Check out this blog for the details.
Clearly the Solaris Guest Additions and the MacOS support are big additions.
I also need to check the new Web Services support will JAX-WS/Metro.

( mai 02 2008, 08:58:11 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]

Bike the bridge this Sunday

FYI, this coming Sunday morning, a bunch of Europeans are going for a "Bike the Bridge" tour right before the GlassFish un-conference.

I wasn't sure I emailed everyone so this is a reminder to a broader audience.
Meeting is at 9:30am at Fisherman's Wharf. Send me an email or leave a message if you'd like to join.

Oh, and if you're a local, you can join too, some people just felt it was too much of a tourist thing to do ;)

( mai 01 2008, 12:27:44 AM CEST ) Permalink Comments [0]

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]

20080428 lundi avril 28, 2008

A Tours le 14 mai 2008

JavaOne c'est la semaine prochaine et le compte-rendu de ce qu'il se sera dit c'est à Tours au "Toursjug" le 14 mai 2008 à 19h (avec un peu de GlassFish au passage).

( avr. 28 2008, 09:44:13 PM CEST ) Permalink Comments [0]

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]

20080416 mercredi avril 16, 2008

Long time no meme

Let's see, does that say anything about me?

$  history|awk '{a[$2]++} END{for(i in a){printf "%5d\t%s \n",a[i],i}}'|sort -rn|head
   95   cd 
   88   bin/asadmin 
   78   ls 
   39   java 
   27   pwd 
   19   curl 
   16   cat 
   11   more 
    9   clear 
    8   bin/asmigrate.sh 

Well clear is really for demos.... asadmin and asmigrate are GlassFish commands.

( avr. 16 2008, 12:22:37 AM CEST ) Permalink Comments [1]

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]

Tags
Links