users@ejb-spec.java.net

[ejb-spec users] [jsr345-experts] Re: Packaging library jar(s) into an EJB module?

From: Reza Rahman <reza_rahman_at_lycos.com>
Date: Thu, 09 Feb 2012 09:10:21 -0500

+1.

On 2/8/2012 8:14 PM, Marina Vatkina wrote:
> Experts,
>
> As you know, while it's easy to package a library into a .war file or
> a .ear archive, there is no easy way to do the same for a stand-alone
> EJB module in a portable way. The only current option is to use a
> reference by adding a Class-Path attribute to the Manifest file of the
> EJB .jar file (or another referenced archive) but this is not portable
> as it requires to place referenced library in the specific location of
> the application server file system (in case that .jar file is not used
> from its original location).
>
> Do you thing the EJB spec should allow an EJB .jar file to have a lib/
> directory inside it? If yes, will there be any restrictions that we
> will need to address?
>
> Thank you,
> -marina
>
>
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.1913 / Virus Database: 2112/4796 - Release Date: 02/08/12
>
>