Skip to content

Commit

Permalink
LastCommitDuringPreparation-Iguess
Browse files Browse the repository at this point in the history
  • Loading branch information
Ranga Rao Karanam authored and Ranga Rao Karanam committed Jan 4, 2017
1 parent 8c544f2 commit 457acf3
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Step05.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
- Spring Boot vs Spring
- What Spring Boot is Not!
- Auto component scan
- A programming tip
- Pair Program once in a while!

##Spring Boot vs Spring
###Spring
Expand Down
2 changes: 2 additions & 0 deletions Step09.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
- Additional Paths : spring.devtools.restart.additional-paths
- LiveReload livereload.com
- Technology in progress!! So, expect a few problems!
- Programming Tip
- Become an expert at your IDE - https://www.youtube.com/watch?v=dN9GYsG1v_c

## Useful Snippets and References
First Snippet
Expand Down
2 changes: 2 additions & 0 deletions Step13.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
- HAL Browser
- http://localhost:8080/actuator/
- Execute individual REST Services for each of above
- Programming Tip
- Use static code analysis - https://www.youtube.com/watch?v=rB_BaftN3nE

## Useful Snippets and References
First Snippet
Expand Down
2 changes: 2 additions & 0 deletions Step14.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
- Switching to Jetty or Undertow
- Configuration
- server.port
- Programming Tip
- Always review code : https://www.youtube.com/watch?v=hVJGu0xdXII

## Useful Snippets and References
First Snippet
Expand Down
1 change: 1 addition & 0 deletions Step21.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
##What You Will Learn during this Step:
- First thing first : I hate the fact that we did not write tests until Step 20 of this course
- 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!
- You can learn more about unit testing here - https://www.youtube.com/watch?v=o5k9NOR9lrI
- Let's write a Integration Test for our service

## Useful Snippets and References
Expand Down
2 changes: 2 additions & 0 deletions Step24.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
- Basics of Mocking
- MockMvc framework
- @MockBean
- Programming Tip
- Be an expert at your build tool Maven - https://www.youtube.com/watch?v=exNl7USPfsg

## Useful Snippets and References
First Snippet
Expand Down
24 changes: 24 additions & 0 deletions Step28.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
##What You Will Learn during this Step:
- A Deep Dive into Autoconfiguration
- spring-boot-autoconfigure-1.4.0.RELEASE.jar
- /META-INF/spring.factories
- Package org.springframework.boot.autoconfigure
- Lets look at the log in debug mode!
- Examples
- JdbcTemplateAutoConfiguration
- HttpMessageConvertersAutoConfiguration
- Programming Tips
- Understand Design Patterns
- https://www.youtube.com/watch?v=Vp7q_pE7Fzg
- Understand Modern Development Practices
- https://www.youtube.com/watch?v=0Kqzfyp-w4s

## Useful Snippets and References
```
String[] beanNames = ctx.getBeanDefinitionNames();
Arrays.sort(beanNames);
for (String beanName : beanNames) {
System.out.println(beanName);
}
```
9 changes: 9 additions & 0 deletions src/main/java/com/in28minutes/springboot/Application.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.in28minutes.springboot;

import java.util.Arrays;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
Expand All @@ -10,6 +12,13 @@ public class Application {
public static void main(String[] args) {

ApplicationContext ctx = SpringApplication.run(Application.class, args);
String[] beanNames = ctx.getBeanDefinitionNames();
Arrays.sort(beanNames);

for (String beanName : beanNames) {
System.out.println(beanName);
}

}

}

0 comments on commit 457acf3

Please sign in to comment.