Quickstart

  1. Download the Mister Model software and models.
  2. Uncompress the archives and install Mister Model like you would any other Perl module:
    For this example, I assume you downloaded version 1.0.
  3. Create a model in Poseidon or download one of the example models.
  4. Write the model (in zuml form) onto the filesystem. For this example I assume the model is called mymodel.zuml
  5. Generate code for Java and Perl:
    • Java
      1. Run the driver program:
        /usr/local/bin/build_mister_model.pl --file mymodel.zuml --java
      2. Your code will be in the directory ./generated_sources/java. I recommend you jar your code immediately using Ant. You can find a sample buildfile in the t/ subdirectory of the Mister Model distribution.
    • Perl
      1. Run the driver program:
        /usr/local/bin/build_mister_model.pl --file mymodel.zuml --perl
      2. Your code will be in the directory ./generated_sources/perl.
      3. Test the generated code:
        $ cd generated_sources/perl
        $ perl Makefile.PL
        $ make
        $ make test
        This simply tests to see that each module can be used. If the tests are successful, become root and install the modules into @INC:
        # make install
  6. Write a web service and deploy it. (Refer to the web services section of the Mister Model site for more information on what matters there.