geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ivanrc <iri...@indra.es>
Subject Re: deploy a client application in geronimo 2.0.2
Date Wed, 19 Dec 2007 23:03:48 GMT

Do you have any JEE application client´s example that deployed well in
geronimo 2.0.2?


David Blevins wrote:
> 
> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Re%3A-deploy-a-client-application-in-geronimo-2.0.2-tp14426462s134p14427273.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message