Skip to content

22. The code for this article

Readers can find the code for the examples in this document on the article’s website, in the form of a zipped file.

- contents of the zip
- Contents of the [lib] folder

The [lib] folder contains the archives used by the various projects studied. The [lib] folders for the various projects have been emptied to reduce the size of the zip file. You will therefore need to retrieve the archives required for a project from the [lib] folder mentioned above. In the [lib] folders of the [mvc-personnes-0XB] web projects, the archives for layers [dao], [service], and [web] from the application built by the associated projects [mvc-personnes-0X]:

Image

To reproduce the examples with a database, the reader will need to adapt the configuration of [DataSource] found in the various configuration files to their own environment. This object specifies:

  1. the class name of the JDBC driver used by SGBD
  2. the url of the database to be used
  3. the owner of the connections open to the database
  4. the owner’s password.

Items 2 through 4 depend on the environment used for testing.