|
@@ -2,7 +2,7 @@
|
2
|
2
|
|
3
|
3
|
# Part 1 - Domain Implementation<br>
|
4
|
4
|
* _Domain objects_ are the backbone for an application and contain the [business logic](https://en.wikipedia.org/wiki/Business_logic).
|
5
|
|
-* Create a sub package of `java` named `domain`.
|
|
5
|
+* Create a sub package of `io.zipcoder.tc_spring_poll_application` named `domain`.
|
6
|
6
|
|
7
|
7
|
|
8
|
8
|
-
|
|
@@ -74,7 +74,7 @@
|
74
|
74
|
* _Repositories_ or [Data Access Objects (DAO)](https://en.wikipedia.org/wiki/Data_access_object), provide an abstraction for interacting with _datastores_.
|
75
|
75
|
* Typically DAOs include an interface that provides a set of finder methods such as `findById`, `findAll`, for retrieving data, and methods to persist and delete data.
|
76
|
76
|
* It is customary to have one `Repository` per `domain` object.
|
77
|
|
-* Create a sub-package of `java` named `repositories`.
|
|
77
|
+* Create a sub-package of `io.zipcoder.tc_spring_poll_application` named `repositories`.
|
78
|
78
|
|
79
|
79
|
|
80
|
80
|
-
|
|
@@ -102,7 +102,7 @@
|
102
|
102
|
# Part 3 - Controller Implementation
|
103
|
103
|
* _Controllers_ provides all of the necessary [endpoints](https://en.wikipedia.org/wiki/Web_API#Endpoints) to access and manipulate respective domain objects.
|
104
|
104
|
* REST resources are identified using URI endpoints.
|
105
|
|
-* Create a sub package of `java` named `controller`.
|
|
105
|
+* Create a sub package of `io.zipcoder.tc_spring_poll_application` named `controller`.
|
106
|
106
|
|
107
|
107
|
|
108
|
108
|
-
|