Thursday Feb 05, 2015

Whats new in GlassFish 4.1? by C2B2


clip_image001GlassFish 4.1 was released a couple of months ago now, bringing with it a large number of welcome bug fixes and improvements. As the Payara Open Source project was born from it, it would be remiss of us not give all of you who maintain an interest in GlassFish a brief overview of some of the things that have changed or been updated since 4.0. Among these changes, the minimum JDK version required is now 7 Update 65, or 8 Update 20, so you'll need to update if you intend to use it with anything less; it likely just won't start otherwise!

Updated Platforms and Specifications

As you might expect from any major update to an application server (even if it is just a minor point release), and particularly since GlassFish still holds itself as the Java EE reference application server, there is now support for more recent platforms and Java EE specifications.

Java SE 8

Arguably the headline new feature, GlassFish 4.1 now supports Java SE 8, bringing it up to date with the latest Java specifications. This brings with it all of the new features available in Java 8, such as Lambda expressions, a brand new Date and Time API, and concurrent accumulator classes. There’s quite a stir around the introduction of Lambda expressions, and how it adds some functional programming “oomph” to the Java language.

PermGen No More? Read the complete article here

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Wednesday Dec 17, 2014

GlassFish is here to stay. We heard it from the Oracle by C2B2

clip_image001We are at JavaOne 2014 and one of the key reasons for me to attend was to catch up on the future of GlassFish. So on Sunday I went along to the GlassFish community update at the Moscone Center to consult with the Oracle on the future of GlassFish.
The reason I go to JavaOne is to hear the definitive view on GlassFish and JavaEE futures from the people that make the decisions. There's no other conference you can say that about.
On the stand there were 4 Oracle guys who make the decisions on GlassFish.
John Clingan - Product Manager for JavaEE and GlassFish; Mike Lehman - Product Manager for Cloud Application Framework; Cameron Purdy - VP Development; Reza Rahman - Evangelist for JavaEE and GlassFish.
What I saw was that there is a roadmap for GlassFish out until JavaOne 2016 as JavaEE8 develops with GlassFish 5 being the reference implementation for JavaEE 8. GlassFish 5 will aim to be released as the final draft for JavaEE 8 hit the JCP.
Cameron spoke about GlassFish being a key Research and Development platform with much of the technology created in GlassFish to support the JavaEE specifications finding its way into WebLogic with GlassFish having a key role in the evolution of JavaEE far into the future. Many of the key JavaEE specification developers are working on GlassFish as part of their JSR work and that is a huge investment.
John reiterated that Quality, stability and security are still important. The team continue to work to ensure that GlassFish passes all the JSR Compatibility Test Suites and any issues will be fixed. In fact the key priorities for the recent 4.1 release were Java 8 support, stability and quality. Also much of the work invested into GlassFish for JavaEE 8 support will be shareable with WebLogic. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Tuesday Dec 16, 2014

Spotlight on GlassFish 4.1: #12 GlassFish Tools for Luna

clip_image002Spotlight on GlassFish 4.1' is a series of posts that highlights specific enhancements of the latest GF release, GlassFish 4.1. It could be a new feature, a fix, a behavior change, a tip, etc.

#12 GlassFish Tools for Luna

A new version of the GlassFish Tools (aka the 'GF Eclipse Plugin') has just been released for Luna, the latest and greatest Eclipse version. This version supports both GF 3.1.x and GF 4.1 and is a recommended upgrade as it introduces several UI improvements and fixes various issues. Note that this capability is also offered in the 'Oracle Enterprise Pack for Eclipse' (aka OEPE).

Installation is simple, just drag this 'Install' button and drop it into your Eclipse Luna workspace. Follow the process and make sure to select both 'GlassFish Tools' and 'Oracle Java EE' features. You can also do this from the Eclipse Marketplace.

To configure a GlassFish instance, open the Eclipse preferences window and specify, in the 'Runtime Environments' section, where your GF 4.1 install is located. Be aware that the UI uses the generic 'GlassFish 4' version, which encompass 4.1 as well!

Questions, remarks, REFs around 'GlassFish Tools for Eclipse' and OEPE can be asked here

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Tuesday Nov 18, 2014

GlassFish Server Open Source Edition 4.1 Released! By John Clingan

clip_image002GlassFish Server 4.1 Open Source Edition is available for download! This release of the world's first Java EE 7 application server includes multiple new and valuable features and updates. Here is a quick look at what's new:
  • Updated Platform Support. This release adds support for Java 8, CDI 1.2, and WebSocket 1.1. GlassFish, the world's first Java EE 7 application server, maintains leading compatibility with the latest Java EE specifications.
  • Improved Developer Experience.While GlassFish 4.1 remains an open-source only release, quality and a productive developer experience remain a key focus. GlassFish Server is made up of over 20 sub-projects (like Tyrus, Jersey, Weld, EclipseLink, and more). Each of these projects adds features and bug fixes, over 1,000 in all! Thanks to those developers who participated in the GlassFish 4.1 FishCAT program to make GlassFish even better! A special shout out to Joonas Lehtinen, who found a bug that caused GlassFish to fail to boot on Mac OS X 10.10 (Yosemite)!
  • New Features. Here's a list of some of the most important updates in this release.
    • Tyrus (WebSocket 1.1 RI). Now supports the WebSocket 1.1 specification, which adds a couple of APIs for improved support for Lambda expressions. Tyrus adds some features above and beyond the specification, like throttling the number of open sessions, metrics exposed through JMX, client reconnect, proxy support, optimized broadcasting of a message to all open sockets, and more.
    • Jersey (JAX-RS 2.0 RI). Updated with some impressive new features. Jersey brings the OAuth support originally available in Jersey 1.1, and adds a new client-side API for OAuth 1 and 2 support. Jersey has also improved diagnostics with better error reporting, exposes Jersey metrics over JMS, and per-request tracing to a log file or to the HTTP reponse header. Jersey also adds client-side server-sent event reconnect support.
    • OpenMQ (JMS 2.0 RI). Open MQ adds support for communicating over WebSocket. There are two types of WebSocket clients that are supported. First, mqstomp, which adds support for any WebSocket client that supports the STOMP 1.2 protocol. Second, mqjsonstomp, which enables a (WebSocket) client to send JSON formatted messages using the STOMP 1.2 protocol.
  • Java EE 7 SDK. The Java EE 7 SDK has been updated to make it more approachable overall. First, it is shipped as a zip bundle, offering a very simple installation process. The SDK also bundles GlassFish 4.1 and now supports Java 8. Last, the Java EE 7 SDK bundle includes updates to both the Java EE 7 Tutorial and Java EE 7 First Cup.
  • [Update] Netbeans 8.0.1 available for download; bundles GlassFish 4.0.1.

In summary, GlassFish 4.1 offers updated platform support, improved developer experience, new features and is bundled in the refreshed Java EE 7 SDK. GlassFish 4.1 can bedownloaded from glassfish.org, and the Java EE 7 SDK can be downloaded from the Oracle Technology Network (OTN).

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

Tuesday Nov 04, 2014

Running your ADF Essentials application on Glassfish 3 By Herman Mensinga

For some of our own internal applications, we (AMIS) are using 2 products of Oracle that do not require any license to be payed: ADF Essentials and the Oracle XE database.
These applications were initially deployed to a Tomcat 6 server, only when trying to deploy new applications we encountered issues with conflicting libraries. As the Glassfish Open Source edition is also free and well documented and supported I decided to investigate a switch.

Since ADF Essentials is available more than a year, posts about using ADF Essentials with Glassfish are there already. Take this one for example by Shay Smeltzer. But in these posts there was always something missing, in this post I share the steps I needed for a working deployment to a remote server (in the cloud in my case).

Environment
First my assumptions/environment:

  • Combination Oracle XE 11g, ADF essentials 11g r2 and Glassfish Open Source Edition 3.1
  • The ADF application uses a JDBC datasource
  • Glassfish will be running on a server on which the (Oracle XE) database is also running
  • The Glassfish Admin console is accessed remotely

Installing and configuring Glassfish
First we check that a JDK 6 or 7 is installed on the server. If not please install JDK 7. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

Tuesday Oct 28, 2014

Testing Java EE Applications Using Arquillian & GlassFish Thursday, the 30th of October, 6pm-8:30pm

London GlassFish User Group October Event with Reza Rahman image #1This session outlines how to effectively test Java EE APIs on GlassFish like JSF, Servlet, CDI, EJB 3, JPA, WebSocket and JAX-RS. Java EE includes a number of new features that enhance testability like generic dependency injection, CDI @Alternative, portable extensions, embedded containers and JSF project stages.
Using these features and best of breed tools like JUnit and Arquillian it is possible to perform unit, integration, system and functional testing for Java EE APIs at all layers of the application. In addition to discussing tools and features, the session will also demonstrate testing techniques like designing for testability, mock objects, isolation and test configuration.
For details please visit the registration page here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

Sunday Oct 19, 2014

Writing and Deploying a Simple Web Application to GlassFish by C2B2

Introduction This blog will detail how to create a simple Web Application (Web App) on a Windows 7 64 bit system and deploy it to a GlassFish 4.0 server. The web app will be kept simple, so as to keep the focus of the tutorial on the concepts; as such, the web app will provide a web page prompting the user to enter their name and date of birth, before loading another page that repeats their name back at them with their age. The blog will cover how to set up, code, and deploy the web app using the NetBeans IDE, as well as how to manually deploy it using the Windows command prompt. It should be noted that unless stated otherwise, any additional settings that can be changed but are not noted in the guide should be left as their default.


This guide was written using the following:

  • Windows 7
  • GlassFish 4.0
  • Java EE 7 32 bit
  • JDK 1.7.0_45 32 bit
  • NetBeans 7.4

Though just an introductory tutorial, the web app will be designed with good practices in mind, and so will be designed upon the Model View Controller (MVC) pattern to provide good separation of concerns. As such, the web app will have the following structure: Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

Saturday Oct 18, 2014

Please Join FishCAT, GlassFish 4.0.1 Community Acceptance Testing By Reza Rahman

As many of you may already be aware, the GlassFish team has been diligently working on the upcoming 4.0.1 release. The overall goals of GlassFish 4.0.1 is very specific and focused:

  • JDK 8 certification.
  • Fixing high priority bugs, especially potential Java EE 7 compatibility gaps.
  • Architecture and design documents using UML
  • Hardening security and fixing security bugs.
  • Incorporating updates to all GlassFish components such as Mojarra, Jersey, Grizzly, OpenMQ, HK2, EclipseLink, JAXB, Weld and so on. These updates contain mostly bug fixes and some new features.

Our team has been talking about the 4.0.1 release at various venues:

  • GlassFish product manager John Clingan did an extensive interview with Adam Bien on the future of GlassFish - check out the interview text here.
  • I (Reza Rahman) did a GlassFish community open round table with the London GlassFish User Group - check out video here.
  • My colleague David Delabassee held a GlassFish BoF recently at Devoxx UK.

Steve Millidge of the London GlassFish User Group very recently shared his thoughts on 4.0.1, the future of GlassFish and community contributions.

Many of you may also be aware of FishCAT. It stands for the GlassFish Community Acceptance Testing program. Through the program community members can help test early builds of GlassFish before the final release. Contributing to GlassFish through the FishCAT program is one of the easiest, most valuable and most effective ways in helping the Java EE and GlassFish communities move forward. We are now launching FishCAT for GlassFish 4.0.1. You can find the details for FishCAT for GlassFish 4.0.1 here.

The voice of the community has always been important to us and we need your help. Please do consider donating some of your time to the FishCAT program.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

Friday Oct 17, 2014

A Strong GlassFish by C2B2

Last November after the announcement by Oracle that no future release beyond the 3.x version of GlassFish would have support from Oracle there were a lot of doom and gloom articles about GlassFish. I tried to put my view that this probably wasn't the end of GlassFish but time would tell.


Why we need a Strong GlassFish
As the founder of a company that is vendor independent. I think it is imperative for the Java EE community that there is a strong vibrant GlassFish server. Having GlassFish out there as a viable production open source Java EE server drives competition. Competition drives innovation in competing products. Competition drives quality in competing products. Competition drives adoption through visibility and choice. If GlassFish fades then I'm afraid that the whole of Java EE fades. There will be no competitive incentive to drive innovation in WildFly, although I'm sure the RedHat engineers wouldn't consciously drive down innovation and quality but competition naturally keeps them lean, mean and fast. If GlassFish in the future fails to deliver a good out of the box experience for Java EE 8 and beyond due to poor quality or poor performance then future Java EE adoption as a whole is threatened. This threatens Oracle WebLogic, RedHat JBoss EAP, IBM WebSphere sales as where are the developers to choose the big beasts for production?

