Monday Feb 28, 2011

GlassFish 3.1 and NetBeans 7.0

Folks have been working feverishly to put the finishing touches on GlassFish Server 3.1... and it is strutting it's stuff on the virtual red carpet this morning... a finished product.

NetBeans 7.0 is still under development and will ship with GlassFish Server 3.1 when it is released . The dev build downloads have been bundling the latest promoted builds of GlassFish Server 3.1

The integration plugin has also allowed users to download the 'latest promoted build' for some time. I am making the code changes that will make the 3.1 FCS bits 'the bits' that get downloaded when the user decides to Download Now... the 3.1 server.

I have posted a number of blog entries that outline some of the features that are supported by GlassFish Server 3.1 and the integration with NetBeans:

Register an existing 3.1 install in NetBeans 7.0
The registration wizard automatically detects which kind of GlassFish Server (3.0 or 3.1) you are trying to register. In earlier implementations of the registration wizard the user had to select the version correctly.
Download and 'install' GlassFish Server OSE 3.1
The plugin had been allowing users to download and install promoted builds while the 3.1 release has been under development. Now that the server has shipped, the plugin allows users to download the release bits.
Restart a remote domain
This feature is actually supported by 3.0 and 3.1.
Enable/disable deployed applications
Users have been able enable and disable deployed applications and modules with asadmin. It wasn't considered to be a must have feature of plugin. That changed when the application versioning feature went live in 3.1 builds. When it became really easy for a project to become disabled (by deploying a new version of the project), it became important to be able to enable the older version after the user undeployed the latest version of project.
Restart a remote domain in debug mode
This is a feature of the plugin that only works with 3.1. This allows users to Debug->Debug Project when they are working with a project that targets a remote domain.
View the server log of a remote domain
This is a feature of the plugin that only works with 3.1, since it depends on the extended features of the REST interface of 3.1.
Create glassfish-\*.xml files for descriptors and resources.
These are new descriptor files associated with 3.1.
Web service management nodes in the Servers explorer
This is a feature of the plugin that only works with 3.1, since it depends on the extended features of the REST interface of 3.1.
Application scoped resources
Users can take advantage of this 3.1 feature by altering the location of the glassfish-resources.xml file in their projects that target 3.1. The integration plugin tracks the file's location so changes that are triggered by wizards and the like get written into the file correctly.
Wizards to create Oracle WebLogic Server deployment descriptors
This was added to the 3.1 plugin, so users would be able to create 'empty' descriptors for projects that do not actually target WLS.

Friday Aug 20, 2010

GlassFish Server 3.1 builds integrated into NetBeans dev builds

Big 'Thank you' to Dmitry Lipin.

Monday Jul 19, 2010

Restart a remote server in debug mode

Byron recently integrated a neat new feature into the GlassFish Server 3.1 code: support for restarting a server in debug mode with a single command. He did this by adding a new boolean option onto asadmin's subcommand "restart-domain". The new option is "--debug" and will usually appear as "--debug=true" or "--debug=false".

Folks should note that restart-domain also works with remote instances, so this allows you to restart a remote instance in debug mode without having to telnet/ssh/whatever onto that machine.

I have leveraged this new feature in the GlassFish Server integration module for NetBeans. Here are some of the changes that have been made:

  • Remote GlassFish Server 3.1 domains do not automatically appear to be in debug mode in the Runtime explorer. This has been an open bug for some time.
  • If the user triggers the 'Debug' action on a project that is deployed onto a GlassFish Server 3.1 domain, the server is restarted in debug mode... if the IDE thinks that the server is not in debug mode.
  • When a user triggers the Restart action on a GlassFish Server 3.1 domain, the domain will restart in 'normal' mode.


Vince Kraemer writes the entries in this blog.


« June 2016

No bookmarks in folder