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 Sep 09, 2010

Friday Tips #7: YourKit Profiler, Improvements in Metro, Scala and JSF, Chameleons...

Here are some tips that have been recently published on Java EE 6 & GlassFish:

Informational Sign

• YourKit Java Profiler (Overview) 9.0 Released with Support for GlassFish 3
• YourKit Java Profiler 9.5 Early Access Program
Security Token Service and Identity Delegation with Metro
JAX-WS RI web services deployment made simplified
New Asynchronous Servlet Transport in JAX-WS RI
wsimport -clientjar option to ease the client-side web service programming
Scala, JSF 2, and NetBeans
JSF 2.0 hello world example
Chameleon GlassFish (X-Powered-By: and Server:)
• StackOverflow - Q&As for GlassFish and Hudson
Recent label and matrix project improvement (for Hudson)

Let us know if you have seen or published a detailed tip like shown above and we'll be happy to share them.

Wednesday Jun 23, 2010

Eclipse 3.6 (Helios) & GlassFish


Eclipse 3.6 is now available as a final release. This is the yearly major release for the IDE and its main projects such as WTP (the one most relevant for server-side developers). Ludo has all the details if you want to use this release with GlassFish : v3 and 3.0.1 of course but also earlier v2.x versions.

While for earlier versions of Eclipse developers had the choice of using the GlassFish Tools Bundle for Eclipse (an all-in-one bundle) or simply adding the GlassFish plugin using a pre-wired software site, it's a tiny bit more complicated for the time being with this 3.6/Helios release. You'll need to add as a new software site (preferences>install/update>Available Software Site) and install the plugin (Help>Install New Plugin) while making sure that "Group Items by Category" is unchecked.

Real soon now this feature should be on the Eclipse marketplace (check this out) and in the longer term, the GlassFish plugin is being moved to the Oracle Enterprise Pack for Eclipse (OEPE). Finally, note that no matter how you get the plugin, it'll come with full Java EE (5 & 6) javadocs. Feedback and bug reports should go to

PS: it's fun to see Sun Microsystems still listed in the IDE's splash screen.

Wednesday Jul 15, 2009

Benefits of Open Source - Using Internet Tools


One of the unforeseen impacts of OpenSource on the developmet of GlassFish has been the large set of internet tools that we regularly use on it. Some of them are...

• Code Analysis Tools like: SVNSearch, Ohloh, FishEye and FindBugs (old!)
• Mail Archiving tools like: MarkMail and Nabble.
• RSS Search Engines like Bloglines and Icerocket
• Search tools like Google and Bing, with new variants like BingTweets.

What other internet tools do you use with GlassFish? BTW, the image at left is the Collaboration Graph, via SVNSearch.

Saturday Jul 12, 2008

Do You Want it? - Generic HTML Designer in NetBeans


Winston is asking for feedback on his proposal for a Generic Web Page Designer for NetBeans. The basic principle is to embed XULRunner (Wikipedia, Home, MozillaWiki, Tutorial, Use in Eclipse) into NetBeans.

The notion seems reasonable but this is not my area, so, if you can provide feedback, please check out Winston's post. The actual NetBeans proposal is WebPageDesigner, the proposal for the prerequired embedding is EmbeddebBrowser.

Running VisualVM on MacOS X


I wrote about VisualVM yesterday (entry) but I had missed Octavian's Introduction where he gives instructions on how to use VisualVM on MacOS X.

As a reminder, to run the VisualVM client you need a recent JVM, so you will need to use the latest JVM from Apple, but the app can run in a variety of JVMs, remote or local to VisualVM. VisualVM can even save the data into a snapshot and process it offline.

Check Octavian's Note for details.

Friday Jul 11, 2008

VisualVM 1.0 Now Available!


VisualVM 1.0 is Now Available! VisualVM is a GUI-based, extensible, monitoring and performance analysis tool that is the next generation to the older, mostly CLI-based, tools in Sun's JDK distribution.

VisualVM is part of the latest JDK: JDK 6 Update 7 (DZone, OnTheRecord, download) but it can monitor older JVMs.

Plug-ins are key to the success of VisualVM. They can be loaded directly from the tool and the current list includes a JConsole Container Plugin (for backward compatiblity), and Plugins for GlassFish, BTrace and a Thread Dump Analyzer.

For more information check out:

