mardi févr. 01, 2011

Developing Web Applications with Java EE 6 Webinar - Replay and Q&A transcript

The third webinar of the GlassFish Webinar Series aired Thursday last week and we had a good turnout with only limited technical problems (!).

I was presenting on "Building a Web Application with Java EE 6" and the replay is now available from the GlassFish YouTube Channel with the Q&A transcript now posted as well.

The webinar covered some basics for JSF 2.0, JAX-RS 1.1, and CDI 1.0. It is really close to the Java EE 6 Hands-On Lab delivered at JavaOne SF, Sao Paulo, Beijing and other places. The source code is on with a detailed guide.

Upcoming webinars are announced on

lundi nov. 22, 2010

Couple of recent but important news you might have missed

• Java SE 7/8 platform and language JSRs have been filed ! (for some background information, check out "how to read a JSR" and "Majority or 2/3rds?").

• Release of NetBeans 7 Beta, with JDK 7 language construct support (and hints!) and a lot more. This beta version ships with GlassFish 3.1 build 29.

jeudi nov. 11, 2010

Random (but useful) News - 2010/11/11

GlassFish Podcast on Play! to celebrate their 1.1 release and their GlassFish container.
• First patch release for GlassFish 3.0.1. This is for paying Oracle GlassFish Server customers. Others will get the fixes as part of 3.1.
• Details on CDI/Weld in the upcoming GlassFish 3.1 release. Hoping memory and performance issues are all behind us.
Oracle JVM strategy clarification. Best quote: "We estimate that the contribution of code from JRockit into OpenJDK will be one of the largest - if not the largest - single contributions to the project since its inception."
• Get The Facts: MySQL Licensing and Pricing. Community Edition still free+GPL+InnoDB.
JDK 7 Support in NetBeans IDE 7.0. Ok, when do I find the time to try this all out?

and last but certainly not least :
Apple Joins OpenJDK!, (with some details from an Apple engineer).

mercredi juin 16, 2010

NetBeans 6.9 is here

This blog has moved to
Follow the link for the most up-to-date version of this blog entry.

NetBeans 6.9 final is now out!

This is the first release under the new Oracle era.
It has a good number of new features for an n+1 dot release. OSGi support and enhanced Java EE 6 (including web services) are the ones that make most sense from where I stand.

For a quick 5-minute overview, check out this nice screencast.

If you're interested in the CDI-related updates, check out the screencasts previously listed on this Aquarium post.

Browsing through the NetBeans website I'm reminded how much I envy their graphics guys ;)

jeudi avr. 22, 2010

GlassFish GeoMap update (March 2010) and NetBeans 6.9 beta

Two new posts today on TheAquarium -
Latest GeoMap shows increased GlassFish usage
NetBeans 6.9 beta available

jeudi déc. 03, 2009

Screencast - Lombok meets NetBeans (and Java EE)

If you haven't heard of Lombok, check out the short screencast on the project's home page and decide for yourself if this is brilliant, an ugly workaround for the lack of properties in the language or just useful...

Lombok creator Reinier announced that Jan Lahoda had just done most of the work to integrate it with NetBeans. You'll need NetBeans 6.8 RC1 and above and these Lombok bits.

