- The installation is easy and fast ( jar -Xmx256m glassfish… + ant -f setup.xml) or just download it with e.g. Netbeans 6.0b2 - then no additional steps are required.
- Glassfish can be easily administered from commandline (launch asadmin.bat), XML-configuration, partially Netbeans (the services tab), and slick webapp ( http://localhost:4848)
- Glassfish allows autodeployment: just copy the ears, wars, ejb-jars into one folder (e.g. domains/domain1/autodeploy), as well as JMX deployment (used by the IDE).
- The mailing lists are responsive. You get in general feedback in hours (if not in minutes). Especially important is the email@example.com (persistence is the most complicated part of the Java EE 5). So you get a good base support for free (commercial support is available as well).
- Debugging and even profiling (threads, memory, performance) is really easy and e.g. built-in in netbeans 6.0b2 (right mouse click, profile)
- Glassfish is surprisingly well documented. Most of the docs are available in PDF as well. The answers for more detailed questions (clustering, caching, mod_jk integration etc) are available in blogs.
- The buit-in monitoring capabilities are useful. E.g. the callflow visualizes the call hierarchy of Servlets, Session Beans (also nested) etc.
- (The performance, scalability are good as well) - this feature isn't so important for developers :-)
- You can set all JVM-parameters (-Xmx), logging etc. using the admin console. The administration is easy: e.g. you can create a JMS Destination or JDBC-Datasource with only few clicks.
- Project WSIT makes Glassfish interesting for all interoperability projects with .NET.
- Glassfish is lean: no strange and proprietary ant tasks, annotations, XML-deployment descriptors etc. for the development and deployment of Java EE 5 applications are needed.
- I use Glassfish since early V1. It improves continually. The V2 seems to be solid. Dependency injection, especially overwriting the annotations with XML etc., Interceptors etc. work really well (just no issues). Until now I hadn't had any problems with EJB 3 layer (WebServices, Session Beans, Stateful Beans, Interceptors) - in fact I use Glassfish to reproduce issues with other commercial servers as well :-). The persistence is also solid- in more complicated applications it is hard to say whether it is a JPA' or application's problem. However there were no show-stopper so far. I even use GlassfishV2 for controlling the heating - and we have hard winters in Germany :-). I will opensource the application soon (Project GreenFire) and present it at the oop conference 2008 in munich.
Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition
airhacks.fm the podcast:
Stay in touch: airhacks.news.