• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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
 
You get good luck from rubbing the belly of a tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic