Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • 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
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

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.
 
Happily living in the valley of the dried frogs with a few tiny ads.
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic