Monday Apr 04, 2011

It's all about embedded (and testing)

In his recent "Test Coverage for your Enterprise Beans" blog post Markus Eisele starts by discussing the differences between the GlassFish Embedded API, the standard EJB 3.1 API, and the Maven GlassFish Plugin. He then goes on to describe his Eclipse + Eclemma plugin + GlassFish Embedded 3.1 + Maven configuration. He also discusses Global JNDI names (new in EJB 3.1) and the use of ANT with cases when you'll need in-place instrumentation of your code for proper code coverage execution.

Test Coverage for your Enterprise Beans. Running Eclemma with GlassFish 3.1
Embedded GlassFish with installation-less MySQL

In "Embedded GlassFish with installation-less MySQL", Bhavani discusses how to run tests using Embedded GlassFish with MySQL as the database (already running or not). This approach uses @DataSourceDefinition (new in Java EE 6 and placed here on servlets) with either the default JDBC driver or the Connector/MXJ utility. It also provides a sample persistence.xml for code using JPA.

In all the cases above, Embedded GlassFish is used via its Maven artifact: org.glassfish.extras:glassfish-embedded-[all|web]:3.1

Wednesday Mar 02, 2011

Another round of GlassFish 3.1 links

With the official press release coming out a bit after the availability of the product, GlassFish 3.1 is still getting some good coverage in the press and via some more blogs. Here's a quick set of links.

Photo from http://www.flickr.com/photos/ooocha/2869495050

News:
Oracle Releases New Version of Oracle GlassFish Server
Oracle Updates GlassFish Java App Server (eWeek)
Oracle upgrades GlassFish Java app server (InfoWorld)
Frissült a GlassFish, megint fürtözhető (hwsw.hu)
GlassFish Server 3.1 est disponible, avec des améliorations pour l'administration, la haute disponibilité et le développement d'applications (developpez)
オラクル、Javaアプリケーション・サーバ「GlassFish」をアップグレード (computerworld.jp)
Вышел GlassFish 3.1 (linux.org.ru)
Oracle выпускает новую версию сервера приложений GlassFish (cnews.ru)
Oracle Updates GlassFish - Delivers on the roadmap laid out at last year’s JavaOne (JAVA Developer's Journal)
GlassFish Server 3.1 تطلق Oracle (it-scoop.com)

Blogs:
GlassFish 3.1: using the master password and managing instances (Carla)
Enhancements to JMS clustering in GlassFish 3.1 (Satish)
What's new in Glassfish V3.1 Performance (Scott)
New Release: GlassFish Server 3.1. Read All About It! (Paul)
High Availability Single Sign On in GlassFish 3.1 (Shing Wai)
Quick introduction to Embeddability of GlassFish Open Source Edition 3.1 (Bhavanishankar)
Megjelent a GlassFish 3.1 (sunblog.hu)
Oracle: upgrade Glassfish Server (automatiseringgids.nl)
Oracle actualiza el servidor de aplicaciones Java GlassFish (itahora.com)