See Chapter 3, Extending the Administration Console, in Sun GlassFish Enterprise Server v3 Add-On Component Development Guide.