See Chapter 3, Extending the Administration Console, in Oracle GlassFish Server 3.0.1 Add-On Component Development Guide.