Posts

Showing posts from February, 2018

Java version

Java 8 Enhancements :- 1. Lambda expressions: Lambda expression provides implementation of functional interface. https://www.javatpoint.com/java-lambda-expressions Runnable oldRunner = new Runnable(){     public void run(){ System.out.println("I am running"); } }; Runnable java8Runner = () ->{ System.out.println("I am running"); }; 2. Method references: https://docs.oracle.com/javase/tutorial/java/javaOO/methodreferences.html 3. Functional interfaces: An Interface that contains exactly one abstract method is known as functional interface. It can have any number of default, static methods https://www.javatpoint.com/java-8-functional-interfaces 4. Stream API: http://www.baeldung.com/java-8-streams 5. Default methods: https://www.journaldev.com/2752/java-8-interface-changes-static-method-default-method Java interface default methods will help us in extending interfaces without having the fear of breaking implementation classes. Java interface defa

Micro Services

                                                               Micro Services https://dzone.com/articles/microservices-in-practice-1 The Benefit of Microservices :- Microservices have become popular in the software development world because they have several substantial benefits over their monolith predecessors: Microservices are quicker to build and deploy- Larger applications are slower because they have many different modules, all of which must be integrated and deployed as part of the program. Microservices architecture allows admins or users to load just the services that are required, which improves deploy times, especially when packaged in containers. They are flexible- Developers can choose exactly how a microservice is implemented and change it as needed, with no extra features serving as dead weight. They scale easily- Precisely because they’re lightweight and flexible, a microservices application can typically scale-out easily and hence handle more transactions

Spring

                                                                    Spring                                   Features Of Spring Framework 1. Lightweight: Spring Framework is lightweight with respect to size and transparency. 2. Inversion Of Control (IOC): In Spring Framework, loose coupling is achieved using Inversion of Control. The objects give their own dependencies instead of creating or looking for dependent objects. 3. Aspect Oriented Programming (AOP): By separating application business logic from system services, Spring Framework supports        Aspect Oriented Programming and enables cohesive development. 3. Container: Spring Framework creates and manages the life cycle and configuration of application objects. 4. MVC Framework: Spring Framework is a MVC web application framework. This framework is configurable via interfaces and accommodates multiple view technologies. 5. Transaction Management: For transaction management, Spring framework provides a ge