Sunday Feb 20, 2011

NetBeans 7.0 beta 2 is now available

NetBeans 7.0 beta 2 is now out and you can download your copy from this download page. As previously discussed this version has enhancements for GlassFish 3.1 and now ships with an almost final version (b41 to be precise).


One of the main goals for NetBeans 7.0 is alignment with Java SE 7 (project Coin, etc.) but other important features include support for Oracle WebLogic Server (check out this screencast), HTML 5 editing, Maven 3 support, overall improved Java EE support for CDI, JAX-RS, JPA and Bean Validation, and now also support or Git (1.7.x).

Check out more details about this on this page and be sure to read the release notes. Finally note that NetBeans IDE 7.0 Beta 2 is available in no less than 6 languages: English, Brazilian Portuguese, Japanese, Russian, and Simplified Chinese.

Friday Jan 21, 2011

Webinar Replay - "Java EE 6 with NetBeans and GlassFish"


This week's "Java EE 6 with NetBeans and GlassFish" webinar replay is now available !

Replay on the GlassFish YouTube Channel
Transcript of Q&A session on Arun's blog

Our sincere apologies to those of you that experienced technical difficulties. We're actively looking into significantly improving the viewer's experience as early as for next week's webinar.

Mark your calendars, all GlassFish Webinars (past and future) are now listed on

Tuesday Dec 07, 2010

VirtualBox development images - NetBeans/JavaEE/GlassFish combo


Over at the OTN blog, Justin Kestelyn announced that three development environments were made available as VirtualBox images (appliances) and loaded with all the software you need to get started the moment you log into the system.

These images include : SOA & BPM Development, Database App Development and Java Development.

The Java development image (2.6GB from this page) is very based on the image built for the recent OTN Java Developer Days (delivered in some 30+ countries worldwide with three hands-on labs). It uses Oracle Linux version 5, JDK 6, Java FX 1.3.1, NetBeans IDE 6.9.1, and GlassFish Server Open Source Edition 3.0.1. This is everything you need to get started with Java EE 6 development and you'll even find three labs (with code and instructions) to start using JSF 2, JAX-RS 1.1, EJB 3.1, Servlet 3.0, JPA 2.0 and CDI 1.0!

In similar news, VirtualBox 3.2.12 and 4.0.0 Beta 1 are out!

Monday Nov 22, 2010

NetBeans 7.0 Beta is here!


With the recent JSR announcement you may have missed the release of NetBeans 7.0 Beta. Adding to the long list of server-side enhancements (Java EE 6, GlassFish, WebLogic, JBoss) described in this earlier post, support for JDK 7 and for Maven 3 are probably the two main features in this release.

Once you've installed and configured a recent build of OpenJDK, you can now select "JDK 7" as a target platform in the IDE. This will cause the NetBeans built-in parser to start using the new javac compiler and thus support new language constructs such as Strings in switch, the diamond operator, multi-catch, etc... NetBeans also integrates a number of hints to help you refactor existing code into something more terse. More details on this page. Update: Arun has pushed out a screencast to illustrate this all.

This interview will NetBeans developer Jesse Glick goes into interesting details about the full support of Maven 3 in this new release. Similar to the JDK 7 case above, the IDE does not reinvent the wheel but rather "the IDE is using the official Maven 3.0 code to parse your project" (so no "import" step required). The tool can also search Maven repositories when class definition are missing. Repository browsing & searching, graphical representation of dependencies while preserving the "compile on save" and increasing overall performance are all now part of NetBeans 7.0 beta.

You may also have missed this episode of the Java Spotlight Podcast which features an interview with the NetBeans boss at Oracle.

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

Sunday Oct 17, 2010

NetBeans 7.0 Milestone 2 is here - lot's in store!


Just like GlassFish, the NetBeans folks have been busy working on their next release (read "6.10 renamed to 7.0"). Milestone 2 of NetBeans 7 is now available and it has a lot in store for web and server-side developers: Java EE 6 enhancements, support for GlassFish 3.1 and Oracle WebLogic Server, but also interesting new Web features.

Regarding Java EE 6 enhancements, EL (Expression Language, heavily used in JSF 2) now has error checking, finds usages in JSF or CDI managed beans, offers refactoring, bundle resources support, useful tooltips and hints. CDI offers qualifier auto-creation, "Inspect CDI" contextual menu, and more. But you'll also find JAX-RS wizard enhancements, support for JSF components suites (PrimeFaces), BeanValidation (constraint and validation.xml) wizards, and JPA integration of BeanValidation and JAXB.

