= Appendix
[[xsd-schemas]]
== XML Schemas
This part of the appendix lists XML schemas related to integration technologies.
[[xsd-schemas-jee]]
=== The jee schema
The `jee` tags deal with Java EE (Java Enterprise Edition)-related configuration issues,
such as looking up a JNDI object and defining EJB references.
To use the tags in the `jee` schema, you need to have the following preamble at the top
of your Spring XML configuration file; the text in the following snippet references the
correct schema so that the tags in the `jee` namespace are available to you.
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
----
[[xsd-schemas-jee-jndi-lookup]]
==== (simple)
Before...
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
----
After...
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
----
[[xsd-schemas-jee-jndi-lookup-environment-single]]
==== (with single JNDI environment setting)
Before...
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
bar
----
After...
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
foo=bar
----
[[xsd-schemas-jee-jndi-lookup-evironment-multiple]]
==== (with multiple JNDI environment settings)
Before...
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
bar
pong
----
After...
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
foo=bar
ping=pong
----
[[xsd-schemas-jee-jndi-lookup-complex]]
==== (complex)
Before...
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
----
After...
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
----
[[xsd-schemas-jee-local-slsb]]
==== (simple)
The `` tag configures a reference to an EJB Stateless SessionBean.
Before...
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
----
After...
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
----
[[xsd-schemas-jee-local-slsb-complex]]
==== (complex)
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
----
After...
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
----
[[xsd-schemas-jee-remote-slsb]]
====
The `` tag configures a reference to a `remote` EJB Stateless
SessionBean.
Before...
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
----
After...
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
----
[[xsd-schemas-jms]]
=== The jms schema
The `jms` tags deal with configuring JMS-related beans such as Spring's
<>. These tags are detailed in the
section of the <> entitled <>. Please do consult that chapter for full details on this support
and the `jms` tags themselves.
In the interest of completeness, to use the tags in the `jms` schema, you need to have
the following preamble at the top of your Spring XML configuration file; the text in the
following snippet references the correct schema so that the tags in the `jms` namespace
are available to you.
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
----
[[xsd-schemas-context-mbe]]
===
This element is detailed in
<>.
[[xsd-schemas-cache]]
=== The cache schema
The `cache` tags can be used to enable support for Spring's `@CacheEvict`, `@CachePut`
and `@Caching` annotations. It it also supports declarative XML-based caching. See
<> and
<> for details.
To use the tags in the `cache` schema, you need to have the following preamble at the
top of your Spring XML configuration file; the text in the following snippet references
the correct schema so that the tags in the `cache` namespace are available to you.
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
----