Thursday Apr 24, 2014

Reminder : Virtual Developer Days - Java 2014

The first occurrence of the Java Virtual Developer Day for 2014 will take place in less than 2 weeks! So if you plan to attend, it is time to register!
Not only you will have a chance to learn about the latest evolutions in the Java space, i.e. Java EE 7, Java SE 8 and Java Embedded. You will also have the opportunity to interact and ask questions to various experts.  And the best part is that VDD are free to attend so do not miss this opportunity!

To cope with the different Time Zones, the VDD will be run 3 times :
  • May 6th : 9:00 a.m. - 1:00 p.m. PDT / 12:00 p.m. - 4:00 p.m. EDT / 1:00 p.m. – 5:00 p.m. BRT
  • May 14th : 9:00 AM  - 1:00 PM BST/  10:00 AM  - 2:00 PM CEST / 12:00 Noon - 4:00 PM GST /  12:00 Noon - 4:00 PM MSK 
  • May 21st : 8:30 AM - 12:30 PM IST  / 11:00 AM  - 2:30 PM SGT / 1:00 PM  - 4:30 PM AEDT 
The complete agenda and the registration details can be found here.

Monday Oct 01, 2012

The first day of JavaOne is already over!

In the past Sunday used to be a more relaxing day with ‘just’ some JavaOne activities going on. Sunday used to be a soft day to prepare yourself for an exhausting week. This is now over as JavaOne is expanding; Sunday is now an integral part of the conference. One of the side effect of this extra day is that some activities related to JavaOne and OpenWorld such as MySQL Connect are being push to start a day earlier on Saturday (can you spot the pattern here?).

On the GlassFish front, Sunday was a very busy day! It started at the Moscone Center with the annual GlassFish Community Event where the Java EE 7 and GF 4 roadmaps were presented and discussed. During the event, different GlassFish users such as ZeroTurnaround (the JRebel guys), Grupo RBS and IDR Solutions shared their views on GF, why they like GF but also what could be improved. The event was also a forum for the GF community to exchange with some of the key Java EE / GlassFish Oracle Executives and the different GF team members.

The Java Strategy Keynote and the JavaOne Technical Keynote were held in the Masonic Auditorium later in the after-noon. Oracle executives have presented the plans for Java SE, Java FX and Java EE. Here are some personal takeaways from those keynotes.

Modularity is a big deal. We know by now that Project Jigsaw will not be ready for Java SE 8 but in any case, it is already possible (and encouraged) to test Jigsaw today.
In the future, Java EE plan to rely on the modularity features provided by Java SE, so Project Jigsaw is also relevant for Java EE developers.
Shorter term, to cover some of the modular requirements, Java SE will adopt the approach that was used for Java EE 6 and the notion of Profiles. This approach does not define a module system per say; Profiles is a way to clearly define different subsets of Java SE to fulfill different needs (e.g. the full JRE is not required for a headless application). The introduction of different Profiles, from the Base profile (10mb) to the Full Profile (+50mb), has been proposed for Java SE 8.

Embedded is a strong theme going forward for the Java Plaform. There is now a dedicated program : Java Embedded @ JavaOne

Java by nature (e.g. platform independence, built-in security, ability easily talks to any back-end systems, large set of skills available on the market, etc.) is probably the most suited platform for the Internet of Things.

You can quickly be up-to-speed and develop services and applications for that space just by using your current Java skills. All you need to start developing on ARM is a 35$ Raspberry Pi ARM board (25$ if you are cheap and can live without an ethernet connection) and the recently released JDK for Linux/ARM. Obviously, GlassFish runs on Raspberry Pi.

If you wan to go further in the embedded space, you should take a look Java SE Embedded, an optimized, low footprint, Java environment that support the major embedded architectures (ARM, PPC and x86).

Finally, Oracle has recently introduced Java Embedded Suite, a new solution that brings modern middleware capabilities to the embedded space. Java Embedded Suite is an optimized solution that leverage Java SE Embedded but also GlassFish, Jersey and JavaDB to deploy advanced value added capabilities (eg. sensor data filtering and) deeper in the network, closer to the devices.

JavaFX is going strong! Starting from Java SE 7u6, JavaFX is bundled with the JDK. JavaFX is now available for all the major desktop platforms (Windows, Linux and Mac OS X). JavaFX is now also available, in developer preview, for low end device running Linux/ARM. During the keynote, JavaFX was shown running on a Raspberry Pi!

And as announced during the keynote, JavaFX should be fully open-sourced by the end of the year; contributions are welcome!.

There is a strong momentum around JavaFX, it’s the ideal client solution for the Java platform. A client layer that works perfectly with GlassFish on the back-end. If you were not convince by JavaFX, it’s time to reconsider it!

As an old Chinese proverb say “One tweet is worth a thousand words!”

HTML5, Project Avatar and Java EE 7
HTML5 got a lot of airtime too, it was covered during the Java EE 7 section of the keynote. Some details about Project Avatar, Oracle’s incubator project for a TSA (Thin Server Architecture) solution, were diluted and shown during the keynote.