Optimism for the Future

Over 6 months have passed and I've been trying to take stock of where we are. I've recently hosted a community Community Q&A session with Reza Rahman and the London GlassFish User Group and organised a BOF at Devoxx UK with David Delabassee to get the community involved in what is happening with GlassFish. We've watched the code archives and started our own builds. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

Friday Aug 01, 2014

GlassFish On the Cloud Consulting Services by C2B2

C2B2 provides a full suite of professional consultancy services to support the deployment of our GlassFish As A Service cloud offerings or the deployment of GlassFish on private, public or hybrid clouds.

Architect & Design

For infrastructure projects a thorough understanding of the cloud and middleware infrastructure is essential for effective architecture and design. We have in depth, real world experience of Java Enterprise middleware both in the cloud and the company data centre.

Approach

We can deliver our services through a range of engagement types including:

  • Workshops with the technical team and key stakeholders
  • Informal whiteboard sessions
  • Architecture and design documents using UML
  • Training and coaching

An architecture and design engagement typically covers:

  • Architecture goals and constraints
  • Architecture styles and patterns
  • Guiding principles
  • Selection of products and technologies
  • Identification of key interfaces and communication protocols
  • Various system views (functional, technical, use case, deployment etc)
  • Scalability plan
  • Non functional test approach
  • Skill requirements

Get all details about C2B2 Glassfish services here.


WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

Thursday Jul 31, 2014

GlassFish Server Open Source Edition 4.0 Download – nightly builds

As an open source project, GlassFish is being developed in an open and transparent manner. Development versions of ongoing work for the next GlassFish iteration are thus already available.
The next update will be GlassFish 4.0.1, its focus will be :

  • Support for Java SE 8
  • Incorporate bugs fixes addressed since GF 4.0, see the list of fixed bugs (recent fixes might not yet be incorporated into the Nightly Build).
  • Update embedded sub-projects like Jersey, Tyrus, Weld, Mojarra, JavaDB, etc.
  • NetBeans 8.0.1 alignment

Download the latest GlassFish 4.0.1 Nightly Build :


WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

Wednesday Jul 30, 2014

GlassFish, Future and No Secret Agenda–An Interview With John Clingan, GlassFish Product Manager by Adam Bien

Adam Bien: Hi John, please introduce yourself. What is your Java background? What was your first contact with Java?

John Clingan: I am the product manager (PM) for Java EE and GlassFish Server at Oracle and Sun Microsystems before that, beginning with Java EE 5 and GlassFish v2. In the last six months I have also picked up PM responsibilities for EclipseLink, the JPA reference implementation developed in the Eclipse community, and Project Avatar, a server-side JavaScript for the JVM that supports the Node programming model. While I truly enjoy being the PM for Java EE and GlassFish (7 years now), I am enjoying the new responsibilities as a change of pace. They all keep me very busy!

Adam Bien: From Zero To A Killer Appserver. This was my perception of the early GlassFish releases. What was the major driver behind the sudden quality increase?

John Clingan: Well, in my humble (and biased ☺) opinion, GlassFish has always been and remains a high-quality product. Keep in mind that a significant portion of GlassFish source code was the result of open sourcing the Sun Java System Application Server (SJSAS). SJSAS was a mature and feature rich product in its own right, and was deployed in many business critical environments by well-known organizations. GlassFish did not have the same challenges that new open source projects typically have, like building up new features from scratch, both around core development features as well as manageability. With the exception of new Java EE 5 features in GlassFish v1, it was battle-tested from day one as an open source project.

Adam Bien: Oracle dropped the commercial support for GlassFish. Could you reveal any secrets about this decision? What was the motivation?

