10.Project Property Description


 

Project Property Description

@enabelEurekaServer – this will configure a registry that will allow other application to communicate

….

Creating a new project

Actuator dependency – it is a feature that will help us to monitor and manage our application.

Eureka discovery – for service registration in Eureka service(since the project is want to register with eureka server, this dependency will be needed).

JPA – to deal with DB

H2 – in memory database

RestRepositories – are basically to expose IPA repositories as rest endpoint.

Web – Spring MVC architecture with embedded tomcat.

DevTools – this is for auto reload the application when there is any change in the file.

Lombok – to reduce boilerplate code.

 

 

 

Annotation

@EnableDiscovery – to register the application in the Eureka server.

@Data – it is shortcut that bundle the features of toString, getter setter constructor etc.

@AllArgumentConstructer- basically it generate aconstractor with 1 parameter for each fied in the class.

@Entity – typically it represent table in a database.

 

Feign – Basically declaration web client.

Zuul – Basically it provides an intelligent routing system.

Hystrix – it is  circuit breaker to stop cascading failure and enabling resilience.


Comments

Popular posts from this blog

09.Data Binding.

Database - Topics

02. Spring – Creating spring project clone it with GIT step by step.