-
Notifications
You must be signed in to change notification settings - Fork 21
/
README.txt
51 lines (39 loc) · 2.2 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
For running on JPMS, following modules are provided:
* mods/jakarta.json-api-${project.version}.jar - 'jakarta.json' module containing only API classes
* mods/parsson-${project.version}.jar - 'org.eclipse.parsson' module containing implementation
Integration with Jakarta RESTful Web Services:
* media/parsson-media-${project.version}.jar
* standalone/jakarta.json-${project.version}.jar - 'jakarta.json' module containing API classes and implementation, which serves as a fallback for environments
willing to support different implementations of Jakarta JSON Processing API while also providing some default implementation, such as application servers.
When this library is used, then Eclipse Parsson is the default implementation being provided.
NOTE: jakarta.json-api.jar and jakarta.json.jar CAN NOT co-exist together when running on JPMS. One can be used as a drop-in
replacement of the other wrt Jakarta JSON Processing API.
IMPORTANT NOTE: module names are not yet final and may change in the future releases
* If you are running with maven, you can use the following maven coordinates:
for the implementation:
<dependency>
<groupId>org.eclipse.parsson</groupId>
<artifactId>parsson</artifactId>
<version>${project.version}</version>
</dependency>
for APIs:
<dependency>
<groupId>jakarta.json</groupId>
<artifactId>jakarta.json-api</artifactId>
<version>${api.version}</version>
</dependency>
for Jakarta RESTful Web Services integration module:
<dependency>
<groupId>org.eclipse.parsson</groupId>
<artifactId>parsson-media</artifactId>
<version>${project.version}</version>
</dependency>
for Jakarta JSON Processing API which uses Eclipse JSONP as a default provider:
<dependency>
<groupId>org.eclipse.parsson</groupId>
<artifactId>jakarta.json</artifactId>
<version>${project.version}</version>
</dependency>
* GlassFish 6.x already bundles latest Jakarta JSON Processing implementation and Jakarta RESTful Web Services integration module.
If you deploy an application with GlassFish 6.x, your application (war/ear) doesn't have to bundle APIs nor the implementation.
* Samples can be run from https://github.com/eclipse-ee4j/glassfish-samples