I deployed an EAR package on Jboss 3.2.6/Jdk 1.4.2/Windows. This EAR contain

- a jar file for EJB
- a war file for webapp
- a jar file for Client application (to access EJB)

My client application have a application-client.xml file on META-INF:

<?xml version="1.0"?> 
<!DOCTYPE application-client PUBLIC
        "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.3//EN"
        "http://java.sun.com/dtd/application-client_1_3.dtd";>

<application-client>
    <display-name>ExampleClient</display-name>
    <ejb-ref>
            <ejb-ref-name>ejb/GestionClient</ejb-ref-name>
        <ejb-ref-type>Session</ejb-ref-type>
        com.leroymerlin.refclient.back.service.GestionClientHome
        com.leroymerlin.refclient.back.service.GestionClientRemote
        <ejb-link>GestionClient</ejb-link>
    </ejb-ref>
</application-client>

a jboss-client.xml file (META-INF)

<!DOCTYPE jboss-client PUBLIC
       "-//JBoss//DTD Application Client 3.2//EN"
       "http://www.jboss.org/j2ee/dtd/jboss-client_3_2.dtd";>

<jboss-client>
        <jndi-name>ExampleClient</jndi-name>
        <ejb-ref>
                <ejb-ref-name>ejb/GestionClient</ejb-ref-name>
                <jndi-name>ejb/GestionClient</jndi-name> <!-- ejb (implements 
SessionBean) -->
        </ejb-ref>
</jboss-client>

a manifest file specifying the Main-Class to run.

Does the Main-Class must be specifying on application client manifest file or 
ear manifest file ?

Do you have a sample command launch ?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907162#3907162

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907162


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to