• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

use of ejb-client-jar

 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

<ejb-client-jar>appclient.jar</ejb-client-jar>

I am trying to understand the meaning of this tag in DD. Does it mean that once the EJB is deployed, the Container will create this jar with all stubs required for client access.
But, where this jar will be present after deployment?I mean the location of this jar.

Thanks,
Prashant
 
Ranch Hand
Posts: 250
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does it mean that once the EJB is deployed, the Container will create this jar with all stubs required for client access.

You are Right.

The container will create this jar when it will run the ejbc{means during deployment} or you can create it yourself by running the ejbc. For example in case of weblogic if you have a jar file named test.jar that contains you ejb class and the interfaces and DD then you can run the ejbc like this

java weblogic.ejbc test.jar


This will create the client jar that you have specified in the <ejb-client-jar> tag. The location of the client jar is the directory where you run your ejbc.


hope that helps.
 
Prashant Neginahal
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Sawan.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic