Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Do we have this in DD?

 
Nicky Eng
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
do we have this in DD:

<resource-ref></resource-ref>

???
 
Bimal Patel
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nicky,

Yes, we do have. But I am not able to collect much on that. I don't know the purpose too. I've found this on which you can go through.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the servlet spec (link in my signature), in section SRV.13.4, item #24:


24. resource-ref Element
The resource-ref contains the declaration of a deployment component s reference to the external resource. The res-ref-name specifies the name of a resource manager connection factory reference. The name is a JNDI name relative to the java:comp/env context. The name must be unique within a deployment file. The res-type element specifies the type of the data source.The type is the fully qualified Java language class or the interface expected to be implemented by the data source. The res-auth specifies whether the deployment component code signs on programmatically to the resource manager, or whether the container will sign on to the resource manager on behalf of the deployment component. In the latter case, the container uses the information supplied by the deployer. The ressharing- scope specifies whether connections obtained through the given
 
Nicky Eng
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
then, do we have <ejb-ref-name> and <ejb-ref-type> inside <resource-ref> element?? like this:

<resource-ref>
<ejb-ref-name></ejb-ref-name>
<ejb-ref-type></ejb-ref-type>
......
......
</resource-ref>

???

so far, i only know that <ejb-ref-name> and <ejb-ref-type> are under <ejb-local-ref> element.

I think there is <resource-ref> element in DD, but <ejb-ref-name> and <ejb-ref-type> should NOT in <resource-ref>. correct me if i'm wrong..
 
Gouri Bargi
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nicky,

<ejb-ref-name> and <ejb-ref-type> are inside <ejb-ref> or <ejb-local-ref> elements. There are some additional elements for ejbhome / local home and remote / local interface information in these elements. You will find the deployment descriptor DTD in servlet specs.

- Gouri
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic