home | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java EE 6 example source code file (sun-web.xml)

This example Java EE 6 source code file (sun-web.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Java EE 6 tags/keywords

all, copyright, doctype, inc, microsystems, microsystems, server, servlet, servlet, sun, sun, use, utf-8, utf-8

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:



my book on functional programming

 

new blog posts

 

Copyright 1998-2021 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.