alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

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

This example Java EE 6 source code file (sun-ejb-jar.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, application, copyright, doctype, ejb, ejb, inc, microsystems, microsystems, sun, sun, use, utf-8, utf-8

The Java EE 6 sun-ejb-jar.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-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD GlassFish Application Server 3.0 EJB 3.1//EN" "http://www.sun.com/software/appserver/dtds/sun-ejb-jar_3_1-0.dtd">
<sun-ejb-jar>
  <enterprise-beans>
    <name>EBJAR
    <unique-id>1
    <ejb>
      <ejb-name>JavaMailMDB
      <jndi-name>JavaMailMDB
      <resource-ref>
        <res-ref-name>TheMailSession
        <jndi-name>mail/MySession
      </resource-ref>
      <pass-by-reference>false
      <ior-security-config>
        <transport-config>
          <integrity>SUPPORTED
          <confidentiality>SUPPORTED
          <establish-trust-in-target>SUPPORTED
          <establish-trust-in-client>SUPPORTED
        </transport-config>
        <as-context>
          <auth-method>USERNAME_PASSWORD
          <realm>default
          <required>true
        </as-context>
        <sas-context>
          <caller-propagation>SUPPORTED
        </sas-context>
      </ior-security-config>
      <is-read-only-bean>false      
      <gen-classes/>
      <mdb-resource-adapter>
        <resource-adapter-mid>mailconnector
      </mdb-resource-adapter>
    </ejb>
  </enterprise-beans>
</sun-ejb-jar>

Other Java EE 6 examples (source code examples)

Here is a short list of links related to this Java EE 6 sun-ejb-jar.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

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.