• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How define Reference resource to a java.net.URL type

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm experiencing a problem with a resource reference in my EJB on Websphere.
I've defined in the ejb-jar.xml such reference:
<resource-ref>
<description>Test</description>
<res-ref-name>url/test</res-ref-name>
<res-type>java.net.URL</res-type>
<res-auth>container</res-auth>
</resource-ref>
Then I have to bind this reference with a JNDI resource but how can do it with a URL type?
 
reply
    Bookmark Topic Watch Topic
  • New Topic