I quickly put together the following 5-min screencast to show it in action in the context of a Java EE 6 web application. This use-case (I'm sure you can think of others in Java EE land) shows a JSF 2.0 page (using facelets) with code completion for properties that are Lombok-provided (there are no getters/setters in the managed bean). Unfortunately I forgot to bump up the font size so it might be a little hard to read. Hopefully the audio will help you follow the progress.

The 15MB offline version (m4v) is available here.

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

dimanche févr. 01, 2009

Tutoriel Java EE avec NetBeans et GlassFish sur

A part l'usage de JEE par endroits au lieu de Java EE (casquette Sun oblige), je ne vois pas quoi reprocher à ce nouveau tutoriel de Serge Tahé: "Construire un service web Java EE avec Netbeans 6.5 et le serveur Glassfish". Très didactique.

mardi janv. 27, 2009

"Sun University Day" à Paris le 5 février 2009

Si vous êtes étudiant et sur Paris le 5 février après-midi, Sun organise un "Sun University Day” dans son Customer Briefing Center au 42, avenue d'Iéna (Paris 16).

Le format est de type "portes ouvertes" avec de nombreux stands sur les technologies Sun: GlassFish, NetBeans, OpenESB, MySQL, OpenDS, VirtualBox, OpenSolaris, JavaFX, Java temps réel, et SunSPOT. Les animateurs des stands sont des experts de tous ces domaines, certains venant du centre de R&D de Grenoble. On y trouvera aussi des présentations des programmes pour étudiants et de partenariat avec les écoles d'ingénieurs et universités.

Entré libre (mais inscription nécessaire: à partir de 13 heures.

mercredi nov. 19, 2008

NetBeans 6.5 ou le grand écart entre Java EE et PHP

Les mois et les années passent et les versions de NetBeans apportent régulièrement leur lot de nouvelles fonctionnalités et d'amélioration de l'existant. Le tout avec un périmètre fonctionnel impressionnant. Les tchèques (l'essentiel de l'équipe NetBeans est à Prague) sont de redoutables ingénieurs.

NetBeans 6.5

Vu de ma fenêtre GlassFish j'apprécie beaucoup la compilation incrémentale et le déploiement instantané qui, completé par la préservation de sessions dans GlassFish v3 (lors de re-déploiements), donnent un paradigme de développement sauvegarde/rechargement très séduisant. Plus de compilation, de packaging, de déploiement explicites et autres redémarrages.

Le support Groovy et Grails est désormais intégré dans l'outils (là aussi le support Grails de GlassFish v3 est un bon complément), laissant ainsi Eclipse à la traine dans ce domaine en attendant les améliorations annoncées lors du rachat de G2One par SpringSource. La concurrence n'a (presque) que du bon.

Le support de Spring, Hibernate est amélioré, ainsi que la gestion de MySQL. Si on rajoute à ce dernier un support très abouti de PHP (refactoring, debug, ...), le bundle PHP de 24 Mb devrait en intéresser plus d'un. Le debug JavaScript coté client est une autre petite touche sympathique.

Enfin, vous avez aimé le support de JRuby, C/C++, JavaScript, Groovy, PHP, voici maintenant Python en Early access.

jeudi oct. 30, 2008

Merci à Jérémie, le portail (que je ne mettais plus à jour depuis des mois) ressemble enfin à quelque chose :



lundi oct. 20, 2008

Bon anniversaire NetBeans!

NetBeans a 10 ans! J'ai commencé avec la v3.5.1. Que ça parait loin, très loin!

10 years logo

NetBeans 6.5 RC (Release Candidate) très (très) bientôt à priori.

vendredi août 22, 2008

SDPY - NetBeans 4.0, Java Kernel

August 22nd is often prolific on this blog it seems.

Is JavaBE justified? (2006)
Java 6 Update 10 is now in RC. I was quite skeptical of the ability to bring down the size of the download (people were talking about a 1Mb installer...). Two years later, the full installer is expected to be around 11Mb and less than 4Mb for the kernel installer. That's a pretty good result given how intertwined the JRE classes are and compared to AIR or even Silverlight (ok, Flash is still doing great in that respect).

NetBeans 4.0 beta is out! (2004)
NetBeans 4.0 was the start of the NetBeans re-birth. It brought a new ANT-based system, had full support for Java 5 (funny to read the comment about Eclipse also "supporting Java 5, except for annotations" ;-), a new windowing system, etc... Clearly Matisse, the profiler, the new editor infrastructure, the regularly enhanced support for Java EE development and the support for scripting languages made it only better over time. It did take four years though...

I'm moving from the (NetBeans) GlassFish development server to a production server and my application won't run! Help!

This blog has moved to
Follow the link for the most up-to-date version of this blog entry.

I've recently seen a flurry of people moving to production GlassFish servers coming from a NetBeans development environment so I thought I'd write down in this post what I've been replying on the various mailing lists and forums.

NetBeans auto-magically creates all the resources required in the GlassFish runtime (JNDI resources, connexion pools, and other configuration), so directly deploying an application (.war, .ear artifacts) in a newly-installed GlassFish instance will most likely fail because the resources the application replies on are not present. To fix this you have several options:

1/ add the remote production GlassFish server to the list of NetBeans servers. The trick is that you first need to point NetBeans to a local install and later describe the remote server with IP and Port number.

2/ use the GLASSFISH_HOME/bin/asupgrade tool to inject all the applications/resources/configuration from a source to the production target. Note this tool can work across multiple version of GlassFish and migrates things like security stores, virtual servers, etc... If using strictly the same bits (same version of GlassFish) in development and production, you could also probably use GLASSFISH_HOME/bin/asadmin backup-domain and the GLASSFISH_HOME/bin/asadmin restore-domain commands.

3/ re-create all the resources using either the CLI (asadmin) or the GUI (http://localhost:4848). For Make sure you can ping the database when creating connection pools.

% bin/asadmin create-jdbc
Closest matching command(s): 

All of this (deployed applications, JNDI resources, virtual hosts, and configuration) is stored in GLASSFISH_HOME/domains/domain1/conf/domain.xml. You shouldn't edit this by hand but it may be useful for troubleshooting and diff'ing the development and production environments..

Update : Peter Williams suggests a fourth way using sun-resources.xml .


This blog has moved

Alexis Moussine-Pouchkine's Weblog

GlassFish - Stay Connected


« avril 2014

No bookmarks in folder


No bookmarks in folder