Collecting data about Java monolithic applications

To refactor your Java® monolithic applications, you collect static and runtime data about them with the code analyzer, binary instrumenter, and use case recorder data collector tools.

  1. Analyze your application code.

    Run the code analyzer to collect static data from your application code.

  2. (Optional) Collect runtime data to also get partitioning recommendations based on the business logic in the application.

    1. Instrument applications with the binary instrumenter.

      Run the binary instrumenter to enable collection of runtime data from your deployed application.

    2. Record business use case names and timing information with the use case recorder.

      Run the use case recorder to record running business use case names and their start and stop timestamps for your Java monolithic applications.

  3. Check collected data.

    Ensure that you have the files and directory structure that you need as input to the AI engine for partition recommendations.

The AI engine uses the output JSON files of the code analyzer and the use case recorder along with the generated runtime trace files to generate partition recommendations.

The IBM Mono2Micro™ documentation uses the Daytrader example application, which is an open source Java monolithic application.