You will need sever things:

1) Create an application-clien.xml file that defines the ejb's needed for 
your application. For example if foo was an ejb deployed as fooejb, your 
application-client file should read:
<application-client>
        <display-name>MyApplication</display-name>
        <description></description>
        <ejb-ref>
                <ejb-ref-name>fooejb</ejb-ref-name>
                <ejb-ref-type>Entity</ejb-ref-type>
                <home>fooHome</home>
                <remote>foo</remote>
        </ejb-ref>
</application-client>


2) Create an orion-application-client.xml file that defines which ejb's your 
application will use. Again if foo were the only ejb used the 
orion-application-client.xml file would look as follows:

<orion-application-client>
  <ejb-ref-mapping location="fooejb"      name="fooejb" />
</orion-application-client>


3) Package a jar that has all the necessary class files ( home, remote, 
client ) along with the xml files defined above. Keep in mind that the xml 
files must be named as mentioned in this email.


Hope this helps,
-Danno

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


Reply via email to