Open Warehouse Management System
Java
Switch branches/tags
Nothing to show
Clone or download

README.md

OpenWMS.org

Is a free to use and extensible Warehouse Management System to control the material flow within automated and manual warehouses.

Resources

Wiki at Atlassian Confluence

Build status License Quality Join the chat at https://gitter.im/openwms/org.openwms

Current state of development

All components are currently under development. From a technical point of view they are moved from OSGi bundles towards a more business oriented architecture using Spring Boot and Netflix OSS components. Documentation of previous released versions can be found on SourceForge.net.

Current Architecture

Instead of applying a technical layered architecture (like we did with OSGi and before that with J2EE1.4) the current architecture focuses on business components. Business functions with a high degree of cohesion are kept together within a deployable software component. Each component has it's own development lifecycle with an API evolution roadmap and an isolated data store. The following sketch shows all currently existing as well as planned components of the OpenWMS.org system together with all potential surrounding systems.

Architecture

Beside the user interface, several other systems interact with the OpenWMS.org system. On top, we have ERP systems. They send high-level tasks to OpenWMS.org, e.g. a customer order with order positions where each position refers to a product that is known by the Inventory Service. OpenWMS.org fulfills these tasks by orchestrating the underlying subsystem. The communication between OpenWMS.org and an ERP system may not be unidirectional only, OpenWMS.org can although send status messages to the ERP or may request product catalog updates, this depends on project needs. On the bottom we have devices that are close to actors and sensors in automated warehouse projecty. Those devices are almost all limited in hardware resources and protocol stacks. Typically PLC (Programmable Logic Controllers) are used to interact with field sensors and to control actors. OpenWMS.org is open source software and therefore promotes the usage of open source hardware components over commercial PLC products. The first choice of supported devices are boards, like Arduino or Raspberry Pi, with an open microcontroller architecture, free to use. All these subsystems in the field area have one thing in common: They are close to the hardware and expect to get responses from the server in no time to control motors and switch gates to the right direction. They although have the power to bring a serving component down just by sending requests all the time. Typical web applications are different in that the infrastructure takes care of DoS attacks and the application server pools incoming traffic for us.

Read more about each components architecture and design on the components Github page.

Previous Architectures

The project started in 2005 with an J2EE server approach based on EJB2.1 with XDoclets, Hibernate and JavaServer Faces (JSF). In more than 10 years we've seen a bunch of technologies that all address the same problems.

A POC has been implemented with EJB2.1, but the project actually started with EJB3.0. Since about 2007 OpenWMS.org is on the Spring Framework and this is fine. Spring in combination with OSGi seemed to be the right choice to build a modular and extensible project base. Unfortunately Spring stopped there efforts on OSGi, in particular on Spring dmServer and Spring Dynamic Modules. In a transition to the current microservice architecture, we started to put all the OSGi bundles into a fat JavaEE WAR deployment unit to run the application on a servlet container like Apache Tomcat.

Technologies

In addition to a bunch of Spring Framework projects, OpenWMS.org uses Activiti as embedded workflow engine to take routing decisions in the TMS layer. RDBMS access is shielded with the Java Persistence API. Some components might use NoSQL databases, like MongoDB, solely. RabbitMQ is used in combination with Spring Integration as notification and event broker. All hexagon components are Spring Boot applications designed to run on a PaaS, currently deployed to Heroku

Microservices

11 12 11 12 11 12 11 12 11 12 11 12 11 12 11 12
2 3 4 5 6 7 8 9
11 12
10

Release

$ mvn clean deploy -Prelease,gpg