EAR: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
=Overview=
=Overview=


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>.
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.


=Examples=
=Examples=


{{External|https://github.com/NovaOrdis/playground/tree/master/jee/ear/war-and-lib}}
{{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}}
{{External|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