Sun GlassFish Enterprise Server v3 Prelude Add-On Component Development Guide

Specifying the Default Value of a Parameter

The default value of a parameter is the value that is applied if a user omits the parameter when running the command.

To specify the default value of a parameter, set the defaultValue element of the @Param annotation to a string that contains the default value. If you do not set this element, the parameter has no default value.