How the iDempiere micro microservices work
The iDempiere micro microservices are standalone Java 1.8 applications packaged as self-contained executable JARs.
Runtime Prerequisities
To run iDempiere micro microservices Java Runtime Environment (JRE) 8 or higher e.g. OpenJDK 8 is required.
Database
The iDempiere micro microservices use the same database as iDempiere. Since not only the same object-relational mapping engine is used, but also the same iDempiere business logic classes are shared between these two project, the data are stored exactly in the same way making them directly usable from the iDempiere User Interface.
The Database JDBC URL is set in the Database.url
configuration parameter (e.g. in DATABASE_URL
environment variable) for example like jdbc:postgresql://localhost:5433/idempiere
. The user name and password to connect to the iDempiere database are set in the Database.username
and Database.password
parameters following the iDempiere approach of a technical user to be used for all the database calls.
Web API
Each of the iDempiere micro microservices opens an HTTP endpoint allowing REST and GraphQL calls to be made.