User Tools

Site Tools


j2ee_on_gentoo:j2ee-config

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
j2ee_on_gentoo:j2ee-config [2007/04/26 09:49] – создано slonopotamusj2ee_on_gentoo:j2ee-config [2007/12/24 13:54] – external edit 127.0.0.1
Line 1: Line 1:
 [[j2ee_on_gentoo:|Back]] [[j2ee_on_gentoo:|Back]]
 ====== j2ee-config ====== ====== j2ee-config ======
 +j2ee-config is the central tool for J2EE-applications manipulation.
 +
 +===== Features =====
 +j2ee-config should be much like webapp-config.
 +
 +Differences:
 +  * j2ee-config should not know about particular servers. Instead, servers should provide meta info which should describe them for j2ee-config.
 +  * j2ee-config is aware of specifications that servers provide and applications use. Such as Servlet API, EJB, JMS, Portlet API, etc. j2ee-config should be aware of specification versions. It should check presense of required specification when application is installed to server.
 +  * j2ee-config should be able to install several the same applications ('application instances' in glep11) to one server with different aliases (/app1/, /app2/). Configs for those application instances should be separate.
 +
 +
 +===== Functions =====
   * List available servers (''j2ee-config -ls/--list-servers'')   * List available servers (''j2ee-config -ls/--list-servers'')
   * List available applications (''j2ee-config -la/--list-apps'') with bindings to servers (like ''rc-update show'')   * List available applications (''j2ee-config -la/--list-apps'') with bindings to servers (like ''rc-update show'')
-  * Add application to server (''j2ee-config -I/install APP SERVER'') with compatibility check. +  * Add application to server (''j2ee-config -I/install APP SERVER [alias]'') with compatibility check. 
-  * Remove application from server (''j2ee-config -C/clean APP'')+  * Remove application from server (''j2ee-config -C/clean APP SERVER [alias]'')
   * Show version (''j2ee-config -v'')   * Show version (''j2ee-config -v'')