On the tooling side, Project Easel running on NetBeans 7.3 beta was demo’ed, including a cool NetBeans debugging session running in Chrome!

HTML 5, Project Avatar and Java EE 7 deserve separate posts...

We need your feedback! There are many projects, JSRs and products cooking : GlassFish 4, Project Jigsaw, Concurrency Utilities for Java EE (JSR 236), OpenJFX, OpenJDK to name just a few. Those projects, those specifications will have a profound impact on the Java platform for the years to come! So if you have the opportunity, download, install, learn, tests them and give feedback! Remember, you can "Make the Future Java!"

Finally, the traditional GlassFish Party at the Thirsty Bear concluded the first JavaOne day. This party is another place where the community can freely exchange with the GlassFish team in a more relaxed, more friendly (but sometime more noisy) atmosphere. Arun has posted a set of pictures to reflect the atmosphere of the keynotes and the GlassFish party.

You can find more details on the others Java EE and GlassFish activities here.

Friday Jun 29, 2012

Java Embedded @ JavaOne Call for Papers

Do you care about Internet of Things ? Interested in sharing your experience at javaOne about how you are using Java Embedded Technology to realize this vision ?

At Java Embedded @ JavaOne, C-level executives, architects, business leaders, and decision makers from around the globe will come together to learn how Java Embedded technologies and solutions offer compelling value and a clear path forward to business efficiency and agility.

Java Embedded @ JavaOne

The conference will feature dedicated business-focused content from Oracle discussing how Java Embedded delivers a secure, optimized environment ideal for multiple network-based devices, as well as meaningful industry-focused sessions from peers who are already successfully utilizing Java Embedded.

Submit your papers for Business Track or Technical Content related to Embedded Java to be presented at JavaOne here. Speakers for accepted sessions will receive a complimentary pass to the event for which their session is submitted. Note, the CFP for the main JavaOne conference is over, speakers notified, and content catalog published. This is CFP only for Java Embedded @ JavaOne.

Some key dates are:

  • Jul 8th: Call for Papers closes
  • Week of Jul 29th: Notifications sent
  • Conference Dates: Oct 3, 4, 2012
  • And the main conference website is

Monday Apr 30, 2012

GlassFish on the Beagleboard

The GlassFish Server Embedded Guide documents how to run GlassFish in a JVM running another application, perhaps to expose that application's features using Web Services or a RESTful endpoint, or to leverage the EJB container for transactional business logic. Julien Ponge, however, has posted how he deployed a stock GlassFish installation on a stock BeagleBoard xM Embedded System with Java SE 6 Embedded.

While many are talking about scaling up Java EE in the cloud, Julien reminds us that scaling down Java EE can drive a lot of potential value as well!

Tuesday Mar 20, 2012

Improved Maven Embedded GlassFish - deploy multiple apps

Bhavani has some new over at about the Maven Plugin for GlassFish and how it now supports the ability to deploy multiple applications. He also has a Tips, Tricks and Troubleshooting entry.


Multiple deployments are done during the Maven pre-integration-test phase but with a goal-specific configuration for app, contextRoot, etc...

The :run (all-in-one) execution also now supports admin and deploy goals. Note that these improvements will require a recent work-in-progress 4.0 version of GlassFish.

Monday Sep 12, 2011

Setup your Embedded GlassFish with in-process asadmin calls

asadmin is the command-line interface every GlassFish users know, but most probably don't know they can use it programmatically. Bhavani just posted an entry showing how to do just that from within Embedded GlassFish.

The code sample in the blog entry uses a servlet, but most importantly org.glassfish.embeddable.CommandRunner.


Check out Bhavani's blog for more Embedded GlassFish samples.

Monday May 16, 2011

Custom error pages, SecureJDBCRealm, more GlassFish Embedded, more Clustering how-to, and more

Markus and Sven are at it again providing detailed hands-on descriptions but this time they're joined by several other community members. Here's a tab sweep for May 17th 2011 :

Turning off default error page in GlassFish 3.x (Shing Wai)
Installer Glassfish en mode silencieux (ArKZoYD)
GlassFish 3.1 SecureJDBCRealm (Markus Eisele)
JSF 2.0, JPA 2.0 and Bean Validation on WebLogic Server (Steve)
Java EE's Advantages through Embedded GlassFish (Fachim)
Wicket, Web Services, NetBeans And GlassFish (Jeff Schwartz)
Java EE 6 + Glassfish 3.1: simplicidade + leveza = produtividade (Juliano Viana)
GlassFish 3.1 – Clustering Tutorial Part2: sessions (Sven)


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

Monday Mar 07, 2011

GlassFish Embedded Server: a blog, a screencast and a doc

GlassFish Embedded (i.e. drive GlassFish from an API) was enhanced as part of the 3.1 release to improve the fidelity with the non-embedded case. Popular use-cases include testing but also embedding the GlassFish runtime as part of an application for easier administration-less deployments.

