Uma das maneiras e colocar sua biblioteca no ear da aplicacao. Veja recortes
que podem ajudar:


What is an EAR?
EAR stands for "Enterprise Application Archive". EARs are a J2EE module that
represents a standalone application containing other J2EE modules such as
EJBs, and web applications (.war files). EARs were introduced in the J2EE
specification as a way to package all required files for an application into
a single archive.


Package your application in an ear file. An ear file is a jar archive which
contains:
Your jar files
Your war files
A deployment descriptor for your application. This file must be named
"application.xml", and must be located in the META-INF directory in the ear
archive. This file tells jboss which modules are EJBs, which ones are web
modules, and the context paths for the web-modules. Here is a sample
application.xml file:
<?xml version="1.0" encoding="ISO-8859-1"?>

<application>
    <display-name>My application</display-name>

    <module>
        <web>
            <web-uri>webmodule.war</web-uri>
            <context-root>/servlets</context-root>
        </web>
    </module>

    <module>
        <ejb>beans.jar</ejb>
    </module>

</application>
See also the DTD for application.xml on Javasoft's website.




-----Mensagem original-----
De: Felipe Gaucho [mailto:[EMAIL PROTECTED]]
Enviada em: quinta-feira, 26 de dezembro de 2002 12:01
Para: discussao-cejug
Assunto: [cejug-discussao] ENC: Returned post for [EMAIL PROTECTED]


tenho um EJB com referencias a objetos de classes externas, ou seja, de um
pacote *.jar de outro desenvolvedor.

como eu configuro o JBoss para enxergar este pacote externo?

coloco no lib? no classpath?

qualquer dica sera bem-vinda :^))

        Felipe Gaucho


-----Mensagem original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Enviada em: quinta-feira, 26 de dezembro de 2002 14:36
Para: [EMAIL PROTECTED]
Assunto: Returned post for [EMAIL PROTECTED]


Hi! This is the ezmlm program. I'm managing the
[EMAIL PROTECTED] mailing list.

I'm working for my owner, who can be reached
at [EMAIL PROTECTED]

I'm sorry, your message (enclosed) was not accepted by the moderator.
If the moderator has made any comments, they are shown below.


-------------------------------------------------------------------------------------------

Ceara' Java User Group

  Para cancelar sua assinatura, envie um e-mail para: [EMAIL PROTECTED]
  Para mais informacoes, mande um e-mail para: [EMAIL PROTECTED]
  Falar com o administrador? e-mail para: [EMAIL PROTECTED] 
 

Responder a