John Clingan: No secret agenda or ulterior motive. We have been transparent about the reasoning behind it. It was becoming increasingly difficult to justify supporting, patching, and developing production features for GlassFish when Oracle WebLogic Server already fills that need. It is not productive to invest in two products that address the same market. However, GlassFish and WebLogic Server do fill differentiated and very important roles. GlassFish continues to fulfill the role of the Java EE reference implementation and is the first to support the latest Java EE standard. This offers a means for developers to learn the latest standards until vendors follow with commercial implementations. Commercial implementations by their nature follow the Java EE standard by 6+ months due to their need to integrate with a vendors broader product portfolio. So, Oracle continues to invest in GlassFish to address the role of the reference implementation as well as a high quality and productive development environment. Oracle WebLogic Server is the preferred Oracle application server for production deployment.

Adam Bien: Nevertheless, GlassFish is still alive. Would you appreciate more community contribution, if yes in which areas?

John Clingan: Yes, contributions are always welcome and should be based on whatever developers are able contribute. As always, bug reports, bug fixes, etc are welcome. Supporting the community in the discussion forums and mailing lists is another great way to contribute. Since we are starting down the Java EE 8 path, Adopt-A-JSR will directly impact GlassFish as the RI and Java EE the standard. We also accept feature contributions.

Adam Bien: Would you appreciate commercial support from other ISVs? Could Oracle support such vendors with e.g. appearance on the homepage etc? Read the complete interview here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

Tuesday Jul 29, 2014

GlassFish 4.0.1 Update By John Clingan

The GlassFish team would like to give an update on the GlassFish Server Open Source Edition 4.0.1 (GlassFish 4.0.1) release that we have been diligently working on. GlassFish 4.0.1 plans include:

  • Bug fixes. This release will, or course, incorporate the many bugs fixes that have already been addressed in the trunk since GlassFish 4.0. We continue to work hard fixing bugs as we head towards release. Oracle is committed to delivering a high quality development experience with GlassFish!
  • Refresh component libraries. GlassFish 4.0.1 plans to use updated versions of many sub-projects it relies on, like Jersey, Tyrus, Mojarra, JavaDB, and more. These projects bring their own set of bug fixes and even some incremental features.
  • Java 8 certification. The latest and greatest JDK.
  • Java EE 7 SDK Update. Bundles GlassFish 4.0.1 and tutorial updates to improve your Java EE 7 learning experience.
  • NetBeans 8.0.1 alignment. GlassFish and NetBeans together offer a seamless Java EE development experience. We are planning to align our respective roadmaps to deliver GlassFish 4.0.1 with NetBeans 8.0.1.

Oracle is committed to delivering a high quality development experience with GlassFish!
From a scheduling perspective, we'd like to go into JavaOne 2014 with GlassFish 4.0.1 on your hard drive and/or in your cloud. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

Sunday Jun 29, 2014

Quick & Dirty How-to Guide: Install GlassFish 4 on Raspberry Pi

Raspberry Pi LogoI’ve been testing various “embedded platforms” lately to provide infrastructure for my IoT configurations. In doing so, I’ve installed and configured the GlassFish 4 Web Profile to run successfully on the Raspberry Pi Model B (512M). This post is not meant to be exhaustive or even necessarily prescriptive, but rather an iterative log of what I’ve done and do to configure a Raspberry Pi to “run with the big dogs”, i.e. Java Enterprise Edition (EE) 7.

Please check back (or subscribe to my RSS feed for IoT) to monitor updates. The Internet of Things (IoT) is a very dynamic space and will likely remain so for some time! The only constant…is change. :-D

GlassFish 4

Document version 1.2 (This number will change as I make updates and is for reference only)

Steps to Install/Configure GlassFish 4 on the Raspberry Pi

Download the latest version of Raspbian Wheezy from here. You can install NOOBS, Arch, or some other distro, but I chose Raspbian. Note that this distro includes the Java SE 7 JDK, which simplifies things

a bit. If you wish to use an previous Raspbian build that doesn’t already include the JDK, simply run “sudo apt-get update && sudo apt-get install oracle-java7-jdk” from your Pi shell. Read the complete article here.


WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

Search

Archives
« April 2015
SunMonTueWedThuFriSat
   
4
21
22
23
24
25
26
27
28
29
30
  
       
Today