If you're interested in the topic, Bhavanishankar has a quick introduction to Embeddability of GlassFish 3.1 discussing the setup (all-in-one JARs) and the main APIs. John "Java Evangelist" Yeary also posted a 5-minute screencast showing the the Embedded API in action. As a bonus you can also sprinkle some Scala into the mix.

The GlassFish 3.1 documentation includes an Embedded Server Guide with yet more details.

Sunday Nov 14, 2010

GlassFish Tips and Links #14: InfraDNA and CloudBees, JSF Composites, Embedded GlassFish, JProfiler, JQuery and XMPP...

Recent Tips and News on Java EE 6 & GlassFish:

Informational Sign


TOTD #147: Java Server Faces 2.0 Composite Components using NetBeans - DRY your code (Arun)
TOTD #148: JPA2 Metamodel Classes in NetBeans 7.0 - Writing type-safe Criteria API (Arun)
Step by Step tutorial to create a JAX-WS with Eclipse, CXF and Glassfish V3 (Ahmed Al-Moayed)
Profiling GlassFish 3 with JProfiler : Shing Wai Chan's Weblog (Shing Wai Chan)
Using JQuery, XMPP and Atmosphere to cluster your WebSocket/Comet application (JFA)
Unit testing services, part 2 – Embedded Glassfish (Ivan St. Ivanov)

French Posts on GlassFish

ArKZoYd has a whole collection of posts in French on GlassFish; see

Mes blogs classés par thèmes
• All posts Tagged as GlassFish, and
Installer Glassfish 3.0.1 en mode silencieux, as an example.

Trip Reports

OTN Developer Days 2010, New York City Trip Report (Arun)
Oredev 2010 Trip Report (Arun)
JFall 2010 - Yet another great Java conference (Alexis)

Hudson News

Lusis: Using Hudson and RVM for Ruby unit testing
Hudson / JRuby integration preliminary report
InfraDNA and CloudBees joining forces: KK's post, CloudBees post, JAXEnter, PR.
  • The new offering is called Nectar

Other Related News

NetBeans 7.0 M2 and Maven 3 - Better than M2Eclipse? (Gunther Popp)
An Introduction to OpenFaces
SunSolve is Moving

Wednesday May 26, 2010

GlassFish 3.1 - Embedded

One of the key new features in the GlassFish 3.1 Open Source Edition is Embedded. Siraj Ghaffar, the project lead, has captured the details on the project in the Embedded One Pager and is soliciting feedback via the USER alias (markmail / forum).

GlassFish is a natural match for embedded: it's small and starts fast, it's complete (all of JavaEE 6), it's modular, and it's open source. The interest in GlassFish Embedded has jumped (chart@MarkMail) with the formal release of GlassFish 3, and I think it will just keep growing through the year.  Help us make it work well for you!

Wednesday Oct 28, 2009

JavaCard 3 - Classic and Connected!

James reports on the latest news on JavaCard 3.  JavaCard (wikipedia, spec site) is what we all have in our pockets (ATM cards) and/or our phones (SIM cards).

The JavaCard 3 comes in two Editions: Classic (for SIM/ATMs) and Connected. The new kid, Connected, supports most of the JDK6 VM as well as Servlet 2.5, extended and classic Applets, HTTP and HTTPS, etc. The target of JavaCard3 Connected includes secure USB tokens and personal DBs, Embedded Servers, WebDAV-Compliant Thumb Drives, etc.

JavaCard Connected seems it may deliver on the promise of "connected" Java devices everywhere; we will see how it gets adopted. There is a new project at Kenai focused on learning about JavaCard Connected. The project includes the NetBeans Plugin (see sneak preview).

Wednesday Mar 25, 2009

Nuxeo ECM - This Week's GlassFish Webinar


This week's webinar is on Nuxeo ECM, the Open Source ECM. Stefane will provide details on Nuxeo 5.2 (release/en, release/fr) and will discuss how to build scalable content management applications using OSS JavaEE technologies and sample use cases. Stefane will also describe the plans for Nuxeo 6.0

Nuxeo 5.2 is available with GFv3 Embedded (in addition to Jetty and JBoss) and is a good example of how the architecture of GFv3 extends the applicability of GlassFish into new markets.

Presentation on Thursday, March 26th, 11am US Pacific, at TheAquarium Channel. Full details (and recordings) at the Show Page.

Thursday Feb 05, 2009

Blogs and Aliases on GlassFish v3 Embedded


The first public mention of "embedded" GlassFish was back in April 2008 in a quick design before JavaOne. Now that we are past GFv2.1 and closing on GFv3 we are working on a more permanent API and we need your participation to ensure the result satisfies your needs; here are some links to get you started...

The DEV discussions are happening at; the USERS alias is (archive, markmail). Documentation is moving between sites, but check at the embedded-glassfish web page for a pointer.

Some recent blogs are from Alexis, Byron and Jennifer. Older entries are tagged embedded. Thanks for your contributions!