Skip to content

Commit 457acf3

Browse files
Ranga Rao KaranamRanga Rao Karanam
authored andcommitted
LastCommitDuringPreparation-Iguess
1 parent 8c544f2 commit 457acf3

File tree

8 files changed

+44
-0
lines changed

8 files changed

+44
-0
lines changed

Step05.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
- Spring Boot vs Spring
33
- What Spring Boot is Not!
44
- Auto component scan
5+
- A programming tip
6+
- Pair Program once in a while!
57

68
##Spring Boot vs Spring
79
###Spring

Step09.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
- Additional Paths : spring.devtools.restart.additional-paths
88
- LiveReload livereload.com
99
- Technology in progress!! So, expect a few problems!
10+
- Programming Tip
11+
- Become an expert at your IDE - https://www.youtube.com/watch?v=dN9GYsG1v_c
1012

1113
## Useful Snippets and References
1214
First Snippet

Step13.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
- HAL Browser
55
- http://localhost:8080/actuator/
66
- Execute individual REST Services for each of above
7+
- Programming Tip
8+
- Use static code analysis - https://www.youtube.com/watch?v=rB_BaftN3nE
79

810
## Useful Snippets and References
911
First Snippet

Step14.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
- Switching to Jetty or Undertow
66
- Configuration
77
- server.port
8+
- Programming Tip
9+
- Always review code : https://www.youtube.com/watch?v=hVJGu0xdXII
810

911
## Useful Snippets and References
1012
First Snippet

Step21.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
##What You Will Learn during this Step:
22
- First thing first : I hate the fact that we did not write tests until Step 20 of this course
33
- I love TDD and use it in all my projects. However, when learning something new, I think it is important to focus on one thing at a time!
4+
- You can learn more about unit testing here - https://www.youtube.com/watch?v=o5k9NOR9lrI
45
- Let's write a Integration Test for our service
56

67
## Useful Snippets and References

Step24.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
- Basics of Mocking
55
- MockMvc framework
66
- @MockBean
7+
- Programming Tip
8+
- Be an expert at your build tool Maven - https://www.youtube.com/watch?v=exNl7USPfsg
79

810
## Useful Snippets and References
911
First Snippet

Step28.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
##What You Will Learn during this Step:
2+
- A Deep Dive into Autoconfiguration
3+
- spring-boot-autoconfigure-1.4.0.RELEASE.jar
4+
- /META-INF/spring.factories
5+
- Package org.springframework.boot.autoconfigure
6+
- Lets look at the log in debug mode!
7+
- Examples
8+
- JdbcTemplateAutoConfiguration
9+
- HttpMessageConvertersAutoConfiguration
10+
- Programming Tips
11+
- Understand Design Patterns
12+
- https://www.youtube.com/watch?v=Vp7q_pE7Fzg
13+
- Understand Modern Development Practices
14+
- https://www.youtube.com/watch?v=0Kqzfyp-w4s
15+
16+
## Useful Snippets and References
17+
```
18+
String[] beanNames = ctx.getBeanDefinitionNames();
19+
Arrays.sort(beanNames);
20+
21+
for (String beanName : beanNames) {
22+
System.out.println(beanName);
23+
}
24+
```

src/main/java/com/in28minutes/springboot/Application.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package com.in28minutes.springboot;
22

3+
import java.util.Arrays;
4+
35
import org.springframework.boot.SpringApplication;
46
import org.springframework.boot.autoconfigure.SpringBootApplication;
57
import org.springframework.context.ApplicationContext;
@@ -10,6 +12,13 @@ public class Application {
1012
public static void main(String[] args) {
1113

1214
ApplicationContext ctx = SpringApplication.run(Application.class, args);
15+
String[] beanNames = ctx.getBeanDefinitionNames();
16+
Arrays.sort(beanNames);
17+
18+
for (String beanName : beanNames) {
19+
System.out.println(beanName);
20+
}
21+
1322
}
1423

1524
}

0 commit comments

Comments
 (0)