EAR: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 6: Line 6:


* [[Maven ear Plugin]]
* [[Maven ear Plugin]]


=Overview=
=Overview=


A web application that is deployed within an EAR is available by default at:
A web application that is deployed within an EAR is available by default at <tt>http://<host>:<port>/<context-root></tt> where <tt>[[Application.xml#.3Ccontext-root.3E|context-root]]</tt> is the value specified in <tt>[[application.xml|application.xml]]</tt>. The name of the EAR does not show up in the URL.


http://<host>:<port>/<ear-name>/<context-root>
=Examples=


where
{{External2|https://github.com/NovaOrdis/playground/tree/master/jee/ear/war-and-lib|https://github.com/NovaOrdis/playground/tree/master/jee/ear/war-and-ejb}}

Latest revision as of 18:28, 7 April 2017

Internal

Organizatorium

Overview

A web application that is deployed within an EAR is available by default at http://<host>:<port>/<context-root> where context-root is the value specified in application.xml. The name of the EAR does not show up in the URL.

Examples

https://github.com/NovaOrdis/playground/tree/master/jee/ear/war-and-lib
https://github.com/NovaOrdis/playground/tree/master/jee/ear/war-and-ejb