Quickstart
- Download the Mister Model software and models.
- Uncompress the archives and install Mister Model like you would any other Perl module:
For this example, I assume you downloaded version 1.0.
- Create a model in Poseidon or download one of the example models.
- Write the model (in zuml form) onto the filesystem. For this example I
assume the model is called
mymodel.zuml
- Generate code for Java and Perl:
- Java
- Run the driver program:
/usr/local/bin/build_mister_model.pl --file mymodel.zuml --java
- 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
- Run the driver program:
/usr/local/bin/build_mister_model.pl --file
mymodel.zuml --perl
- Your code will be in the directory
./generated_sources/perl
.
- Test the generated code:
$ cd generated_sources/perl
$ perl Makefile.PL
$ make
$ make test
This simply tests to see that each module can be
use
d. If the tests are successful, become root
and install the modules into @INC
:
# make install
- 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.