dimanche nov. 28, 2010

Screencast - Dynamic OSGi services using CDI and GlassFish 3.1

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

Siva posted a great entry on the use of type-safe injection of dynamic OSGi services as few days ago which was followed by a blog on TheAquarium. There is now a short (4-min) screencast for this :

This demo requires a recent promoted build of GlassFish 3.1.
Check out this wiki page for all things OSGi in GlassFish : http://wikis.sun.com/display/GlassFish/OSGi.

vendredi août 14, 2009

OSGi dans visualvm

Le concours de blog VisualVM m'a fait découvrir le plugin OSGi écrit à par Kiev (doctorant à Grenoble). Ca me plait bien.
Du coup, billets en anglais et en français.

vendredi juin 12, 2009

GlassFish v3 a la carte screencast - Part 2

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

In the first screencast, I installed a minimal GlassFish v3 from a small bootstrap (IPS toolkit), created a domain and started the server. This entry will actually do something useful with GlassFish and two containers: Java Web and Spring.

The Spring DM (OSGi) part of the demo is described in Jerome's GlassFish V3 Extensions, part 3 : Spring, Java EE 6 and OSGi blog entry. In the screencast, the manual install of the Spring bits is replaced by adding a new repository definition (a local one) and installing a single package from there. For the rest, the demo demonstrates how to extend GlassFish without using any GlassFish API and how to invoke an OSGi bundle service without using any OSGi API - the servlet injects the service by name using a standard @Resource annotation. Note that Jerome's most recent blog entry covers OSGi Declarative Services for a somewhat simpler approach.

The screencast was done using the dev/ repository, so your experience may vary as the boundaries of the IPS packages and their dependencies are still being worked. Also, instead of the default Felix console briefly shown, you could use the web console described by Sahoo.

The full-size (and offline) video is available here (15MB, video/x-m4v).
The next screencast will show how one can seamlessly add more GlassFish v3 features to obtain a "full" Java EE application server and still benefit from the modular architecture in terms of pay-as-you-grow (startup time, load-on-demand, memory consumption, ...).

lundi mai 25, 2009

GlassFish @ Java AppServer Day (Genova)

I was lucky to visit Genova last week for the Java AppServer Day organized by the local JUG. I tend to blindly trust the organizers of JUG-initiated events and this event was yet another good reason to keep on doing this.

The event had exactly 100 attendees and the format was 30-minute sessions with a round-table at the end. I went first and focused on GlassFish v3 since this was mostly a developer audience and clearly had no time to also cover the clustering/operations side of GlassFish in half an hour. I did try to do as many demos as possible around startup time, dynamic startup/shutdown of services, Deploy on save in NetBeans, Session preservation across redeploys with a non-trivial application, extending GFv3 with a Spring container (available right from a local update center repository) to demonstrate OSGI-based GlassFish v3 extensibility as detailed in Jerome's latest blog entry.

JBoss' Alessio (Web Services lead) alluded to JBoss 5.1 being very close to being released (and indeed it has been since). Now waiting for the supported version ;) He also mentioned OSGi as being a priority for the next releases. Of course having Oracle in the room made the exercise quite interesting. I met Paolo, an Oracle "veteran" and a likely future colleague :) and got to listen to an Oracle middleware presentation (I hadn't seen one in ages and certainly not since the BEA integration). Paolo focused on the operations side (which arguably WebLogic does fairly well) including Coherence, JRockit and Work Manager. Finally Alef, a SpringSource founder (but no longer an employee) focused on OSGi and dmServer. I think his presentation was more didactic than mine on the OSGi front, but our demos certainly felt very similar.

Thanks to Paolo and the rest of the organizers, this was a great event, I wish I could have stayed a bit longer, the city looks beautiful!

jeudi nov. 06, 2008

GlassFish v3 Prelude redéfinit le serveur léger

GlassFish Logo Quelle est votre définition d'un serveur léger? Un serveur qui ne fait pas d'EJB?
GlassFish v3 "Prelude" est désormais disponible et pourrait bien changer ce qu'on entend par "léger".

GlassFish v3 "Prelude" est standard et extensible (OSGi, HK2, Grizzly), propose un excellent temps de démarrage, le maintient de sessions entre redéploiements, un update center, un outillage (y compris pour Eclipse), une API "Embedded", et une large documentation.

Cette version tire son doux nom de "Prelude" du fait qu'elle anticipe la sortie l'année prochaine d'un version complète (conteneur EJB, clustering, etc...) et conforme Java EE 6. Pour comparer v3 Prelude à v2, c'est par ici.

Parmi les technologies disponibles sur l' "Update Center" (bin/updatetool ou simplement dans la console d'admin): on trouve JAX-RS 1.0 (version finale), Servlet 3.0, EJB 3.1, jRuby on Rails, et Groovy/Grails. GlassFish v3 Prelude est supporté en production pour les titulaires d'un abonnement GlassFish v2 Enterprise. Une offre dédié à "Prelude" existe également.

Il sera question de GlassFish v3 prelude la semaine prochaine à la conférence Open Source eXchange.

About

This blog has moved

Alexis Moussine-Pouchkine's Weblog

GlassFish - Stay Connected

Search

Archives
« avril 2014
lun.mar.mer.jeu.ven.sam.dim.
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today
Blogroll

No bookmarks in folder

News

No bookmarks in folder