|
Java EE 6 example source code file (sun-web.xml)
The Java EE 6 sun-web.xml source code
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2004-2009 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
-->
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD GlassFish Application Server 3.0 Servlet 3.0//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_3_0-0.dtd">
<sun-web-app>
<context-root>mailconnector-war
<session-config>
<session-manager/>
</session-config>
<resource-ref>
<res-ref-name>eis/MyConnectionFactory
<jndi-name>eis/JavaMailConnectionFactory
<default-resource-principal>
<name>j2ee
<password>j2ee
</default-resource-principal>
</resource-ref>
<resource-ref>
<res-ref-name>TheMailSession
<jndi-name>mail/MySession
</resource-ref>
<jsp-config/>
</sun-web-app>
Other Java EE 6 examples (source code examples)Here is a short list of links related to this Java EE 6 sun-web.xml source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.