From 70867827a8aa48068cf08bc545e4b82ca749eaa1 Mon Sep 17 00:00:00 2001 From: Villu Ruusmann Date: Sat, 13 Feb 2021 22:04:35 +0200 Subject: [PATCH] Updated documentation --- README.md | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eecfc896..090935dc 100644 --- a/README.md +++ b/README.md @@ -93,16 +93,40 @@ JPMML-Evaluator library JAR files (together with accompanying Java source and Ja The current version is **1.5.11** (12 January, 2021). +### Java SE 8 ### + +Java SE 8 provides a JAXB runtime. + ```xml org.jpmml pmml-evaluator 1.5.11 +``` + +### Java SE 9 and newer ### + +Java SE 9 and newer do not provide a JAXB runtime. +A standalone application needs to be packaged with full JAXB API and implementation classes. An embedded application should consult with the application container about the availability of JAXB classes, and fill the gaps, if any. + +Choosing JPMML-Evaluator with [GlassFish Metro](https://metro.java.net) JAXB runtime: + +```xml + + org.jpmml + pmml-evaluator-metro + 1.5-SNAPSHOT + +``` + +Alternatively, choosing JPMML-Evaluator with [EclipseLink MOXy](https://www.eclipse.org/eclipselink) JAXB runtime: + +```xml org.jpmml - pmml-evaluator-extension - 1.5.11 + pmml-evaluator-moxy + 1.5-SNAPSHOT ```