Skip to content

Java | Spring #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
raunak-r opened this issue Apr 8, 2021 · 5 comments
Open

Java | Spring #21

raunak-r opened this issue Apr 8, 2021 · 5 comments

Comments

@raunak-r
Copy link
Owner

raunak-r commented Apr 8, 2021

SpringBoot

Naming Convention

group - name of company or user
artifact - project name
name - main or home etc. will be named to {name}Application
package name - {group}.{artifact}

@raunak-r
Copy link
Owner Author

@raunak-r
Copy link
Owner Author

raunak-r commented Apr 29, 2021

Maven | Gradle Stuff

  1. Installations - https://mkyong.com/maven/how-to-install-maven-in-windows/

Commands

  • mvn dependency:tree -Dincludes=:logback-classic* # to find parent libraries of any other library.

@raunak-r
Copy link
Owner Author

raunak-r commented May 29, 2021

Project Level Configurations

Hot Reload

1) add: 
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
</dependency>
to pom,
2) Settings: Build, Execution, Deployment => Build Project Automatically
3) ctrl + alt + shift + /   = Registry - Enable 'compiler.automake.allow.when.app.running, property.

Reading app properties.

@raunak-r
Copy link
Owner Author

Syntax | Code Writing

@raunak-r
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant