@@ -3,29 +3,40 @@ title: Install Guide for Java EE
3
3
template: page.html
4
4
---
5
5
6
- ## Install Guide for Java EE
6
+ [[install-guide-for-java-ee]]
7
+ Install Guide for Java EE
8
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
7
9
8
- MVC is built on top of JAX-RS. This means that Ozark can be run on most application servers without
9
- any additional configuration. You will just need to include the MVC API JAR as well as the Ozark module
10
- for the JAX-RS implementation shipped with your application server.
10
+ MVC is built on top of JAX-RS. This means that Ozark can be run on most
11
+ application servers without any additional configuration. You will just
12
+ need to include the MVC API JAR as well as the Ozark module for the
13
+ JAX-RS implementation shipped with your application server.
11
14
12
- Ozark requires at least the Java EE 8 Web-Profile or the Eclipse MicroProfile.
15
+ Ozark requires at least the Java EE 8 Web-Profile or the Eclipse
16
+ MicroProfile.
13
17
14
- Note: The MVC specification and Ozark are under active development. Therefore, you will have to add
15
- the Sonatype OSS snapshot repository to your POM to get the latest and greatest version.
16
- Please refer to [ Setting up the snapshot repository] ( install-snapshots.html ) for details.
18
+ Note: The MVC specification and Ozark are under active development.
19
+ Therefore, you will have to add the Sonatype OSS snapshot repository to
20
+ your POM to get the latest and greatest version. Please refer to
21
+ link:install-snapshots.html[Setting up the snapshot repository] for
22
+ details.
17
23
18
- ### Required dependencies
24
+ [[required-dependencies]]
25
+ Required dependencies
26
+ ^^^^^^^^^^^^^^^^^^^^^
19
27
20
- The dependencies you need to add to your ` pom.xml ` file depend on which application server
21
- your are using.
28
+ The dependencies you need to add to your `pom.xml` file depend on which
29
+ application server your are using.
22
30
23
- #### Glassfish/Payara
31
+ [[glassfishpayara]]
32
+ Glassfish/Payara
33
+ ++++++++++++++++
24
34
25
- Glassfish comes with Jersey as its JAX-RS implementation. Please add the following dependencies
26
- to your application:
35
+ Glassfish comes with Jersey as its JAX-RS implementation. Please add the
36
+ following dependencies to your application:
27
37
28
- ``` xml
38
+ [source,xml]
39
+ ----
29
40
<dependency>
30
41
<groupId>javax.mvc</groupId>
31
42
<artifactId>javax.mvc-api</artifactId>
@@ -36,13 +47,17 @@ to your application:
36
47
<artifactId>ozark-jersey</artifactId>
37
48
<version>{{versions.ozark.develop}}</version>
38
49
</dependency>
39
- ```
50
+ ----
40
51
41
- #### Wildfly and JBoss EAP
52
+ [[wildfly-and-jboss-eap]]
53
+ Wildfly and JBoss EAP
54
+ +++++++++++++++++++++
42
55
43
- Wildfly is using RESTEasy for JAX-RS. So you need to Ozark RESTEasy integration module:
56
+ Wildfly is using RESTEasy for JAX-RS. So you need to Ozark RESTEasy
57
+ integration module:
44
58
45
- ``` xml
59
+ [source,xml]
60
+ ----
46
61
<dependency>
47
62
<groupId>javax.mvc</groupId>
48
63
<artifactId>javax.mvc-api</artifactId>
@@ -53,14 +68,18 @@ Wildfly is using RESTEasy for JAX-RS. So you need to Ozark RESTEasy integration
53
68
<artifactId>ozark-resteasy</artifactId>
54
69
<version>{{versions.ozark.develop}}</version>
55
70
</dependency>
56
- ```
71
+ ----
57
72
58
- #### Wildfly Swarm
73
+ [[wildfly-swarm]]
74
+ Wildfly Swarm
75
+ +++++++++++++
59
76
60
- We currently don't have a dedicated fraction for wildfly Swarm, but you can use the
61
- JAX-RS fraction and add the same dependencies as required for Wildfly:
77
+ We currently don't have a dedicated fraction for wildfly Swarm, but you
78
+ can use the JAX-RS fraction and add the same dependencies as required
79
+ for Wildfly:
62
80
63
- ``` xml
81
+ [source,xml]
82
+ ----
64
83
<dependency>
65
84
<groupId>org.wildfly.swarm</groupId>
66
85
<artifactId>jaxrs</artifactId>
@@ -75,17 +94,22 @@ JAX-RS fraction and add the same dependencies as required for Wildfly:
75
94
<artifactId>ozark-resteasy</artifactId>
76
95
<version>{{versions.ozark.develop}}</version>
77
96
</dependency>
78
- ```
97
+ ----
79
98
80
- #### Apache TomEE
99
+ [[apache-tomee]]
100
+ Apache TomEE
101
+ ++++++++++++
81
102
82
- Apache TomEE uses CXF as the JAX-RS implementation. Unfortunately there are some known bugs in CXF
83
- which are causing trouble for Ozark. The latest CXF release should fix these issues, but Apache TomEE
84
- currently ships with an older CXF release.
103
+ Apache TomEE uses CXF as the JAX-RS implementation. Unfortunately there
104
+ are some known bugs in CXF which are causing trouble for Ozark. The
105
+ latest CXF release should fix these issues, but Apache TomEE currently
106
+ ships with an older CXF release.
85
107
86
- If you want to give Ozark on Apache TomEE a try, add the following dependencies to your ` pom.xml ` :
108
+ If you want to give Ozark on Apache TomEE a try, add the following
109
+ dependencies to your `pom.xml`:
87
110
88
- ``` xml
111
+ [source,xml]
112
+ ----
89
113
<dependency>
90
114
<groupId>javax.mvc</groupId>
91
115
<artifactId>javax.mvc-api</artifactId>
@@ -96,12 +120,14 @@ If you want to give Ozark on Apache TomEE a try, add the following dependencies
96
120
<artifactId>ozark-core</artifactId>
97
121
<version>{{versions.ozark.develop}}</version>
98
122
</dependency>
99
- ```
123
+ ----
100
124
101
- If using CXF with Ozark is causing trouble, you can also manually add RESTEasy to your application
102
- and use this instead of CXF. To do so, use the following depndencies instead.
125
+ If using CXF with Ozark is causing trouble, you can also manually add
126
+ RESTEasy to your application and use this instead of CXF. To do so, use
127
+ the following depndencies instead.
103
128
104
- ``` xml
129
+ [source,xml]
130
+ ----
105
131
<dependency>
106
132
<groupId>javax.mvc</groupId>
107
133
<artifactId>javax.mvc-api</artifactId>
@@ -122,6 +148,6 @@ and use this instead of CXF. To do so, use the following depndencies instead.
122
148
<artifactId>resteasy-servlet-initializer</artifactId>
123
149
<version>3.1.4.Final</version>
124
150
</dependency>
125
- ```
151
+ ----
126
152
127
- That's all. Now you can start developing your first MVC 1.0 application.
153
+ That's all. Now you can start developing your first MVC 1.0 application.
0 commit comments