Skip to content

Commit 01f3ad1

Browse files
committed
add exercises.md
1 parent a3f2675 commit 01f3ad1

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

exercises.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Exercises
2+
3+
4+
5+
# M0 - Hello world
6+
## Ex 1
7+
* Create a maven project and add a dependency to org.springframework spring-context using the latest GA version of spring framework 5. See docs att https://spring.io
8+
* Create a MessagePrinter class that prints a message to the console.
9+
* Add an Application class with a main method.
10+
* In the main() method create an instance of an AnnotationConfigApplicationContext and configure it with a MessagePrinter bean.
11+
* Obtain a MessagePrinter from the context and call the message-printing method
12+
13+
## Ex 2
14+
Download and extract the spring-framework-5.x.x.RELEASE distribution from https://repo.spring.io
15+
Examine the docs, schemas and jar files.
16+
17+
# M1
18+
See PDF for M1 exercises
19+
20+
# M2
21+
Annotate the ecommerce components and make the demo in AppConfig.main() method working.
22+
23+
# M3
24+
Use java based configuration to define the ecommerce components. See JavaConfig.main()
25+
26+
# M4
27+
Use xml based configuration to define the ecommerce beans, see XmlConfig.main()

0 commit comments

Comments
 (0)