Skip to content

Commit 5b4724b

Browse files
committed
Minor fixes
1 parent 96f2ef8 commit 5b4724b

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

src/site/xdoc/sample.xml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,17 @@
3838
</p>
3939
<subsection name="Purpose">
4040
<p>
41-
This new JPetStore comes with the same idea in mind than for its predecessors: <strong>keep it simple</strong>. The main purpose behind JPetStore 6
42-
is to demonstrate that a full web application can be built with just a few classes, and what is more important, with no advanced coding
43-
skills. You just need to know plain Java and SQL.
41+
This new JPetStore comes with the same idea in mind than its predecessors: <strong>keep it simple</strong>.
42+
The purpose of JPetStore 6 is to demonstrate how to build a web application with very few classes and no advanced coding skills.
43+
You just need to know plain Java and SQL.
4444
</p>
4545
<p>
46-
The 6th version of JPetStore is the smallest one in the family. It uses just 24 java classes while keeping a good design and program structure.
47-
As we will see a bit later, you will not find JDBC code, object creation, binding code or transaction handling code. What is more
48-
impressive is that you <strong>will not even find any call to the MyBatis API</strong>. Although this sounds magical, you will see that the
49-
combination of MyBatis mappers and dependency injection lets you build applications with no dependency on MyBatis.
46+
The 6th version of JPetStore is the smallest one in the family.
47+
It uses just 24 java classes while keeping a good design and program structure.
48+
As we will see later on, you will find no code for dealing with JDBC, for creating objects or bind them or to handle transactions.
49+
What is more impressive is that you <strong>will not find any call to the MyBatis API</strong>.
50+
Although this sounds magical, you will see that the combination of MyBatis mappers and dependency injection lets you
51+
build applications without dependencies.
5052
</p>
5153
</subsection>
5254
<subsection name="Program Structure">
@@ -171,8 +173,8 @@
171173

172174
<p>
173175
<span class="label important">NOTE</span> Spring's component scan feature is not able to find MyBatis mappers.
174-
A mapper is not a plain bean and Spring would not know how to instantiate it. We will need a
175-
<code>MapperScannerConfigurer</code> for that, as we will see soon.
176+
A mapper is not a plain bean and Spring would not know how to instantiate it. We will see how to search for
177+
mappers soon.
176178
</p>
177179

178180
<p>We will also need a <code>DataSource</code> and a <code>TransactionManager</code>. Given that this is a demo application

0 commit comments

Comments
 (0)