I have an application that is a portal application, and I want to allow other users to add their applications to it. To do this, I need to somehow access my applications on mine. Is it possible?
You cannot enter a WAR inside other WARs. You need an EAR file to contain WARs, EJB, etc. One way to implement interagency communication is to package this logic directly into the EAR. It all depends on what you are trying to do.
inter.WAR http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContext.html#getContext(java.lang.String)
ServletContext.getContext(URIOfOtherWAR_resource)
, , .
, - , , (). : JSR 168 : http://developers.sun.com/portalserver/reference/techart/jsr168/
, WARs WAR . .
-, , / " / ", , WAR .
, , WAR, . - . - . .
, , , - . . , ( ), .
Source: https://habr.com/ru/post/1697987/More articles:How else can an architectural document be presented, moreover, as a series of representations? - language-agnosticHow to implement authentication with Querystring - authenticationHave you ever used CSLA? - ormCould not start debugging in Visual Studio 2005 - visual-studioCan MySql 5.0 have an idea of a table located on another server - mysqlasp.net: is it possible to split large ASP.NET pages into parts? - asp.netBlock Active Directory accounts programmatically - c #What is monitored and how should it be done? - .netHow can I unzip the newest file in a directory in a .bat file? - build-processFilter "list" divs with javascript - jqueryAll Articles