Tuesday, 22 December 2015

Basic JDK tools and utilities

As an Application Admin/ developer and Architect, we need to know basic functionalities of JDK tools to run, configure, manage and monitor java applications. I tried to list few of them and would describe them in next blogs.

javac        The compiler for the Java programming language.

java          The launcher for Java applications.

javadoc    API documentation generator.

apt           Annotation processing tool. See Annotation Processing Tool for  program annotation processing.

appletviewer    Run and debug applets without a web browser.

jar    Create and manage Java Archive (JAR) files.

jdb    The Java Debugger.

javah    C header and stub generator. Used to write native methods.

javap    Class file disassembler

extcheck    Utility to detect Jar conflicts.

keytool    Manage keystores and certificates.

jarsigner    Generate and verify JAR signatures.

policytool    GUI tool for managing policy files.

native2ascii    Convert text to Unicode Latin-1.

rmic    Generate stubs and skeletons for remote objects.

rmiregistry    Remote object registry service.

rmid    RMI activation system daemon.

serialver    Return class serialVersionUID.

tnameserv    Provides access to the naming service.

idlj    Generates .java files that map an OMG IDL interface and enable an application written in the Java programming language to use CORBA functionality.

orbd    Provides support for clients to transparently locate and invoke persistent objects on servers in the CORBA environment. ORBD is used instead of the Transient Naming Service, tnameserv. ORBD includes both a Transient Naming Service and a Persistent Naming Service. The orbd tool incorporates the functionality of a Server Manager, an Interoperable Naming Service, and a Bootstrap Name Server. When used in conjunction with the servertool, the Server Manager locates, registers, and activates a server when a client wants to access the server.

servertool    Provides ease-of-use interface for the application programmers to register, unregister, startup, and shutdown a server.