Win a copy of Terraform in Action this week in the Cloud 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

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