Saturday, October 13, 2018

Spring Cloud

Spring Cloud provides tools for developers to quickly build some of the common patterns in distributed systems (e.g. configuration management, service discovery, circuit breakers, intelligent routing, micro-proxy, control bus, one-time tokens, global locks, leadership election, distributed sessions, cluster state). Coordination of distributed systems leads to boiler plate patterns, and using Spring Cloud developers can quickly stand up services and applications that implement those patterns. They will work well in any distributed environment, including the developer's own laptop, bare metal data centres, and managed platforms such as Cloud Foundry.

Spring Cloud focuses on providing good out of box experience for typical use cases and extensible mechanism to cover others.
  • Distributed/versioned configuration
  • Service registration and discovery
  • Routing
  • Service-to-service calls
  • Load balancing
  • Circuit Breakers
  • Global locks
  • Leadership election and cluster state
  • Distributed messaging

References Used :-spring-cloud

Version  :-  1.0.0 

Maven

 Why Maven?

We don’t want to store all the libraries in your project!
You want to tell I need A, B, C and you would want the tool to download the libraries and make them available to you.
That’s Maven. The tool which you use to manage the libraries.
If you need a new version of the library, you can change the version and your project is ready!
Also, You don’t need to worry about what libraries your library needs to work. For example, Spring might need other libaries - logging, xml etc.
Once you declare a dependency on Spring, Maven would download.


But  some  dependencies such as  

       
        <dependency>
            <groupId>com.oracle</groupId>
            <artifactId>ojdbc14</artifactId>
            <version>10.2.0.4.0</version>
        </dependency>

                                     we   have  do  add manually . We  can't  download  them  through  maven .




References  Used :- creating-spring-boot-project-with-eclipse-and-maven

The AI Driven Software Developer, Optimize Innovate Transform

  The AI-Driven Software Developer: Optimize, Innovate, Transform": AI Transformation in Software Development : Understand how AI is re...