users@glassfish.java.net
Re: How do I use glassfish to bind a java.net.URL Resource Reference
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
Maybe in reply to
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: Cheng Fang <
Cheng.Fang_at_Sun.COM
>
Date
: Wed, 24 Oct 2007 21:32:46 -0400
You only need to add a <resource-ref> element to sun-web.xml (or
sun-ejb-jar.xml if the resource is declared in EJB) to bind it. No need
to do it administratively.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application
Server 9.0 Servlet 2.5//EN"
"
http://www.sun.com/software/sunone/appserver/dtds/sun-web-app_2_5-0.dtd
">
<sun-web-app>
<resource-ref>
<res-ref-name>url/glassfish</res-ref-name>
<jndi-name>
https://glassfish.dev.java.net/</jndi-name
>
</resource-ref>
</sun-web-app>
-cheng
This message
: [
Message body
]
Next message
:
glassfish_at_javadesktop.org: "Re: Custom Web-app Loader - How To?"
Previous message
:
glassfish_at_javadesktop.org: "How do I use glassfish to bind a java.net.URL Resource Reference"
Maybe in reply to
:
glassfish_at_javadesktop.org: "How do I use glassfish to bind a java.net.URL Resource Reference"
Next in thread
:
glassfish_at_javadesktop.org: "Re: How do I use glassfish to bind a java.net.URL Resource Reference"
Reply
:
glassfish_at_javadesktop.org: "Re: How do I use glassfish to bind a java.net.URL Resource Reference"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]