On Dec 18, 2007, at 7:46 AM, ivanrc wrote:



Hello,

Where I can find samples of the xml descriptors (client- application.xml and
geronimo-application-client.xml) about and application that running in
geronimo 2.0.2?

I´ve got this client-application.xml but dont work in geronimo 2.0.2

<?xml version="1.0"?>
<!--DOCTYPE application-client PUBLIC
   "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN"
   "http://java.sun.com/j2ee/dtds/application-client_1_2.dtd"-->
<application-client xmlns="http://java.sun.com/xml/ns/j2ee";
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
   http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd";
   version="1.4">

   <display-name>dW Geronimo Application Client Example</display-name>
   <ejb-ref>
       <ejb-ref-name>ejb/CategoryEntityBean</ejb-ref-name>
       <ejb-ref-type>Entity</ejb-ref-type>
       <home>com.ibm.dw.reallybigpet.ejb.cmp.CategoryHome</home>
       <remote>com.ibm.dw.reallybigpet.ejb.cmp.CategoryRemote</remote>
   </ejb-ref>
</application-client>

If you add the <ejb-link> element to your <ejb-ref>, package your app client with your ejbs in an ear file and deploy that (the ear), it should work without any corresponding geronimo-application-client.xml

-David

Reply via email to