SpringSource mette in campo un nuovo Application Server
SpringSource, l'azienda che più di ogni altra reppresenta il clamore derivante dalla commercializzazione del Framework Spring, ha presentato il suo nuovo Application Server, denominato SpringSource Application Platform, e disponibile al momento unicamente in beta release.
Quest'ultimo ha come principale caratteristica quella di basarsi sullo SpringSource Dynamic Module Kernel™, un backbone kernel derivato da Eclipse Equinox e Apache Tomcat.
E' importante sottolineare che SpringSource Application Platform non è un Java EE Application Server: non è infatti dotato di implentazioni EJB; e men che meno supporta il deploy degli EAR. La piattaforma ha piuttosto l'ambizioso obbiettivo di rappresentare l'attuale "stato dell'arte" della modularizzazione, un traguardo suggellato dall'enfasi con cui i suoi creatori descrivono, a onor del vero senza troppo parafrasare, la possibilità di assegnare ad ogni singolo modulo applicativo una sorta di personality, liberamente selezionabile tra le tante messe a disposizione:
"...In the 1.0 Platform release we support the web and bundle personalities, which enable you to build sophisticated web applications."
A chiudere il cerchio troviamo quindi la capacità, da parte della piattaforma, di comprendere la personality di ciascun modulo, estrapolando da questa il cosiddetto module's execution environment, ovvero l'infrastruttura più congeniale all'esecuzione del modulo stesso.
In basso, lo schema architetturale della piattaforma.

| Fonti |
|---|
| The Spring Source |
| The Server Side |
| InfoQ |
| Spring Blog |
Intervista a Rod Johnson
Segnalo l'intervista a Rod Johnson su SpringSource Application Platform: http://java.dzone.com/news/interview-rod-johnson-springso
Che scocciatura!
Ho cercato di effettuare il download del nuovo prodotto, pero' devo ammettere che e' davvero seccante registrarsi al beta program: sono queste le cose che mi fanno passare l'entusiasmo per i progetti che inizialmente reputavo davvero innovativi!
Che ne pensate?
Alcune considerazioni
E' un tema apertissimo, a tal punto che credo potremmo parlare per ore senza tuttavia arrivare ad una conclusione. Detto questo, faccio subito una doverosa premessa: pur avendo letto avidamente i libri di Rod Johnson, e ritenendone tuttora rivoluzionarie le idee, non sono un utilizzatore di Spring. Anzi, la mia asperienza è costellata di progetti nei quali Spring è stato prima valutato, poi parzialmente utilizzato, ed infine sostituito con altre tecnologie. Sono quindi l'ultima persona che può arroccarsi il diritto di muovere delle critiche alla creatura del grande Rod (http://www.javapolis.com/confluence/display/JP04/Rod+Johnson).
Mi piace però osservare l'evoluzione del mercato, e ritengo un privilegio quello di assermi occupato di Java Enterprise negli anni in cui la piattaforma ha subito una profonda e radicale metamorfosi.
Valutiamo le affermazioni che lo stesso Johnson ha rilasciato in una recente intervista. Riporto prima quelle che mi sembrano più condivisibili:
Q: "It's been reported as being a new application server without Java EE."
A: "Well, that's probably not the best categorization. It certainly is a server without traditional Java EE. We're not interested in implementing Java EE 5, although it is very likely that we'll implement the Java EE 6 profiles. We're not in opposition to Java EE, but the current version of Java EE does not satisfy the needs of our customers. However, note that we are on the Java EE expert group."
Q: "What are the main benefits of your offering in this area?"
A: ".....the Java EE web-inf folder is unversioned and messy. It has problems with dependencies and potential duplications, on top of which there is no portable way of sharing dependencies at all. These complexities were simply not envisioned by Java EE. "
E poi quelle non pienamente condivisibili:
Q: "Where do you see these SpringSource developments in relation to the JCP? "
A: "....We don't think EJB is an appropriate technology. And the market reflects that: there are now more Spring than EJB jobs and the majority of the development community agrees....We hope the JCP will move in positive directions. By that we mean a more modular deployment model and a need for more server structures. As SpringSource, we have now put a technology out there that delivers those benefits. We’d like to standardize our deployment model via the OSGi alliance. And we don't want to wait for a more modular approach coming out of the JCP".
Q: "Finally, what factors make you believe that the Spring Application Platform will succeed? "
A:"....the time is right because traditional application servers were conceived when Bill Clinton and Monica Lewinsky were in the White House. Gradually there is an accumulation of momentum behind OSGi."
A voi la parola.
Luca