• Post Reply Bookmark Topic Watch Topic
  • New Topic

use of ejb-client-jar  RSS feed

 
Prashant Neginahal
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • 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
 
sawan parihar
Ranch Hand
Posts: 250
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Thanks Sawan.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!