mercoledì 2 febbraio 2011

EAR and enterprise servers

The purpose of EAR (Enterprise Archive) files is to have the possibility to deploy an enterprise application on whatever server you want without modify the code.
Unfortunately it is not the case.

I used EAR v5.0 and I tried the following server:

  • Glassfish v3: the application is deployed without problems.
  • JBoss v6.0: error in the deployment., the log is incomprehensible
  • Apache Geronimo: initial error in deployment. The log message says clearly  that a Main class in the application Client is missing. After adding a Main class with an empty main method, the application is correctly deployed.

Nessun commento: