From 5ff4212501880b690c42b8f8dae1fcec7af6c9d1 Mon Sep 17 00:00:00 2001
From: jmichot <pro.julien.michot@gmail.com>
Date: Tue, 11 Oct 2022 15:20:40 +0200
Subject: [PATCH] structured git and added tp2

---
 .gitignore                                    |   4 +-
 README.md => tp1/README.md                    |   0
 config.json => tp1/config.json                |   0
 config.yml => tp1/config.yml                  |   0
 package.json => tp1/package.json              |   0
 tp1.js => tp1/tp1.js                          |   0
 tp2/.idea/compiler.xml                        |  16 +++
 tp2/.idea/encodings.xml                       |   7 ++
 tp2/.idea/jarRepositories.xml                 |  20 +++
 ..._org_springframework_spring_aop_5_3_23.xml |  13 ++
 ...rg_springframework_spring_beans_5_3_23.xml |  13 ++
 ..._springframework_spring_context_5_3_23.xml |  13 ++
 ...org_springframework_spring_core_5_3_23.xml |  13 ++
 ...ringframework_spring_expression_5_3_23.xml |  13 ++
 ..._org_springframework_spring_jcl_5_3_23.xml |  13 ++
 tp2/.idea/misc.xml                            |  11 ++
 tp2/.idea/modules.xml                         |   8 ++
 tp2/.idea/vcs.xml                             |   6 +
 tp2/.idea/workspace.xml                       | 119 ++++++++++++++++++
 tp2/Readme.md                                 |   5 +
 tp2/pom.xml                                   |  36 ++++++
 tp2/run.sh                                    |  15 +++
 tp2/spring.iml                                |  25 ++++
 tp2/src/main/.DS_Store                        | Bin 0 -> 6148 bytes
 tp2/src/main/java/helloworld/Fabrique.java    |   9 ++
 tp2/src/main/java/helloworld/HelloWorld.java  |  43 +++++++
 tp2/src/main/java/helloworld/Main.java        |  19 +++
 tp2/src/main/java/trois_tiers/App.java        |  41 ++++++
 tp2/src/main/java/trois_tiers/Main.java       |  32 +++++
 tp2/src/main/java/trois_tiers/Metier.java     |  24 ++++
 .../main/java/trois_tiers/Presentation.java   |  32 +++++
 tp2/src/main/java/trois_tiers/Stockage.java   |  24 ++++
 .../resources/helloworld/configuration1.xml   |  10 ++
 .../helloworld/configuration10.properties     |   1 +
 .../resources/helloworld/configuration10.xml  |  16 +++
 .../resources/helloworld/configuration2.xml   |  10 ++
 .../resources/helloworld/configuration3.xml   |  12 ++
 .../resources/helloworld/configuration4.xml   |  12 ++
 .../resources/helloworld/configuration5.xml   |  12 ++
 .../resources/helloworld/configuration6.xml   |  12 ++
 .../resources/helloworld/configuration7.xml   |  13 ++
 .../resources/helloworld/configuration8.xml   |  12 ++
 .../resources/helloworld/configuration9.xml   |  11 ++
 tp2/src/main/resources/spring-config.xml      |  27 ++++
 tp2/target/classes/helloworld/Fabrique.class  | Bin 0 -> 593 bytes
 .../classes/helloworld/HelloWorld.class       | Bin 0 -> 1470 bytes
 tp2/target/classes/helloworld/Main.class      | Bin 0 -> 1465 bytes
 .../classes/helloworld/configuration1.xml     |  10 ++
 .../helloworld/configuration10.properties     |   1 +
 .../classes/helloworld/configuration10.xml    |  16 +++
 .../classes/helloworld/configuration2.xml     |  10 ++
 .../classes/helloworld/configuration3.xml     |  12 ++
 .../classes/helloworld/configuration4.xml     |  12 ++
 .../classes/helloworld/configuration5.xml     |  12 ++
 .../classes/helloworld/configuration6.xml     |  12 ++
 .../classes/helloworld/configuration7.xml     |  13 ++
 .../classes/helloworld/configuration8.xml     |  12 ++
 .../classes/helloworld/configuration9.xml     |  11 ++
 tp2/target/classes/spring-config.xml          |  27 ++++
 tp2/target/classes/trois_tiers/App.class      | Bin 0 -> 1626 bytes
 tp2/target/classes/trois_tiers/Main.class     | Bin 0 -> 1564 bytes
 tp2/target/classes/trois_tiers/Metier.class   | Bin 0 -> 1246 bytes
 .../classes/trois_tiers/Presentation.class    | Bin 0 -> 1620 bytes
 tp2/target/classes/trois_tiers/Stockage.class | Bin 0 -> 1148 bytes
 .../compile/default-compile/createdFiles.lst  |   8 ++
 .../compile/default-compile/inputFiles.lst    |   8 ++
 66 files changed, 884 insertions(+), 2 deletions(-)
 rename README.md => tp1/README.md (100%)
 rename config.json => tp1/config.json (100%)
 rename config.yml => tp1/config.yml (100%)
 rename package.json => tp1/package.json (100%)
 rename tp1.js => tp1/tp1.js (100%)
 create mode 100644 tp2/.idea/compiler.xml
 create mode 100644 tp2/.idea/encodings.xml
 create mode 100644 tp2/.idea/jarRepositories.xml
 create mode 100644 tp2/.idea/libraries/Maven__org_springframework_spring_aop_5_3_23.xml
 create mode 100644 tp2/.idea/libraries/Maven__org_springframework_spring_beans_5_3_23.xml
 create mode 100644 tp2/.idea/libraries/Maven__org_springframework_spring_context_5_3_23.xml
 create mode 100644 tp2/.idea/libraries/Maven__org_springframework_spring_core_5_3_23.xml
 create mode 100644 tp2/.idea/libraries/Maven__org_springframework_spring_expression_5_3_23.xml
 create mode 100644 tp2/.idea/libraries/Maven__org_springframework_spring_jcl_5_3_23.xml
 create mode 100644 tp2/.idea/misc.xml
 create mode 100644 tp2/.idea/modules.xml
 create mode 100644 tp2/.idea/vcs.xml
 create mode 100644 tp2/.idea/workspace.xml
 create mode 100644 tp2/Readme.md
 create mode 100644 tp2/pom.xml
 create mode 100755 tp2/run.sh
 create mode 100644 tp2/spring.iml
 create mode 100644 tp2/src/main/.DS_Store
 create mode 100644 tp2/src/main/java/helloworld/Fabrique.java
 create mode 100644 tp2/src/main/java/helloworld/HelloWorld.java
 create mode 100644 tp2/src/main/java/helloworld/Main.java
 create mode 100644 tp2/src/main/java/trois_tiers/App.java
 create mode 100644 tp2/src/main/java/trois_tiers/Main.java
 create mode 100644 tp2/src/main/java/trois_tiers/Metier.java
 create mode 100644 tp2/src/main/java/trois_tiers/Presentation.java
 create mode 100644 tp2/src/main/java/trois_tiers/Stockage.java
 create mode 100644 tp2/src/main/resources/helloworld/configuration1.xml
 create mode 100644 tp2/src/main/resources/helloworld/configuration10.properties
 create mode 100644 tp2/src/main/resources/helloworld/configuration10.xml
 create mode 100644 tp2/src/main/resources/helloworld/configuration2.xml
 create mode 100644 tp2/src/main/resources/helloworld/configuration3.xml
 create mode 100644 tp2/src/main/resources/helloworld/configuration4.xml
 create mode 100644 tp2/src/main/resources/helloworld/configuration5.xml
 create mode 100644 tp2/src/main/resources/helloworld/configuration6.xml
 create mode 100644 tp2/src/main/resources/helloworld/configuration7.xml
 create mode 100644 tp2/src/main/resources/helloworld/configuration8.xml
 create mode 100644 tp2/src/main/resources/helloworld/configuration9.xml
 create mode 100644 tp2/src/main/resources/spring-config.xml
 create mode 100644 tp2/target/classes/helloworld/Fabrique.class
 create mode 100644 tp2/target/classes/helloworld/HelloWorld.class
 create mode 100644 tp2/target/classes/helloworld/Main.class
 create mode 100644 tp2/target/classes/helloworld/configuration1.xml
 create mode 100644 tp2/target/classes/helloworld/configuration10.properties
 create mode 100644 tp2/target/classes/helloworld/configuration10.xml
 create mode 100644 tp2/target/classes/helloworld/configuration2.xml
 create mode 100644 tp2/target/classes/helloworld/configuration3.xml
 create mode 100644 tp2/target/classes/helloworld/configuration4.xml
 create mode 100644 tp2/target/classes/helloworld/configuration5.xml
 create mode 100644 tp2/target/classes/helloworld/configuration6.xml
 create mode 100644 tp2/target/classes/helloworld/configuration7.xml
 create mode 100644 tp2/target/classes/helloworld/configuration8.xml
 create mode 100644 tp2/target/classes/helloworld/configuration9.xml
 create mode 100644 tp2/target/classes/spring-config.xml
 create mode 100644 tp2/target/classes/trois_tiers/App.class
 create mode 100644 tp2/target/classes/trois_tiers/Main.class
 create mode 100644 tp2/target/classes/trois_tiers/Metier.class
 create mode 100644 tp2/target/classes/trois_tiers/Presentation.class
 create mode 100644 tp2/target/classes/trois_tiers/Stockage.class
 create mode 100644 tp2/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
 create mode 100644 tp2/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst

diff --git a/.gitignore b/.gitignore
index 25c8fdb..772193c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
-node_modules
-package-lock.json
\ No newline at end of file
+tp1/node_modules
+tp1/package-lock.json
\ No newline at end of file
diff --git a/README.md b/tp1/README.md
similarity index 100%
rename from README.md
rename to tp1/README.md
diff --git a/config.json b/tp1/config.json
similarity index 100%
rename from config.json
rename to tp1/config.json
diff --git a/config.yml b/tp1/config.yml
similarity index 100%
rename from config.yml
rename to tp1/config.yml
diff --git a/package.json b/tp1/package.json
similarity index 100%
rename from package.json
rename to tp1/package.json
diff --git a/tp1.js b/tp1/tp1.js
similarity index 100%
rename from tp1.js
rename to tp1/tp1.js
diff --git a/tp2/.idea/compiler.xml b/tp2/.idea/compiler.xml
new file mode 100644
index 0000000..606315f
--- /dev/null
+++ b/tp2/.idea/compiler.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="CompilerConfiguration">
+    <annotationProcessing>
+      <profile name="Maven default annotation processors profile" enabled="true">
+        <sourceOutputDir name="target/generated-sources/annotations" />
+        <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
+        <outputRelativeToContentRoot value="true" />
+        <module name="spring" />
+      </profile>
+    </annotationProcessing>
+    <bytecodeTargetLevel>
+      <module name="spring" target="1.5" />
+    </bytecodeTargetLevel>
+  </component>
+</project>
\ No newline at end of file
diff --git a/tp2/.idea/encodings.xml b/tp2/.idea/encodings.xml
new file mode 100644
index 0000000..aa00ffa
--- /dev/null
+++ b/tp2/.idea/encodings.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="Encoding">
+    <file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
+    <file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
+  </component>
+</project>
\ No newline at end of file
diff --git a/tp2/.idea/jarRepositories.xml b/tp2/.idea/jarRepositories.xml
new file mode 100644
index 0000000..712ab9d
--- /dev/null
+++ b/tp2/.idea/jarRepositories.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="RemoteRepositoriesConfiguration">
+    <remote-repository>
+      <option name="id" value="central" />
+      <option name="name" value="Central Repository" />
+      <option name="url" value="https://repo.maven.apache.org/maven2" />
+    </remote-repository>
+    <remote-repository>
+      <option name="id" value="central" />
+      <option name="name" value="Maven Central repository" />
+      <option name="url" value="https://repo1.maven.org/maven2" />
+    </remote-repository>
+    <remote-repository>
+      <option name="id" value="jboss.community" />
+      <option name="name" value="JBoss Community repository" />
+      <option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
+    </remote-repository>
+  </component>
+</project>
\ No newline at end of file
diff --git a/tp2/.idea/libraries/Maven__org_springframework_spring_aop_5_3_23.xml b/tp2/.idea/libraries/Maven__org_springframework_spring_aop_5_3_23.xml
new file mode 100644
index 0000000..b07f8ff
--- /dev/null
+++ b/tp2/.idea/libraries/Maven__org_springframework_spring_aop_5_3_23.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+  <library name="Maven: org.springframework:spring-aop:5.3.23">
+    <CLASSES>
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-aop/5.3.23/spring-aop-5.3.23.jar!/" />
+    </CLASSES>
+    <JAVADOC>
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-aop/5.3.23/spring-aop-5.3.23-javadoc.jar!/" />
+    </JAVADOC>
+    <SOURCES>
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-aop/5.3.23/spring-aop-5.3.23-sources.jar!/" />
+    </SOURCES>
+  </library>
+</component>
\ No newline at end of file
diff --git a/tp2/.idea/libraries/Maven__org_springframework_spring_beans_5_3_23.xml b/tp2/.idea/libraries/Maven__org_springframework_spring_beans_5_3_23.xml
new file mode 100644
index 0000000..739a62d
--- /dev/null
+++ b/tp2/.idea/libraries/Maven__org_springframework_spring_beans_5_3_23.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+  <library name="Maven: org.springframework:spring-beans:5.3.23">
+    <CLASSES>
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-beans/5.3.23/spring-beans-5.3.23.jar!/" />
+    </CLASSES>
+    <JAVADOC>
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-beans/5.3.23/spring-beans-5.3.23-javadoc.jar!/" />
+    </JAVADOC>
+    <SOURCES>
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-beans/5.3.23/spring-beans-5.3.23-sources.jar!/" />
+    </SOURCES>
+  </library>
+</component>
\ No newline at end of file
diff --git a/tp2/.idea/libraries/Maven__org_springframework_spring_context_5_3_23.xml b/tp2/.idea/libraries/Maven__org_springframework_spring_context_5_3_23.xml
new file mode 100644
index 0000000..76d8edd
--- /dev/null
+++ b/tp2/.idea/libraries/Maven__org_springframework_spring_context_5_3_23.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+  <library name="Maven: org.springframework:spring-context:5.3.23">
+    <CLASSES>
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-context/5.3.23/spring-context-5.3.23.jar!/" />
+    </CLASSES>
+    <JAVADOC>
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-context/5.3.23/spring-context-5.3.23-javadoc.jar!/" />
+    </JAVADOC>
+    <SOURCES>
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-context/5.3.23/spring-context-5.3.23-sources.jar!/" />
+    </SOURCES>
+  </library>
+</component>
\ No newline at end of file
diff --git a/tp2/.idea/libraries/Maven__org_springframework_spring_core_5_3_23.xml b/tp2/.idea/libraries/Maven__org_springframework_spring_core_5_3_23.xml
new file mode 100644
index 0000000..2a2a6b5
--- /dev/null
+++ b/tp2/.idea/libraries/Maven__org_springframework_spring_core_5_3_23.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+  <library name="Maven: org.springframework:spring-core:5.3.23">
+    <CLASSES>
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-core/5.3.23/spring-core-5.3.23.jar!/" />
+    </CLASSES>
+    <JAVADOC>
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-core/5.3.23/spring-core-5.3.23-javadoc.jar!/" />
+    </JAVADOC>
+    <SOURCES>
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-core/5.3.23/spring-core-5.3.23-sources.jar!/" />
+    </SOURCES>
+  </library>
+</component>
\ No newline at end of file
diff --git a/tp2/.idea/libraries/Maven__org_springframework_spring_expression_5_3_23.xml b/tp2/.idea/libraries/Maven__org_springframework_spring_expression_5_3_23.xml
new file mode 100644
index 0000000..b16b8d7
--- /dev/null
+++ b/tp2/.idea/libraries/Maven__org_springframework_spring_expression_5_3_23.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+  <library name="Maven: org.springframework:spring-expression:5.3.23">
+    <CLASSES>
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-expression/5.3.23/spring-expression-5.3.23.jar!/" />
+    </CLASSES>
+    <JAVADOC>
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-expression/5.3.23/spring-expression-5.3.23-javadoc.jar!/" />
+    </JAVADOC>
+    <SOURCES>
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-expression/5.3.23/spring-expression-5.3.23-sources.jar!/" />
+    </SOURCES>
+  </library>
+</component>
\ No newline at end of file
diff --git a/tp2/.idea/libraries/Maven__org_springframework_spring_jcl_5_3_23.xml b/tp2/.idea/libraries/Maven__org_springframework_spring_jcl_5_3_23.xml
new file mode 100644
index 0000000..fb6dc37
--- /dev/null
+++ b/tp2/.idea/libraries/Maven__org_springframework_spring_jcl_5_3_23.xml
@@ -0,0 +1,13 @@
+<component name="libraryTable">
+  <library name="Maven: org.springframework:spring-jcl:5.3.23">
+    <CLASSES>
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-jcl/5.3.23/spring-jcl-5.3.23.jar!/" />
+    </CLASSES>
+    <JAVADOC>
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-jcl/5.3.23/spring-jcl-5.3.23-javadoc.jar!/" />
+    </JAVADOC>
+    <SOURCES>
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-jcl/5.3.23/spring-jcl-5.3.23-sources.jar!/" />
+    </SOURCES>
+  </library>
+</component>
\ No newline at end of file
diff --git a/tp2/.idea/misc.xml b/tp2/.idea/misc.xml
new file mode 100644
index 0000000..25daa30
--- /dev/null
+++ b/tp2/.idea/misc.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="MavenProjectsManager">
+    <option name="originalFiles">
+      <list>
+        <option value="$PROJECT_DIR$/pom.xml" />
+      </list>
+    </option>
+  </component>
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
+</project>
\ No newline at end of file
diff --git a/tp2/.idea/modules.xml b/tp2/.idea/modules.xml
new file mode 100644
index 0000000..2fd6bd5
--- /dev/null
+++ b/tp2/.idea/modules.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectModuleManager">
+    <modules>
+      <module fileurl="file://$PROJECT_DIR$/spring.iml" filepath="$PROJECT_DIR$/spring.iml" />
+    </modules>
+  </component>
+</project>
\ No newline at end of file
diff --git a/tp2/.idea/vcs.xml b/tp2/.idea/vcs.xml
new file mode 100644
index 0000000..6c0b863
--- /dev/null
+++ b/tp2/.idea/vcs.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
+  </component>
+</project>
\ No newline at end of file
diff --git a/tp2/.idea/workspace.xml b/tp2/.idea/workspace.xml
new file mode 100644
index 0000000..6c98a4c
--- /dev/null
+++ b/tp2/.idea/workspace.xml
@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="AutoImportSettings">
+    <option name="autoReloadType" value="SELECTIVE" />
+  </component>
+  <component name="ChangeListManager">
+    <list default="true" id="a9fae9bc-7815-4f18-8656-4f804166f685" name="Changes" comment="">
+      <change beforePath="$PROJECT_DIR$/../.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/../.gitignore" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/../README.md" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/../config.json" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/../config.yml" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/../package.json" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/../tp1.js" beforeDir="false" />
+    </list>
+    <option name="SHOW_DIALOG" value="false" />
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
+    <option name="LAST_RESOLUTION" value="IGNORE" />
+  </component>
+  <component name="FileTemplateManagerImpl">
+    <option name="RECENT_TEMPLATES">
+      <list>
+        <option value="Class" />
+      </list>
+    </option>
+  </component>
+  <component name="Git.Settings">
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
+  </component>
+  <component name="GitSEFilterConfiguration">
+    <file-type-list>
+      <filtered-out-file-type name="LOCAL_BRANCH" />
+      <filtered-out-file-type name="REMOTE_BRANCH" />
+      <filtered-out-file-type name="TAG" />
+      <filtered-out-file-type name="COMMIT_BY_MESSAGE" />
+    </file-type-list>
+  </component>
+  <component name="MarkdownSettingsMigration">
+    <option name="stateVersion" value="1" />
+  </component>
+  <component name="MavenImportPreferences">
+    <option name="generalSettings">
+      <MavenGeneralSettings>
+        <option name="useMavenConfig" value="true" />
+      </MavenGeneralSettings>
+    </option>
+  </component>
+  <component name="ProjectId" id="2FzPHtV3zAzGJxQLbgknPjMQxOm" />
+  <component name="ProjectLevelVcsManager" settingsEditedManually="true">
+    <ConfirmationsSetting value="1" id="Add" />
+  </component>
+  <component name="ProjectViewState">
+    <option name="hideEmptyMiddlePackages" value="true" />
+    <option name="showLibraryContents" value="true" />
+  </component>
+  <component name="PropertiesComponent">
+    <property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
+    <property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
+    <property name="WebServerToolWindowFactoryState" value="false" />
+    <property name="dart.analysis.tool.window.visible" value="false" />
+    <property name="project.structure.last.edited" value="Project" />
+    <property name="project.structure.proportion" value="0.0" />
+    <property name="project.structure.side.proportion" value="0.0" />
+    <property name="settings.editor.selected.configurable" value="com.poratu.idea.plugins.tomcat.setting.TomcatServersConfigurable" />
+    <property name="show.migrate.to.gradle.popup" value="false" />
+  </component>
+  <component name="RecentsManager">
+    <key name="MoveFile.RECENT_KEYS">
+      <recent name="$PROJECT_DIR$/src/main/resources/helloworld/helloworld" />
+    </key>
+  </component>
+  <component name="RunManager">
+    <configuration name="App" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
+      <option name="MAIN_CLASS_NAME" value="trois_tiers.App" />
+      <module name="spring" />
+      <extension name="coverage">
+        <pattern>
+          <option name="PATTERN" value="trois_tiers.*" />
+          <option name="ENABLED" value="true" />
+        </pattern>
+      </extension>
+      <method v="2">
+        <option name="Make" enabled="true" />
+      </method>
+    </configuration>
+    <recent_temporary>
+      <list>
+        <item itemvalue="Application.App" />
+      </list>
+    </recent_temporary>
+  </component>
+  <component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
+  <component name="TaskManager">
+    <task active="true" id="Default" summary="Default task">
+      <changelist id="a9fae9bc-7815-4f18-8656-4f804166f685" name="Changes" comment="" />
+      <created>1665491867827</created>
+      <option name="number" value="Default" />
+      <option name="presentableId" value="Default" />
+      <updated>1665491867827</updated>
+      <workItem from="1665491868898" duration="335000" />
+      <workItem from="1665492235386" duration="1843000" />
+    </task>
+    <servers />
+  </component>
+  <component name="TypeScriptGeneratedFilesManager">
+    <option name="version" value="3" />
+  </component>
+  <component name="Vcs.Log.Tabs.Properties">
+    <option name="TAB_STATES">
+      <map>
+        <entry key="MAIN">
+          <value>
+            <State />
+          </value>
+        </entry>
+      </map>
+    </option>
+  </component>
+</project>
\ No newline at end of file
diff --git a/tp2/Readme.md b/tp2/Readme.md
new file mode 100644
index 0000000..17661da
--- /dev/null
+++ b/tp2/Readme.md
@@ -0,0 +1,5 @@
+# TP2 - CDL
+
+## Lancement
+
+Pour lancer ce tp, exécuter le fichier `run.sh`, la dernière commande lance la partie faite durant le tp et les deux premières commandes sont inchangées.
diff --git a/tp2/pom.xml b/tp2/pom.xml
new file mode 100644
index 0000000..ff90f1e
--- /dev/null
+++ b/tp2/pom.xml
@@ -0,0 +1,36 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+
+    <groupId>cdl</groupId>
+    <artifactId>spring</artifactId>
+    <version>1.0.0</version>
+    <packaging>jar</packaging>
+    
+    <name>Exemples Spring Framework</name>
+    
+    <properties>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <spring.version>5.3.23</spring.version>
+    </properties>
+
+    <dependencies>
+        <!-- Spring Dependencies -->
+        <dependency>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-core</artifactId>
+            <version>${spring.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-beans</artifactId>
+            <version>${spring.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-context</artifactId>
+            <version>${spring.version}</version>
+        </dependency>
+    </dependencies>
+</project>
diff --git a/tp2/run.sh b/tp2/run.sh
new file mode 100755
index 0000000..8bfe16d
--- /dev/null
+++ b/tp2/run.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+execute()
+{
+  echo $*
+  $*
+}
+
+execute mvn clean compile
+
+execute mvn exec:java -Dexec.mainClass="trois_tiers.Main"
+
+execute mvn exec:java -Dexec.mainClass="helloworld.Main"
+
+execute mvn exec:java -Dexec.mainClass="trois_tiers.App"
diff --git a/tp2/spring.iml b/tp2/spring.iml
new file mode 100644
index 0000000..e220484
--- /dev/null
+++ b/tp2/spring.iml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
+  <component name="FacetManager">
+    <facet type="Spring" name="Spring">
+      <configuration />
+    </facet>
+  </component>
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5">
+    <output url="file://$MODULE_DIR$/target/classes" />
+    <output-test url="file://$MODULE_DIR$/target/test-classes" />
+    <content url="file://$MODULE_DIR$">
+      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
+      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
+      <excludeFolder url="file://$MODULE_DIR$/target" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+    <orderEntry type="library" name="Maven: org.springframework:spring-core:5.3.23" level="project" />
+    <orderEntry type="library" name="Maven: org.springframework:spring-jcl:5.3.23" level="project" />
+    <orderEntry type="library" name="Maven: org.springframework:spring-beans:5.3.23" level="project" />
+    <orderEntry type="library" name="Maven: org.springframework:spring-context:5.3.23" level="project" />
+    <orderEntry type="library" name="Maven: org.springframework:spring-aop:5.3.23" level="project" />
+    <orderEntry type="library" name="Maven: org.springframework:spring-expression:5.3.23" level="project" />
+  </component>
+</module>
\ No newline at end of file
diff --git a/tp2/src/main/.DS_Store b/tp2/src/main/.DS_Store
new file mode 100644
index 0000000000000000000000000000000000000000..fa811c3f1e2b33dd5d1208cb8a66d76fa101e51c
GIT binary patch
literal 6148
zcmZQzU|@7AO)+F(5MW?n;9!8zOq>i@0Z1N%F(jFwA|OddkQq7YhQZ1Cxdl-1QEKpq
z04VNQ7_t}=8Oj(EQR7e4g@J(qE|;6{;*yk;p9D!T4F)@^jyR&qr{I+@$UsgT;3UGy
zP{feRP|T3eP|8rmkPKp@x<IIlfq?;wDjaUXsuHWKu&6|J--f{-bE7UC4S~@R7!3jP
zLx2&Ym4h2XkCLMyFd71*Apj2nQ2C$$>MJlXFgQTz1_%w3Vqj!o0CxcxLCr*{E^t2p
zq6VZDqz0rFM1!<4FoIZMd9YRnMg|tJPDXGygn@w(+$90gVC@WyV4FdFuyzJUu+0n%
zj1cV%j1cV%jG%@r$Xrm521G-&GcbZ}2U{^pjE2By2q1+3GlVSws{dUX7;yFfA*x2n
z(GVC7fngZ}j4Up}E>56I6NmRebuFkqO@PXS>R?cH%m}KN5n|w~m<ckVC;=4)RresR
aAR1g1GcquMw2n3eU;#8rkA}biga82Lfl1H+

literal 0
HcmV?d00001

diff --git a/tp2/src/main/java/helloworld/Fabrique.java b/tp2/src/main/java/helloworld/Fabrique.java
new file mode 100644
index 0000000..98ec0a8
--- /dev/null
+++ b/tp2/src/main/java/helloworld/Fabrique.java
@@ -0,0 +1,9 @@
+package helloworld;
+public class Fabrique
+{
+    public HelloWorld creerInstance()
+    {
+        System.out.println("Appel de Fabrique.creerInstance()");
+        return new HelloWorld();
+    }
+}
diff --git a/tp2/src/main/java/helloworld/HelloWorld.java b/tp2/src/main/java/helloworld/HelloWorld.java
new file mode 100644
index 0000000..294354a
--- /dev/null
+++ b/tp2/src/main/java/helloworld/HelloWorld.java
@@ -0,0 +1,43 @@
+package helloworld;
+public class HelloWorld
+{
+    private String message;
+    
+    public HelloWorld()
+    {
+        System.out.println("Appel du constructeur HelloWorld()");
+    }
+    
+    public static HelloWorld creerInstance()
+    {
+        System.out.println("Appel de HelloWorld.creerInstance()");
+        return new HelloWorld();
+    }
+    
+    public HelloWorld(String message)
+    {
+        System.out.println("Appel du constructeur HelloWorld(message=" + message +")");
+        this.message = message;
+    }
+    
+    public void setMessage(String message)
+    {
+        System.out.println("Appel de HelloWorld.setMessage(message=" + message +")");
+        this.message = message;
+    }
+    
+    public String getMessage()
+    {
+        return this.message;
+    }
+    
+    public void initialisation()
+    {
+        System.out.println("Appel de HelloWorld.initialisation()");
+    }
+    
+    public void destruction()
+    {
+        System.out.println("Appel de HelloWorld.destruction()");
+    }
+}
diff --git a/tp2/src/main/java/helloworld/Main.java b/tp2/src/main/java/helloworld/Main.java
new file mode 100644
index 0000000..3345934
--- /dev/null
+++ b/tp2/src/main/java/helloworld/Main.java
@@ -0,0 +1,19 @@
+package helloworld;
+
+import org.springframework.context.support.ClassPathXmlApplicationContext;
+
+public class Main
+{
+    public static void main( String[] args ) throws Exception
+    {
+        for(int i=1; i<11; i++) {
+            System.out.println("------------------------------");
+            System.out.println("Charger configuration" + i + ".xml");
+            ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("helloworld/configuration" + i + ".xml");
+            System.out.println("Obtenir helloworld" + i);
+            HelloWorld helloworld = ctx.getBean("helloworld" + i, HelloWorld.class);
+            System.out.println("Fermer configuration" + i + ".xml");
+            ctx.close();
+        }
+    }
+}
diff --git a/tp2/src/main/java/trois_tiers/App.java b/tp2/src/main/java/trois_tiers/App.java
new file mode 100644
index 0000000..b6d34f9
--- /dev/null
+++ b/tp2/src/main/java/trois_tiers/App.java
@@ -0,0 +1,41 @@
+package trois_tiers;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.context.ConfigurableApplicationContext;
+import org.springframework.context.support.ClassPathXmlApplicationContext;
+import org.springframework.stereotype.Component;
+
+@Component
+public class App {
+
+    @Autowired
+    Presentation presentation;
+
+    @Autowired
+    Metier metier;
+
+    @Autowired
+    Stockage stockage;
+
+    public static void main(String[] args) {
+        ConfigurableApplicationContext appContext = getAppContext();
+        App app = appContext.getBean(App.class);
+        appContext.close();
+    }
+
+    public static ConfigurableApplicationContext getAppContext() {
+        return new ClassPathXmlApplicationContext("spring-config.xml");
+    }
+
+    public void setPresentation(Presentation presentation) {
+        this.presentation = presentation;
+    }
+
+    public void setMetier(Metier metier) {
+        this.metier = metier;
+    }
+
+    public void setStockage(Stockage stockage) {
+        this.stockage = stockage;
+    }
+}
diff --git a/tp2/src/main/java/trois_tiers/Main.java b/tp2/src/main/java/trois_tiers/Main.java
new file mode 100644
index 0000000..5482fce
--- /dev/null
+++ b/tp2/src/main/java/trois_tiers/Main.java
@@ -0,0 +1,32 @@
+package trois_tiers;
+public class Main
+{
+    public static void main(String[] args) {
+        System.out.println("Configuration 1");
+        configuration1();
+        System.out.println("Configuration 2");
+        configuration2();
+        System.out.println("Configuration 3");
+        configuration3();
+    }
+    
+    public static void configuration1() {
+        Object o = new Presentation("Philippe Merle", new Metier(new Stockage("fichier.txt")));
+    }
+    
+    public static void configuration2() {
+        Stockage stockage = new Stockage("fichier.txt");
+        Metier metier = new Metier(stockage);
+        Presentation presentation = new Presentation("Philippe Merle", metier);
+    }
+    
+    public static void configuration3() {
+        Stockage stockage = new Stockage();
+        stockage.setNomFichier("fichier.txt");
+        Metier metier = new Metier();
+        metier.setStockage(stockage);
+        Presentation presentation = new Presentation();
+        presentation.setUtilisateur("Philippe Merle");
+        presentation.setMetier(metier);
+    }
+}
diff --git a/tp2/src/main/java/trois_tiers/Metier.java b/tp2/src/main/java/trois_tiers/Metier.java
new file mode 100644
index 0000000..daa2c0f
--- /dev/null
+++ b/tp2/src/main/java/trois_tiers/Metier.java
@@ -0,0 +1,24 @@
+package trois_tiers;
+public class Metier
+{
+    private Stockage stockage;
+    
+    public Metier() {
+        System.out.println("Appel du constructeur Metier()");
+    }
+    
+    public void setStockage(Stockage stockage) {
+        System.out.println("Appel de Metier.setStockage(" + stockage + ")");
+        this.stockage = stockage;
+    }
+    
+    public Metier(Stockage stockage) {
+        System.out.println("Appel du constructeur Metier(stockage=" + stockage + ")");
+        this.stockage = stockage;
+    }
+    
+    public String toString() {
+        System.out.println("Appel de Metier.toString()");
+        return "Metier(stockage=" + this.stockage.toString() + ")";
+    }
+}
diff --git a/tp2/src/main/java/trois_tiers/Presentation.java b/tp2/src/main/java/trois_tiers/Presentation.java
new file mode 100644
index 0000000..34c81da
--- /dev/null
+++ b/tp2/src/main/java/trois_tiers/Presentation.java
@@ -0,0 +1,32 @@
+package trois_tiers;
+public class Presentation
+{
+    private String utilisateur;
+    
+    private Metier metier;
+    
+    public Presentation() {
+        System.out.println("Appel du constructeur Presentation()");
+    }
+    
+    public void setUtilisateur(String utilisateur) {
+        System.out.println("Appel de Presentation.setMessage(" + utilisateur + ")");
+        this.utilisateur = utilisateur;
+    }
+    
+    public void setMetier(Metier metier) {
+        System.out.println("Appel de Presentation.setMetier(" + metier + ")");
+        this.metier = metier;
+    }
+    
+    public Presentation(String utilisateur, Metier metier) {
+        System.out.println("Appel du constructeur Presentation(utilisateur=" + utilisateur + ", metier=" + metier + ")");
+        this.utilisateur = utilisateur;
+        this.metier = metier;
+    }
+    
+    public String toString() {
+        System.out.println("Appel de Presentation.toString()");
+        return "Presentation(utilisateur=" + this.utilisateur + " metier=" + this.metier.toString() + ")";
+    }
+}
diff --git a/tp2/src/main/java/trois_tiers/Stockage.java b/tp2/src/main/java/trois_tiers/Stockage.java
new file mode 100644
index 0000000..d81a790
--- /dev/null
+++ b/tp2/src/main/java/trois_tiers/Stockage.java
@@ -0,0 +1,24 @@
+package trois_tiers;
+public class Stockage
+{
+    private String nomFichier;
+    
+    public Stockage() {
+        System.out.println("Appel du constructeur Stockage()");
+    }
+    
+    public void setNomFichier(String nomFichier) {
+        System.out.println("Appel de Stockage.setNomFichier(" + nomFichier + ")");
+        this.nomFichier = nomFichier;
+    }
+    
+    public Stockage(String nomFichier) {
+        System.out.println("Appel du constructeur Stockage(nomFichier=" + nomFichier + ")");
+        this.nomFichier = nomFichier;
+    }
+    
+    public String toString() {
+        System.out.println("Appel de Stockage.toString()");
+        return "Stockage(nomFichier=" + this.nomFichier + ")";
+    }
+}
diff --git a/tp2/src/main/resources/helloworld/configuration1.xml b/tp2/src/main/resources/helloworld/configuration1.xml
new file mode 100644
index 0000000..2a546ef
--- /dev/null
+++ b/tp2/src/main/resources/helloworld/configuration1.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans.xsd">
+    
+    <!-- création via le constructeur par défaut -->
+    <bean id="helloworld1" class="helloworld.HelloWorld"/>
+    
+</beans>
diff --git a/tp2/src/main/resources/helloworld/configuration10.properties b/tp2/src/main/resources/helloworld/configuration10.properties
new file mode 100644
index 0000000..e0e5c98
--- /dev/null
+++ b/tp2/src/main/resources/helloworld/configuration10.properties
@@ -0,0 +1 @@
+helloworld.message=Bonjour le monde !
diff --git a/tp2/src/main/resources/helloworld/configuration10.xml b/tp2/src/main/resources/helloworld/configuration10.xml
new file mode 100644
index 0000000..c334e93
--- /dev/null
+++ b/tp2/src/main/resources/helloworld/configuration10.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:context="http://www.springframework.org/schema/context"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans.xsd
+    http://www.springframework.org/schema/context
+    http://www.springframework.org/schema/context/spring-context.xsd">
+    
+    <context:property-placeholder location="classpath:helloworld/configuration10.properties"/>
+    
+    <bean id="helloworld10" class="helloworld.HelloWorld">
+        <property name="message" value="${helloworld.message}"/>
+    </bean>
+    
+</beans>
diff --git a/tp2/src/main/resources/helloworld/configuration2.xml b/tp2/src/main/resources/helloworld/configuration2.xml
new file mode 100644
index 0000000..ae9a509
--- /dev/null
+++ b/tp2/src/main/resources/helloworld/configuration2.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans.xsd">
+    
+    <!-- création via une méthode de fabrique -->
+    <bean id="helloworld2" class="helloworld.HelloWorld" factory-method="creerInstance"/>
+    
+</beans>
diff --git a/tp2/src/main/resources/helloworld/configuration3.xml b/tp2/src/main/resources/helloworld/configuration3.xml
new file mode 100644
index 0000000..2bb91c2
--- /dev/null
+++ b/tp2/src/main/resources/helloworld/configuration3.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans.xsd">
+    
+    <!-- création via un constructeur -->
+    <bean id="helloworld3" class="helloworld.HelloWorld">
+        <constructor-arg value="Hello World!"/>
+    </bean>
+    
+</beans>
diff --git a/tp2/src/main/resources/helloworld/configuration4.xml b/tp2/src/main/resources/helloworld/configuration4.xml
new file mode 100644
index 0000000..9100d1c
--- /dev/null
+++ b/tp2/src/main/resources/helloworld/configuration4.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans.xsd">
+    
+    <bean id="fabrique" class="helloworld.Fabrique"/>
+    
+    <!-- création via un bean fabrique -->
+    <bean id="helloworld4" factory-bean="fabrique" factory-method="creerInstance"/>
+    
+</beans>
diff --git a/tp2/src/main/resources/helloworld/configuration5.xml b/tp2/src/main/resources/helloworld/configuration5.xml
new file mode 100644
index 0000000..886065e
--- /dev/null
+++ b/tp2/src/main/resources/helloworld/configuration5.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans.xsd">
+    
+    <bean id="helloworld5"
+          class="helloworld.HelloWorld"
+          scope="singleton"
+    />
+    
+</beans>
diff --git a/tp2/src/main/resources/helloworld/configuration6.xml b/tp2/src/main/resources/helloworld/configuration6.xml
new file mode 100644
index 0000000..12d4442
--- /dev/null
+++ b/tp2/src/main/resources/helloworld/configuration6.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans.xsd">
+    
+    <bean id="helloworld6"
+          class="helloworld.HelloWorld"
+          scope="prototype"
+    />
+    
+</beans>
diff --git a/tp2/src/main/resources/helloworld/configuration7.xml b/tp2/src/main/resources/helloworld/configuration7.xml
new file mode 100644
index 0000000..7646649
--- /dev/null
+++ b/tp2/src/main/resources/helloworld/configuration7.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans.xsd">
+    
+    <bean id="helloworld7"
+          class="helloworld.HelloWorld"
+          init-method="initialisation"
+          destroy-method="destruction"
+    />
+    
+</beans>
diff --git a/tp2/src/main/resources/helloworld/configuration8.xml b/tp2/src/main/resources/helloworld/configuration8.xml
new file mode 100644
index 0000000..c68fead
--- /dev/null
+++ b/tp2/src/main/resources/helloworld/configuration8.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans.xsd">
+    
+    <bean id="helloworld8"
+          class="helloworld.HelloWorld"
+          lazy-init="true"
+    />
+    
+</beans>
diff --git a/tp2/src/main/resources/helloworld/configuration9.xml b/tp2/src/main/resources/helloworld/configuration9.xml
new file mode 100644
index 0000000..3157bf8
--- /dev/null
+++ b/tp2/src/main/resources/helloworld/configuration9.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans.xsd">
+    
+    <bean id="helloworld9" class="helloworld.HelloWorld">
+        <property name="message" value="Hello World!"/>
+    </bean>
+    
+</beans>
diff --git a/tp2/src/main/resources/spring-config.xml b/tp2/src/main/resources/spring-config.xml
new file mode 100644
index 0000000..91ac8ae
--- /dev/null
+++ b/tp2/src/main/resources/spring-config.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="
+           http://www.springframework.org/schema/beans
+           http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+    <bean id="presentation" class="trois_tiers.Presentation">
+        <property name="metier" ref="metier" />
+        <property name="utilisateur" value="myuser" />
+    </bean>
+
+    <bean id="metier" class="trois_tiers.Metier">
+        <property name="stockage" ref="stockage" />
+    </bean>
+
+    <bean id="stockage" class="trois_tiers.Stockage">
+        <property name="nomFichier" value="myfile" />
+    </bean>
+
+    <bean id="app" class="trois_tiers.App">
+        <property name="presentation" ref="presentation" />
+        <property name="metier" ref="metier" />
+        <property name="stockage" ref="stockage" />
+    </bean>
+
+</beans>
\ No newline at end of file
diff --git a/tp2/target/classes/helloworld/Fabrique.class b/tp2/target/classes/helloworld/Fabrique.class
new file mode 100644
index 0000000000000000000000000000000000000000..8dc6a523b1cc7cd74f6f48bb186c95b8d6e83cdf
GIT binary patch
literal 593
zcmX^0Z`VEs1_nb0WiAE|1`$pMQ3f#%25~M12?j}a1}QEERt6Dv25EK%8Ab*+o6Nk-
z5<5l)W)00SMg|t={FGEi27aH+yi~u^+@#c^ki?{%R7M6NpZw&+oUp{AOb{O`$WoG#
zS<J{F>XVV0lapVbUzC%g@0OTUlv!AsYR$;Nn_QHdTI88mT#}fVoXW@`siBFi(gUO^
z9Hhybk%22XzqBYh)h!cb886Hby{yEtL>>lC1}=66Ssn&C26;vXMaP1I)EtGBR0X&y
z6niu@*%=gg7!(<l7#T#79EPxtkwF+q9A*k5g8;}j{hY+SbbbG%tkmQZ6rteC;*!){
zMh52m(h`uL!HP5U^#h7B^GbqCic%AEtr;1Fu?RCVuor+7<>WCkh-&zNRe)^?E-A{)
zOSjexV^CyZXW(D}0VW1UkbfB%8Mql381xw!85kKD7+AHoGcaysU|?Wk;9+23U;_&>
zG4L`lFz|rctPFe%{0s~Xj0^${f>6zN3?Rc87z8#kFbOelV_@0Mz#6%ofo%ia94-bX
TuxT6&>_}z_z|9f@s}u$R^~!_*

literal 0
HcmV?d00001

diff --git a/tp2/target/classes/helloworld/HelloWorld.class b/tp2/target/classes/helloworld/HelloWorld.class
new file mode 100644
index 0000000000000000000000000000000000000000..ddf68ebaebcaf59d863e01522f362b35c0511c47
GIT binary patch
literal 1470
zcmX^0Z`VEs1_nb02QCI71~pCwbp{O%22CyoEe3541|4<=T`mST1~qmDJuU_g1~m=_
zeGqNH!C(lYjW`+D7>qd>OgI=!IT*~?8O#|O*mF~hixbmR85x9pvJ%S@^>Y&Q()EK&
ziZb)ktr;2EY%=pQOY9gKm^C!R7#Ucc^HWk88TfrN^HTjvbCXhwLK2g5z?$=u6LZ26
zi!wocs31#8MrJW1gSbydYEDjmd45q&ioOSk84hAvGcxcd7p0~adFB<DB<3ZjGBQYN
zXyQ~Ws)6Y~kdwHIQ%ihde&9++;)rNyVrpSz-~;(6GchN#II$!%KaY`tJ0-Qaq^L9*
z!s80gFD*(=b;|^Kiyz@!Jy7WIFo-gUu`^ikFjz8JF)}DQ78IoBD5R7sB<JTr%t$RQ
zQb1_Z&}3(@=3%g5kYi*}hAK`)lGj5C01Zt>22reG#mFEIvK~2doJuouQc{Z;88o5h
z;&ucyifwrqY#Hnr85lKr80;Aoc^HHlL>L*=q1sWLg$Pp(m}W)>6>KU|0~6!}MQqBD
zf*7Pm0O1?|q^#8B5=I6jq2S8mlGI#A2Il<I5=I75NF-+F>jxBN=9L7O6s0ESS~D^T
zgUvt{W@KP504d7JV`N}UEGS6LOJQWt#g=j)h9V_)Xn0yPGH{gSL()HkA_E(P5Ca1P
zBLfpCuoxH^*cli>Nq~WoL7ahs!JdJMfsuiMfmdrg1LGzJCL!i+3@jTN7#NrsBp4VN
z_!yYMT38r37<d>s86+7P7<eEW7^E1a85kHi8Dtn_p@!)&Ffo9D0LUQLZ44~C8Q3DX
zGq7&}I{;)J7gz-^0|x^i*cozAof!<wU>OalGj=m@L~du`6yn;(z^%QFfm?`Y8w2+?
z2HtH9ELz%I8Tb$`6k=duU|;}|!VF3bA`I#bqF`5wLCk}?l7T@3?0rTCMh1BXn5_v=
zTU9nOFu`o(Cuk!iOe7iP7^E1K8KjYHQ-Ry20=G?pK@sXleFl*23=FJVTNwC2K>`V4
zHgIstgN=a%Ei2R*Mg}DYF{oy9XgqO(f>r<}jv!&G!ob0xiev~U+z@5#h6rLYM3aGo
NK?|!PD&Qoc3IO0bFKqw-

literal 0
HcmV?d00001

diff --git a/tp2/target/classes/helloworld/Main.class b/tp2/target/classes/helloworld/Main.class
new file mode 100644
index 0000000000000000000000000000000000000000..703bc94e84ab5f2220f2cf16b5ff72ff22840ff3
GIT binary patch
literal 1465
zcmX^0Z`VEs1_nchKrRL`1|3cYT?Rc427N9D0|rBO1|u#8Rt6mo24fIy0wPQ~7|cMl
zIXi;|2ZJRS0}q202ZJ>SgAzM~4TxvU!C(iX?b#U|*clud8Q5$x^D;~97#Wx~G{YDf
zSe)}yQW+WeeKPY>{YrC_Qj0<olX6lS8H9ZDlM{2o5{oiHe5fExNk(QdBZHt%Mruw@
zetCXTPKv&7VrHH-BLhorVrCvAgP2CNPgY`CqJB<dUb=p8Nl|8Ax;4lm=H!wJMg|w3
z{GxRI;sTIxT2W$dYI%N9wtjMcUP)?2iGFcuK|y{|iN14AVsUXmVo63sZjNI?K~83J
zVo7Fxo-;(5H6sHT!hS{uab(wcfE*SMa+ozE17jv51EVJ+15092dNCt|FczmVGH|(8
zB&QaD%r9nVaAIWO3eGPrN=|jl1cd@8$ai`m5AiUFGf1#AIP);LFt{=@$m!w*><n%^
z4DJjbj11x+&B&qQRGOKSl3K*bAnKfvSd^Yxq>!ASmzJ4cS_Jka4}&Lz7l`m?WMI*&
z$j#wl@L}*}WN@N9;20Ss5a9+2bYxq_L5>yjPbx{x%PdkrsAFUhMR4>H!OO$o$KcP%
zAmWx<l#A(y00s$027V-spm1bl5I_Wme^ORzatR}YFhU3(5hx0SD~n4~a~T<!^Giz@
z8AKteD>Gj|peQr1B)Fs~H8Iy3W(=w@BLh1qp_Sz1F*1m1Ks2H!OSZ&<g4DbeMh0DM
z3NZ9QBhQ+VK}N$<6OS}UNj@a;Gct&1U@Ej`WMEHEEpbXs%wuFQ$6_^-(cs)*jcf)a
z?5r6XSd(+|i&GgC8AKVx7(jrDff1BW85kKP85kJ!85kKD85kH?wYD=bZe(C!U}BJB
zU|?W_2r@`BFfi~y*)j~W3=9mM3~~(e3``)+jFJp23@i)`3~O0zqy@MaF)ZK2z$C=H
zje%to1JiB>*2wJ)Y(nhY7&xT2F>nfTZDZir#=yOefn_%XPb5s57fpIQ1D`LFZhojV
zM57K&mjFUoNN^j2&;bTPKO|kkP-!GPb+$2xv@kL*{~w9)q!t4g*h3r)TnqvX+zfgQ
zpcKo?kj}uz(89pau!uo`VHpD_!x{!5a6o7=urT;BL@+2YC^9fHv@j?!C^0BAFf%YQ
ltYT1MPz49mS_U-+bp{3o4F(1V76wKJO$J5=EpV`E0|3FgaKZop

literal 0
HcmV?d00001

diff --git a/tp2/target/classes/helloworld/configuration1.xml b/tp2/target/classes/helloworld/configuration1.xml
new file mode 100644
index 0000000..2a546ef
--- /dev/null
+++ b/tp2/target/classes/helloworld/configuration1.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans.xsd">
+    
+    <!-- création via le constructeur par défaut -->
+    <bean id="helloworld1" class="helloworld.HelloWorld"/>
+    
+</beans>
diff --git a/tp2/target/classes/helloworld/configuration10.properties b/tp2/target/classes/helloworld/configuration10.properties
new file mode 100644
index 0000000..e0e5c98
--- /dev/null
+++ b/tp2/target/classes/helloworld/configuration10.properties
@@ -0,0 +1 @@
+helloworld.message=Bonjour le monde !
diff --git a/tp2/target/classes/helloworld/configuration10.xml b/tp2/target/classes/helloworld/configuration10.xml
new file mode 100644
index 0000000..c334e93
--- /dev/null
+++ b/tp2/target/classes/helloworld/configuration10.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:context="http://www.springframework.org/schema/context"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans.xsd
+    http://www.springframework.org/schema/context
+    http://www.springframework.org/schema/context/spring-context.xsd">
+    
+    <context:property-placeholder location="classpath:helloworld/configuration10.properties"/>
+    
+    <bean id="helloworld10" class="helloworld.HelloWorld">
+        <property name="message" value="${helloworld.message}"/>
+    </bean>
+    
+</beans>
diff --git a/tp2/target/classes/helloworld/configuration2.xml b/tp2/target/classes/helloworld/configuration2.xml
new file mode 100644
index 0000000..ae9a509
--- /dev/null
+++ b/tp2/target/classes/helloworld/configuration2.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans.xsd">
+    
+    <!-- création via une méthode de fabrique -->
+    <bean id="helloworld2" class="helloworld.HelloWorld" factory-method="creerInstance"/>
+    
+</beans>
diff --git a/tp2/target/classes/helloworld/configuration3.xml b/tp2/target/classes/helloworld/configuration3.xml
new file mode 100644
index 0000000..2bb91c2
--- /dev/null
+++ b/tp2/target/classes/helloworld/configuration3.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans.xsd">
+    
+    <!-- création via un constructeur -->
+    <bean id="helloworld3" class="helloworld.HelloWorld">
+        <constructor-arg value="Hello World!"/>
+    </bean>
+    
+</beans>
diff --git a/tp2/target/classes/helloworld/configuration4.xml b/tp2/target/classes/helloworld/configuration4.xml
new file mode 100644
index 0000000..9100d1c
--- /dev/null
+++ b/tp2/target/classes/helloworld/configuration4.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans.xsd">
+    
+    <bean id="fabrique" class="helloworld.Fabrique"/>
+    
+    <!-- création via un bean fabrique -->
+    <bean id="helloworld4" factory-bean="fabrique" factory-method="creerInstance"/>
+    
+</beans>
diff --git a/tp2/target/classes/helloworld/configuration5.xml b/tp2/target/classes/helloworld/configuration5.xml
new file mode 100644
index 0000000..886065e
--- /dev/null
+++ b/tp2/target/classes/helloworld/configuration5.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans.xsd">
+    
+    <bean id="helloworld5"
+          class="helloworld.HelloWorld"
+          scope="singleton"
+    />
+    
+</beans>
diff --git a/tp2/target/classes/helloworld/configuration6.xml b/tp2/target/classes/helloworld/configuration6.xml
new file mode 100644
index 0000000..12d4442
--- /dev/null
+++ b/tp2/target/classes/helloworld/configuration6.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans.xsd">
+    
+    <bean id="helloworld6"
+          class="helloworld.HelloWorld"
+          scope="prototype"
+    />
+    
+</beans>
diff --git a/tp2/target/classes/helloworld/configuration7.xml b/tp2/target/classes/helloworld/configuration7.xml
new file mode 100644
index 0000000..7646649
--- /dev/null
+++ b/tp2/target/classes/helloworld/configuration7.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans.xsd">
+    
+    <bean id="helloworld7"
+          class="helloworld.HelloWorld"
+          init-method="initialisation"
+          destroy-method="destruction"
+    />
+    
+</beans>
diff --git a/tp2/target/classes/helloworld/configuration8.xml b/tp2/target/classes/helloworld/configuration8.xml
new file mode 100644
index 0000000..c68fead
--- /dev/null
+++ b/tp2/target/classes/helloworld/configuration8.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans.xsd">
+    
+    <bean id="helloworld8"
+          class="helloworld.HelloWorld"
+          lazy-init="true"
+    />
+    
+</beans>
diff --git a/tp2/target/classes/helloworld/configuration9.xml b/tp2/target/classes/helloworld/configuration9.xml
new file mode 100644
index 0000000..3157bf8
--- /dev/null
+++ b/tp2/target/classes/helloworld/configuration9.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans
+    http://www.springframework.org/schema/beans/spring-beans.xsd">
+    
+    <bean id="helloworld9" class="helloworld.HelloWorld">
+        <property name="message" value="Hello World!"/>
+    </bean>
+    
+</beans>
diff --git a/tp2/target/classes/spring-config.xml b/tp2/target/classes/spring-config.xml
new file mode 100644
index 0000000..91ac8ae
--- /dev/null
+++ b/tp2/target/classes/spring-config.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="
+           http://www.springframework.org/schema/beans
+           http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+    <bean id="presentation" class="trois_tiers.Presentation">
+        <property name="metier" ref="metier" />
+        <property name="utilisateur" value="myuser" />
+    </bean>
+
+    <bean id="metier" class="trois_tiers.Metier">
+        <property name="stockage" ref="stockage" />
+    </bean>
+
+    <bean id="stockage" class="trois_tiers.Stockage">
+        <property name="nomFichier" value="myfile" />
+    </bean>
+
+    <bean id="app" class="trois_tiers.App">
+        <property name="presentation" ref="presentation" />
+        <property name="metier" ref="metier" />
+        <property name="stockage" ref="stockage" />
+    </bean>
+
+</beans>
\ No newline at end of file
diff --git a/tp2/target/classes/trois_tiers/App.class b/tp2/target/classes/trois_tiers/App.class
new file mode 100644
index 0000000000000000000000000000000000000000..4352b5a49f80902b7e5c0a183bc6c13fe6c01cf3
GIT binary patch
literal 1626
zcmX^0Z`VEs1_nb02QCI420bnYW(IwB1_N#eLk1%dVa(28!ogt5#lXg3#>v3UU=AWI
zK!hbbgB2qKPeD;?acW*kVo7Fx9wUR4Pf1aJW^sH;W@=HfegKl3H6w#$P-$LCW^QU&
zW^raxPO4*GUOq%$F(ZS8PkvFlesMujW?p()QDSatd45s0eo|^;Ua@{!Vsc4-QKfz&
zT!X%2X-R&0W>IR2H6sICZYsz+Mg|cS%YDJ3){G1s#U=U4*@@|?j0|EZDuSWnATw+-
z^D;~97#Wx~G{YDfSe)}yQW+WeeKPY>{YrC_Qj0<olX6lS8H9ZDlM{2o5{oiHe5fEx
zNk(QdBZDA{;f@6b){G1+xrv#1j0|EL(LPy;Wr_MZiFxVz!6hJHT7xZ0EJ`nCWDv$8
z&B(x&SWw`cpI4GvQNqYzgEfGXA=3KJ`FUxX>7_*=S2-3G<YXp;BLu43nvsDyv7msF
zfj2$1#1Y9*I}J_BjO8y*EkTZDMh008lwd%X1pAn?IJE>4HH-}6sA?g?U{&13sU@)J
zVPud*RR@y*tK<sKFD*(=b;|@r4~JtxfgUKJ85y*&daSr4wJ0^eq_QAY-#I_GAU`iP
zuf&>%L6kv^he4S^g^__DIsG~o6tFW`^Dx*j*zz#gF^DlTIAKerut+E_Ehxw@D$#e&
zNh~f7NG!>S$j!lw3`Pb)NHW(=21lA+MQ#qr1@=4)ybOFi41x?oJPg7NB8&_IAfG^z
zjDJ#AYH|r9gB3pe@h1XC2KMyS5~tL}JVpjp4W#4<cCNK1k_f~$Yeojv<edECR7M6-
zWcBdm%b>`>%)rCIz`)GF0CGD6BLhDJ0|OfaBZB|~2naF=VTcJch@gpq)Qd8RF)%WS
zGcYjdGcYnRGB7Z(YHep=+{nPdz{DT{HI#vYlR=V!fq@62fI*5ungJvx!ypUQoXEfg
zc8vHA1|}bEA?BS7EKCds7?^#vcQUXtG9Zi-VqjrlU=U?sVGv^wU=U{zV~_wFtpL%^
zAjcrjz`(%5Ak3h^pa}L4JA)E~Gy@X@Cn%jjty2Q4W?<mj&A=8Z#J-(@V*>*N10#}y
zr5P9*R2kHu>g^bq7??nw(bC?^z=?1T7g$uDft5i4><Te3pAG6kP>Av}@PWfcok0Ve
ySzPF5DKoG#sNgUQ5-W@hnhaXl%;H8jOPzt0K?8?bkl18m&<0184m|#K85jV=eRISB

literal 0
HcmV?d00001

diff --git a/tp2/target/classes/trois_tiers/Main.class b/tp2/target/classes/trois_tiers/Main.class
new file mode 100644
index 0000000000000000000000000000000000000000..b0e58096bc4ab2e0712fa2eb7a278b36578629c2
GIT binary patch
literal 1564
zcmX^0Z`VEs1_nchNG=8`24hYJ69!Wb1~V=Oa|R1821y1>4hAa_ZOy@81EOu&8SFS1
z?AaL{*clu-7@W8mcp03z7<d?5xEQz?TtQr85a9+AGX@dvAPHj-;Q=B%*%`dp8N3-8
z*laTMGE3|j8JIOR!x$M@obyvs85#I}GV@aXN^_G^i$W5Ua#9%?gnaUo6LZ26i!woc
zs31#8MrJWcuB0eGvpBvaGqtE#-#0Nc&zg~eB{wlMkC8!4Bibh`u`E$PCowNwKe(hQ
zGcVm5Y*S)UdNCt|FcxV>2EOF{ytK^p(xSwY%=|n<Mh3=wkTnQ{{FAa$lS{18RT?oe
za1@v1Cub+7r!q2#`5?P17%Fbf$iSAH3UVtWg9wTWU$Ce(BLh!CQEG8&UJ2NCMg}Pq
zRRKtH7!ELIWZ(+UFD*(=b;|?=8z(3<^g!<BVUT8!VQ28+Ven<}V`SiWM)skCAv=RV
z4?_S$AP<8YgA9hW5f6hV7GYx^1_O|=1hPMo-N(ql7m$&elUY!Zs^FVi1agrOvRa6b
z85u;71z`cj$iSVJnVgZCTBKJ}Q37&*AczP85y3nRAt1+wG6eB3gn?M$3=xbB0?6io
zyw1oV0P;K}_92mmA{1O%T#}m0$iSRmTEfU63P~!N`T7AxnRz9_B}J);xz>yf!eBE{
zg&7&x3qXo;@)#LJH6R+%)0m_NO3cAL22OvPSoEN%hJ+1REpKsZiC=!M8zeLs8Mup6
zOJIgEGVm3rmV}mM=42KpmZX*zF*0x#r<Oo;Gct&yIsqbVtr^Ck$RNoe#Q*}V42+<(
z!NABM%fP^(&%nsQ$iTqBs<oYgaU%l*0~3QB0|NsaSdfW9o`HdZ2h3(=P+(AGU|`^6
zP-0MqYEEHb0?R3FVqg+t-p0VPgMk&qWCJtVK}-%XlM`XG90NPZItC5~HU@46b_QVv
z4hAs>P6jy!E(S#gZX_F(7*rTk!8WQf$UtrMWZ(eXD7~A3D^iGiHv>=PZU){+A-?Sl
z{M#7>wlfHNBdp?LU}9ik;A4<t;D;M4#lXm*&Y%G{RugV)CIbrtGXn#IJlrsEkkMM(
z83cSFHfe8X5cEYDEyTdWz`!8Hz{McUAj}}bAjcpIwnBk{nSqNzltGI@n}LBrn1P2u
zhe4NtkwK1ukwK3^pMi;i6O@ObzUgFO0$ZyOvUWRzkhhi)-!=wekk#86M0~WhwlRo;
ztl!Qc=Bp#by^TR!M|&HC1i~3g3>*v$3=#|+43c1fiZMuo<5rnLmO+z2jzNz>9_}m-
Z26d>j#26%@&QfOJfjWzk!4MqzMgU@XPXzz~

literal 0
HcmV?d00001

diff --git a/tp2/target/classes/trois_tiers/Metier.class b/tp2/target/classes/trois_tiers/Metier.class
new file mode 100644
index 0000000000000000000000000000000000000000..7da8812bb4be9b0d5d5f8394e8142b335a53e827
GIT binary patch
literal 1246
zcmX^0Z`VEs1_nb0doBhc1|?1gWd;=v230NwH3oHd1`RF-Rt6;w22BvH1tPRL7<53i
zE+>N^gB}NiJ_myV2ZJFOgAs!+JA*Mhg9#%8M{!Aha&}^RDkFoKPf1aJW^sH;W@=Hf
zelS$rnvsFcCNnRy#Ey}HSwl07k%7fIKP8osf!`-HFV(L!Hz~C!Brz!`m61WnCqFqc
zCoHij6U2uKvXo?G7Be!4pcw9(3bMqSk%7B7wFG7pBZH&{iYl0dHON+ulKkM3qRhN>
zMg|cLO`oj9vPAuy#JqHUh^RFq16Oc<X;E^jTPDaY+z>1DK<aoHL>a``8BBQ?%oxlW
z8RQ%b3Q}_vQc4w)^Ye;Jib|79QcH^zAR06@*%>T&7%UmA7#YMtnvpGWD$UGENiAYz
zkbxSJ3e}~D<P8lT25SZz5Mj&6z^KW?Ajcrj!ywEc!pNWo)rQ?>SWMV5GDtxc!p(<y
zUPF_SK>+GfxO#R5J4OZ}<j8}lU}O+L_`p9YD>b<UMJTwkxFj`~k%2kCw1kmC6cVPH
z`T7AxnRz9_B}J);xz>yf!eBE{g&7&x3qXo;@)#LJH6R+1BLfs+Y>5R0sd*`k47%79
zVCaE{tu>l@h_kIRBOIY#1li}XG{d0CAjlxZz`(%Bzyu0>1_lNe21ZaqU|?hrXJBBk
zXJBGrWME+6)!NR$xQT&Dh<O_W%SHwU1||jx1_lN`24)5Z1~vv326hG>1`Y;E1_lNm
zhz15J25GRtG7Pd%!x9*n8JHLt7*sYfFzsewjoi+_Cd9stfkS&61E&zzHU^Gu4BXoo
zShTdaGVq|=!ObAYz{8--zzeoR3}Oz{4h9Alu;UrQPKVi+0kus7>U5Zmyaa6&Vqjrl
zVBlw9VGv+YVi06dXAnZNRReCT2HaLT26?C-L!kkt4hk&3Z44|hYx%b^aA<8|;Mv9?
ku#JHO=G_hOpyUF3NtA(uK@4meBpB79mN7CYfK@620D&+NZvX%Q

literal 0
HcmV?d00001

diff --git a/tp2/target/classes/trois_tiers/Presentation.class b/tp2/target/classes/trois_tiers/Presentation.class
new file mode 100644
index 0000000000000000000000000000000000000000..b6564377ea2496a1970a368c606ea90585c047f6
GIT binary patch
literal 1620
zcmX^0Z`VEs1_nb0Z!QKg25n9T9R^(v20bnYeFg(|2170eRt9Yj1|tw{%)wv+qD?s&
zL>bID7|cN&3lPVWgTab}!J31?hJ(SDgTaoA!JfgCoxy>f!I6=HyR;-TC$l)QB(=1N
zkwM5OE3qt5KPNFST|c;_C^IkJnvsDmH?<@)wTO{H#HXYvKeIR<#4FbK1&e~@Z8GyR
zOY9gKm^C!R7#Ucc^HWk88TfrN^HTjvbCXhwLK2g5QbC62Cnx5FB^G6Z_)tNXl8nq^
zMg}PqqXUXki&OJT5=%1k^Q;*e_=;0YLXn**s)6ZFkky>UsU;9+F*1m2pcn}ewg#!v
z#G)IQT8@%@NH{Puh-heH+RDhl6`WsMl$`383G$*Kvdi^AVadZF%^<_h;Kak=%;3Vv
zpyF6ikeZ{AQmT-gpI2N`RGJJ5cm-r_8k+13t~?BG49biQ;vgfCqr<5*GbaTU7m84W
zQc?8kfdinpI59m{gNMPL!Gn>3QIm&3ok4?#L7YK?kwF2EHc+&Jb$RkINHRz<GU!7U
z<8v%h^08%P;M7roBo<qoR>1;PLz9s~62;%BMsdJQVrTGTWRO5kdC0mL83Yhv<e!w4
znp}b+6kJ(clA6oNz?@%N!pI;BiNVZ#{eYs(yprIOqSVA(YeoiPuo<Yrj124rAVoQO
zj0|jv1qG>jDU1xdSkew=vVg{tHJW;e^Q`fy7ee+YB+W7?GKeyWF)%PNF))E55zLZg
zkYZq9U}azgB`*d>23ZCM273l321W)3241c042+u?n1q<OF|cd|E0<$nVBlk5W?*38
zU|?b3WZ+@oVvuKGVBmphU{GLCWME)mWKd#Ih8mW@z|6qJz`&rgiGgW118d}V1~wt~
zZ44aR+ZZ^6IJYryY-8Zs#=xSby_JC*-40#`IR-ukWd?q*9byo3pms1YsDM4e$iT>;
z!k~)BHXev=ylA%Zq1z_JAjcrgpv)kG!!}S*fozjzP=ngm!oUm;3o~dy!TiS$v5`Ya
zU>gI6&Nc>gtGTswwlW~uFUG*iz`!8Jz``KTpv@q`V89^BV9Fo`c83DQ2Dq=ypuT2c
zFau>Sa8#)?Xh2<*2<9^|7=xlsa2o>)%t=Dq7&x@HFmQuHT^PdV+r}UQ;zA=~13ZGc
azyU4Gz`-B~b^;`FjiF9pWY7ew)B*raENpTB

literal 0
HcmV?d00001

diff --git a/tp2/target/classes/trois_tiers/Stockage.class b/tp2/target/classes/trois_tiers/Stockage.class
new file mode 100644
index 0000000000000000000000000000000000000000..5bfd626aec6d26bb37db5b4bf0df37f555c91fbf
GIT binary patch
literal 1148
zcmX^0Z`VEs1_nb03oZr$1_e$AMFu4f24yY=6$Vvy1~o1QRt5zQ26Ygv!NH&jqO~{~
z_!+c07<4!obU7IG*ctTM84MU1xbpII-7=FiGE<8f8H9YY63Y_xa}x8?^@B@_GV{`{
z85!7YGV?M^>=+rCH8jH*8Cab2Q&Jfj_<b_-QvFJElTwR95|eULL7MZE6LZ26i!woc
zs31#8MrJW1gP2cAQGRA|d`V_%QL%n-Nq%y6VtT4IBLi=7YKb3`3q&<AodB|xqa+{V
zAVvle4NXinj0{}C`K3k4scxAdxA4NO&;xmhhe4P@gq^{Vhrx)!n2|xjv7jI|M<JzD
zAvr&<xTL5wxg@o;NCBorLzA7sgonYDL7I_49HbpNJe*21b5cM-1v4ZSu1^oeD;hiu
zW(?+x42+sQ3^EL|JPd*iLW~Sr1gu6xhAkt53{)|a6|hjy&}3u~fjbyQmk73yW@HdR
z_{2XcD>b<UMJTwkxFj`~k%2kCw1kmC6cWCf`T7AxnRz9_B}J);xz>yf!eBE{g&7&x
z3qXo;@)#M|5(^4a^HLZYbg{)E#89NP1r1AU21N#b1_1^J21W)ZP%tqtFt9K%g5r#U
zkwKJ!fx(`EiGh)Ufq_?RI|Jh;1|}iqZ44|M85kIt7{nMD82A{N85kJY7+4tC8F&~t
z7{nPE7<eEW7$g`Z!3Ik)NJ9-vU|?ooVqjoU*~GxKn}IcQI|G{#`!)s+?QIMkLY&(e
zIJPlxZDU~3(%#Czjcx}wgB$}7gE9jz*bXs>IZ!(o7*xQHX9PPPW?Kf-HVvrLVK(v*
zv{8tGg@J*ApMixzfI*2tkU^b62+39rxUCv+TV)tzp?(a41{lbXLcH4;SYX!jZDZij
k+QPt%<kt=GaO48}N0fnsK@4mYBn(xcHZd~DfmO-_0P<<`M*si-

literal 0
HcmV?d00001

diff --git a/tp2/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/tp2/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
new file mode 100644
index 0000000..75bbfba
--- /dev/null
+++ b/tp2/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
@@ -0,0 +1,8 @@
+trois_tiers/Presentation.class
+trois_tiers/Main.class
+trois_tiers/Metier.class
+helloworld/Main.class
+trois_tiers/Stockage.class
+trois_tiers/App.class
+helloworld/Fabrique.class
+helloworld/HelloWorld.class
diff --git a/tp2/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/tp2/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
new file mode 100644
index 0000000..978c261
--- /dev/null
+++ b/tp2/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
@@ -0,0 +1,8 @@
+/Users/julien/Developpement/2-master/cdl/CDL_michot/tp2/src/main/java/trois_tiers/Metier.java
+/Users/julien/Developpement/2-master/cdl/CDL_michot/tp2/src/main/java/trois_tiers/Stockage.java
+/Users/julien/Developpement/2-master/cdl/CDL_michot/tp2/src/main/java/helloworld/Main.java
+/Users/julien/Developpement/2-master/cdl/CDL_michot/tp2/src/main/java/trois_tiers/Main.java
+/Users/julien/Developpement/2-master/cdl/CDL_michot/tp2/src/main/java/trois_tiers/App.java
+/Users/julien/Developpement/2-master/cdl/CDL_michot/tp2/src/main/java/trois_tiers/Presentation.java
+/Users/julien/Developpement/2-master/cdl/CDL_michot/tp2/src/main/java/helloworld/Fabrique.java
+/Users/julien/Developpement/2-master/cdl/CDL_michot/tp2/src/main/java/helloworld/HelloWorld.java
-- 
GitLab