VisualVM home site, ScreenCast at JavaOne, Features.
• Plugins: web page, Docs.
• Overviews at InfoQ and DZone
• Overview/Intro Blogs: Octavian, Luis-Miguel
• Regular bloggers in the topic include Luis-Miguel and Geertjan

Thursday May 29, 2008

Take it for an Early Drive: Fuji Experimental Tooling


Talking a bit more with Andi and Kirill after posting From Russia with Love they pointed me to the OpenESB Wiki page on Dynamic Services Composition describing the experiment. There is also a live sample you can try.

The whole thing is in early experimentation phase; the sample is pure layout, it does nothing yet, but I'm highlighting it here because it might elicit other groups to think of synergies with this effort.

Check it out and give us feedback.

Friday May 23, 2008

From Russia With Love - Fuji ( Tooling in your Browser


Check out this teaser screencast from Kirill on Fuji Tooling. The whole Fuji effort feels right on target. I think the next few months are going to be very interesting as the effort for Fuji and OpenESB ramps up.

BTW, I need to check on Kirill about how modern-day Russians feel about old movies like From Russia With Love, although in this one the bad guys are S.P.E.C.T.R.E.!

Wednesday Feb 06, 2008

SXDE (Solaris eXpress Developer Edition) 1/08 is out

SXDE image

Solaris Express Developer Edition (SXDE), the Sun OpenSolaris-based distribution for Solaris, Java, and Web 2.0 developers has a new release out: 1/08. Ludo has a post about the integrated web stack as well as a 10-minute screencast.

After giving SMF privileges for Apache/mySQL servers, Ludo shows how the user can use a very simple graphical tool to start/stop and configure services. He also walks you through a small PHP/jMaki/Ajax pre-packaged demo with a mySQL backend. He finally uses NetBeans' PHP support and auto-registering of the AMP-stack to author and debug a simple PHP application. Pretty slick!

SXDE also comes with the NetBeans 6/GlassFish v2 pre-configured bundle and if you're using the VMWare image, I would recommend upgrading the amount of memory from 512 to 2Gb. And in case you're wondering, the VMWare image password for root is SXDE (see also the FAQ).

Check out also Ludo's previous interview on GlassFish tooling.

Friday Dec 07, 2007

Podcast episode on GlassFish tooling

GlassFish Podcast image

This interview with Ludo Champenois from the GlassFish team discusses the general developer experience with GlassFish as well as with IDEs such as NetBeans and Eclipse. We go into the save/reload paradigm for web and Ajax apps (using jMaki for instance), incremental deployment possibilities, value and role of IDEs for Java EE 5, best OS for developers, and more.

You can subscribe to this podcast by searching for "glassfish" on the iTunes online store, by clicking here or using this feed for by any other podcatcher.

Thursday Nov 08, 2007

Sailfin Tooling Update

Vince Kraemer

Sailfin development is moving along nicely and so is it's tooling part now with SIP Application Development Module version 0.2 for NetBeans 6.0 and a detailed installation document.

•  new is a "Converged Servlet Application" project template.
•  full specifications are listed in this document.

As detailed in this document, the next sailfin milestone build in December is Feature freeze.

Tuesday Oct 09, 2007

Metro Tools in NetBeans, Eclipse and others


Vivek provides a good summary of tooling options in Metro.

NetBeans 6 provides support for simple Hello World to adding different Quality of Service along with .NET 3.0 interoperability.

Within Eclipse, you can use either of SOAP UI plugin, Ant build script, CLI or Maven-based tools. The last three options are available for use outside the IDE as well.

Let us know if you are interested in writing a Metro plugin for Eclipse.

Tuesday Sep 25, 2007

JBuilder Now Supports GlassFish

Radio Receiver Icon

JBuilder 2007 now supports GlassFish:

• JBuilder Product Page and FAQ (PDF).
• Also check DavidI's blog .

Saturday Jul 14, 2007

jMaki Support in Eclipse 3.3 Europa

Eclipse Europa

One of the primary ways to technology adoption is making it available on a wide variety of tools.

jMaki enabled web applications can be easily developed and deployed using NetBeans IDE already. This new screencast shows how jMaki plug-in can be installed in Eclipse 3.3. It also shows how the rich set of widgets from different toolkits can be added to a web application using drag-and-drop and deployed on GlassFish, all from within Eclipse.

Let us know if you are interested in developing a jMaki plug-in for IDE of your choice.