Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript 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
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

Do we have this in DD?

 
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
do we have this in DD:

<resource-ref></resource-ref>

???
 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
There is no greater crime than stealing somebody's best friend. I miss you tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic