The information on this page is an introduction for Java developers that want to get started with using the Java OpenMI Standard version 2. Naturally you need a working Java development environment, consisting of a JDK (Java Development Kit) and some kind of IDE or editor, which ever you prefer. The information on this page is based on the use of IntelliJ IDEA but other Java IDE's like Eclipse or Netbeans will do just as well. No advanced IDE features or Java frameworks are used in building the core part of OpenMI so a standard JSE JDK (5 or higher) is enough. The plan is not to store IDE specific project and settings files in the source code repository, only (maybe, in the near future) an Ant build file that compiles the jar.
Java OpenMI Standard Version 2
For Java the OATC (OpenMI Association Technical Committee) currently only provides the Standard consisting of Java interfaces and XML schemas. A jar (library) is provided for this. Implementing an SDK according to the Standard and things like (model) components, tools, graphical editors, etc. is left to the development community.
OpenMI 2 SDK and Tools
The OATC does not have at the moment the resources to provide a Java SDK nor a graphical editor for OpenMI 2.x. At least an SDK is necessary for effective developing with OpenMI. An SDK implementation for the previous version of OpenMI (1.4) is available as Open Source from the source code repository. Interested developers are invited to have a look and contribute in building a SDK for OpenMI 2. The C# SDK implementation can also be used as reference.
Information about Java OpenMI 1.4 and the SDK can be found here:
http://public.deltares.nl/display/OPENMI/How to get started with OpenMI 1.x and Java
Alterra, part of Wageningen University and Research Centre, is working on an SDK and tools for OpenMI 2 as open source development. Contact one of the Alterra's representatives in the OpenMI Association if you would like to contribute.
- Get a version of the Java Development Kit (JDK, at least JSE 5), e.g. http://java.sun.com/javase/downloads/index.jsp
- Get a Java IDE, for example http://www.eclipse.org/downloads/ Eclipse 3.x or http://www.jetbrains.com/idea/index.html IntelliJ IDEA 10.x
- Download the OATC OpenMI Standard version 2. The current source code, javadoc and jar file are available on the SourceForge repository at: