|
|
|
@ -607,19 +607,19 @@ |
|
|
|
</para> |
|
|
|
</para> |
|
|
|
|
|
|
|
|
|
|
|
<para>While Spring has its own <link linkend="mvc">powerful web |
|
|
|
<para>While Spring has its own <link linkend="mvc">powerful web |
|
|
|
layer</link>, there are a number of unique advantages to building a Java EE |
|
|
|
layer</link>, there are a number of unique advantages to building an |
|
|
|
application using a combination of Tapestry for the web user interface and |
|
|
|
enterprise Java application using a combination of Tapestry for the web |
|
|
|
the Spring container for the lower layers. This section of the web |
|
|
|
user interface and the Spring container for the lower layers. This section |
|
|
|
integration chapter attempts to detail a few best practices for combining |
|
|
|
of the web integration chapter attempts to detail a few best practices for |
|
|
|
these two frameworks.</para> |
|
|
|
combining these two frameworks.</para> |
|
|
|
|
|
|
|
|
|
|
|
<para>A <emphasis>typical</emphasis> layered Java EE application built with |
|
|
|
<para>A <emphasis>typical</emphasis> layered enterprise Java application |
|
|
|
Tapestry and Spring will consist of a top user interface (UI) layer built |
|
|
|
built with Tapestry and Spring will consist of a top user interface (UI) |
|
|
|
with Tapestry, and a number of lower layers, all wired together by one or |
|
|
|
layer built with Tapestry, and a number of lower layers, all wired together |
|
|
|
more Spring containers. Tapestry's own reference documentation contains |
|
|
|
by one or more Spring containers. Tapestry's own reference documentation |
|
|
|
the following snippet of best practice advice. (Text that the author of |
|
|
|
contains the following snippet of best practice advice. (Text that the |
|
|
|
this Spring section has added is contained within <literal>[]</literal> |
|
|
|
author of this Spring section has added is contained within |
|
|
|
brackets.)</para> |
|
|
|
<literal>[]</literal> brackets.)</para> |
|
|
|
|
|
|
|
|
|
|
|
<para> |
|
|
|
<para> |
|
|
|
<quote> |
|
|
|
<quote> |
|
|
|
@ -1092,7 +1092,7 @@ public abstract class Login extends BasePage implements ErrorProperty, PageRende |
|
|
|
are coming from, and in fact it is easy to slip in another implementation, |
|
|
|
are coming from, and in fact it is easy to slip in another implementation, |
|
|
|
for example, during testing. This inversion of control is one of the prime |
|
|
|
for example, during testing. This inversion of control is one of the prime |
|
|
|
goals and benefits of the Spring Framework, and we have managed to extend |
|
|
|
goals and benefits of the Spring Framework, and we have managed to extend |
|
|
|
it all the way up the Java EE stack in this Tapestry application.</para> |
|
|
|
it throughout the stack in this Tapestry application.</para> |
|
|
|
</section> |
|
|
|
</section> |
|
|
|
</section> |
|
|
|
</section> |
|
|
|
|
|
|
|
|
|
|
|
|