On the Web front, json source formatting, HTML 5 editing support (see this recent GlassFish HTML 5 blog and video), and better HTML validation are also of interest.

Hot off the heels of the Maven 3 final release, NetBeans now ships with an embedded distribution which has been in fact used for a while to interpret Maven projects. Numerous other bugs have been fixed. If you use Maven (2 or 3) you should give this milestone a try.

The NetBeans/GlassFish integration got even better with GlassFish 3.1 support, application-scoped resources (including glassfish-resources.xml editing), better Web Services testing, easier domain creation, access to remote server log, and restart in debug mode. NetBeans also now allows EJB and ACC modules to be deployed as standalone artifacts, while debugging an EAR file that contains an ACC client will now start two debugging sessions, one on the client, one on the server. Check Vince's blog for all the details.

Support for Oracle WebLogic Server is a new feature and now shows as a server in the "Services" tab. If interested, check out this short yet useful video showing support for JSF 2.0 (integrated in the recent WebLogic release), datasource creation and deployment, directory-based deployment and more.

For further details on these new features, please read this Milestone 2 New and Noteworthy document. The final release of NetBeans IDE 7.0 is planned for March 2011.

Thursday Oct 07, 2010

NetBeans 7.0

There is a revised NetBeans roadmap: NetBeans 6.10 Changes to NetBeans 7.0 and now releases in March 2011. NB 7.0 still has support for GlassFish 3.1 but now will also come with support for JDK 7 language features and for JDK 7 beta.  The plan is that there will be a minor patch release later when JDK 7 goes final, and later there will be a NB 7.1 with support for Client Java and JavaFX Java APIs.

NB 7.0 will also add support for WebLogic Server, Maven 3 and Oracle DB. See Announcement, NewAndNoteworthy and Roadmap. And get ready for NB 7.0 M2; it should be out next week.

Thursday Sep 30, 2010

GlassFish 3.1 and NetBeans 6.10

The next version of NetBeans is 6.10 (Release Roadmap).   NB 6.10 has support for the GlassFish 3.1, and the two schedules (NB 6.10, GF 3.1) are aligned which means our tools folks are extra busy, and Vince has been documenting his new additions through a series of posts in his blog.

The builds to use with the posts are NB 6.10 M1 - released at the end of August - or the nightly builds.

Here is the current list - I'll try to update the list as Vince adds entries:

Initial Support for GlassFish Server 3.1
   Kickoff of the series.  Integration plan into NetBeans 6.10 is described in the NetBeans Wiki Page
Restart a remote instance of GlassFish Server
   Support for the restart-domain command works with remote domains
New Enable and Disable actions for deployed apps
   Two additional actions for applications deployed onto GlassFish Server instances: Enable and Disable.
Restart a remote server in debug mode
   UI now leverages the new support for restarting a server in debug mode with a single command.
View Server Log for remote instance
   Users can see the log for remote GlassFish Server 3.1 instances
Supporting glassfish-resources.xml
   New name and new content GlassFish Server 3.1 builds integrated into NetBeans dev builds   As the title says - now integrated!
Create domains that use the default ports
   New feature?  Or bug fix?
Web Service Nodes of a GlassFish Server 3.1 instance
   Quick way to get the URL to the WSDL for services deployed in NB
IDE Feature, now available from the command-line
   Support for the new Application Scoped Resources (Spec, Screencast)

As you can see, good progress!

Thursday Aug 12, 2010

NetBeans 6.10 with GlassFish 3.1 and more

Tentative plans for NetBeans 6.10 are now available in its NetBeans Wiki page.  The feature set includes improvements in the support for

• Java EE 6, full spec and Web Profile (details)
• WebLogic Server and GlassFish 3.1 (details)
• PHP (details) and JS, JSON, X/HTML and CSS (details)

NB 6.10 also plans the usual performance and quality improvements as well as better support for Oracle DB. Check all features, schedule, and disclaimers here.

Wednesday Jun 16, 2010

NetBeans 6.9 - The Smart Way to Code

The final release of NetBeans IDE 6.9 is now available for download. The release includes many new features: see the feature overview and New and Noteworthy.  Some highlights:

• OSGi and Maven support.  Bundled Felix container and experimental Equinox support
• JavaFX Composer; additional editor support; additional palettes.
• Improved support for Java EE 6, including the latest GlassFish; support for Spring Framework 3.0.
• Improved PHP support (Petr's post) which was the #2 language in a recent Community Poll.

NetBeans 6.9 also has improved support for HTML, CSS, JavaScript, PHP Zend Framework, Ruby on Rails 3.0, C/C++, etc.

More in New and Noteworthy and in the Release Roadmap. More NB news here. The Oracle PR is here.

Added - Other news pieces on the release:

Thursday Apr 22, 2010

NetBeans 6.9 beta available

NB 6.9 beta

The NetBeans team has now made version 6.9 beta available. Looking at it from the Java EE perspective you'll notice a focus on CDI (JSR 299 - Context and Dependency Injection) with improved support over 6.8. This includes proper EL completion on @Named beans, automatic creation of beans.xml, and more. This version of NetBeans ships (in the "Java" bundle) with GlassFish 3.0.1 b14 (see GlassFish Community Roadmap for details on the development schedule of this version).

There are no less than four tutorials on CDI: Getting Started with Contexts and Dependency Injection and JSF 2.0, Working with Injection and Qualifiers in CDI, Using CDI Injection to Perform Custom Validation, and Working with Events in CDI. In the web development space, you'll also get CSS refactoring and RESTful Web Services support for RCP apps.

OSGi and JavaFX are two other major themes in this 6.9 beta release. NetBeans now offers OSGi interoperability at the core platform level which makes it possible to develop and consume OSGi bundles with Felix 2.0.3 and experimental Equinox support. One can now also convert NetBeans modules into OSGi bundles and run them in an unmodified OSGi container.

On the JavaFX front, this release integrates the Composer (a visual editor for form-like UI, previously in preview) and more generally support for JavaFX 1.3 (SoMa). This version of the technology offers new and enhanced UI controls, TV development support and across the board performance improvements.

For more details on this release (PHP, Spring, C++, and more), check out the Product Page. Next stop for NetBeans 6.9 : June! Until then, make sure you try out the beta.

Monday Mar 08, 2010

Surviving GlassFish Without your IDE


Yesterday morning the USERS mailing list of GlassFish had a thread asking How to start and run GlassFishV3 without Netbeans... so, Alexis wrote and posted a quick Survival Guide on using GlassFish without an IDE .

From question to documentation in a few hours: self-publishing, no webmaster to contact, all links to online documentation... and no lawyer to check with :-)

Thursday Mar 04, 2010

GlassFish in February


The breadth and depth of the community is nicely illustrated by the variety of recent GlassFish-related blog posts. First, long time GlassFish supporter Masoud has a very detailed (it's actually a chapter of a book) OpenMQ from A to Z entry. On the operations side, Byron has a set of two posts on How to Run GlassFish V3 as a Service on Linux Ubuntu/Debian and a follow-up on using a non-root Service (see also thisGentoo variation by Jason), while Felipe's on provisioning GlassFish v3 resources with asadmin.

In the "nice words" category, Juliano has a nicely written "Java Enterprise Development - 2010 style" piece and Maksim says "GlassFish is becoming new de facto standard in Java applications. Development with new GlassFish v3 server and Eclipse now is really fast and comfortable. Server starts within a second, JEE6 is fully supported and hot code replacement works as it should.".

On the Java EE 6 and web tier side we have Bobby sharing a tool for exploring the platform, Aleksey discussing a "Grizzly 2.0: simple authentication example", while Justin puts GlassFish embedded to work with Wicket. Rene has a two-part article on running a Java EE 6 Client Application with Netbeans 6.8 and GlassFish V3 - Part 1: Creating a Basic Application and Part 2: Enhancing and Deploying the Application while Jacob goes through the simple setup to have GlassFish and Intellij 9 work together.

So while we wait for the GlassFish roadmap, we've seen one of the busiest month ever for February on the user mailing list and this recent message from the GlassFish Product Management "GlassFish, and by extension, Metro, are strategic Oracle products". Exciting times ahead!

Wednesday Jan 27, 2010

Additional WebCasts and FAQ From Oracle on Products and Community

Today was the Oracle Sun Strategy live webcast hosted by Charles Philips, John Fowler, Thomas Kurian, Edward Screven and others that ended with a Q&A with Larry Ellison. The recording is not yet available but Oracle released a number of other useful webcasts and docs today.


The Oracle + Sun Product Strategy Webcast Series has short (15-20') webcasts with more detailed information on most topics - e.g. App Server, Dev Tools, Manager/OpsCenter, Java, Cloud, Virtualization, OS, OpenOffice, etc.

The FAQ on Community Continuity that includes Java.Net, Java.Sun.Com, JavaOne, and more.

There is also a series of events around the world in a Welcome Sun Event Series.