Introduction in Java with Springboot

14Jul - by narayan - 0 - In Uncategorized

Spring boot this exclusive open source, Microsserviche-based Java Web Framework. The Spring Boot framework creates a fully production-ready environment that is completely configurable using its prebuilt code within its codebase. The microservice architecture provides developers with a fully enclosed application, including embedded application servers.

JAVA

Java this eternal object-oriented programming language that produces software for multiple platforms. When a programmer writes a Java application, the compiled code (known as bytecode) runs on most operating systems (Os) Including Windows, Linux and Mac OS. Java derives much of its syntax from the C and C ++ programming languages.

Springboot

Spring boot this exclusive open source Java-based framework used to create a micro Service. It is developed by Pivotal Team and is used to build stand-alone and production ready spring applications. This chapter will give you an introduction to Spring Boot and familiarizes you with its basic concepts.

Pre-requisites

  • Complete beginners. We got you covered. We’ll start from compilation & interpretation.
  • Programmers switching from other languages.
  • Java programmers who are not feeling confident about their existing Java skills.
  • Java programmers who want to learn about design principles & best practices. Any serious programmer should know this stuff!

Agenda of Java with Springboot

Introduction – Java

Java Fundamentals – Object-oriented Design

Thinking in Objects

  • Basics
  • Coherence, Coupling, and God Classes
  • What Is an Object?

Defining Behavior and State

  • Problems with println()
  • Money and Delegation: Getters and Setters Are Evil

Extending Classes

  • The Is-a Test
  • Simple Extension and Template Method
  • Delegation Under Inheritance: Shape
  • Liskov Substitution: Stack, Ver. 1
  • Fragile Base Classes: Stack, Ver. 2

Defining Class Contracts with Interfaces

  • Defining Contracts
  • Fixing Fragility
  • Dependency Inversion

Working Without Getters and Setters

  • The Open Closed Principle
  • Builder

Testing OO systems

  • Dependency Injection
  • Summing Up

What Is Object Orientation?

  • Course Overview
  • What is Object Orientation?
  • From Use Cases to Conceptual Classes
  • Class Relations
  • Deriving Software Classes, Part 1
  • Deriving Software Classes, Part 2
  • Demo: Instance and Static Methods

Encapsulation and Abstraction

  • Module Overview
  • More Class Relationships
  • Encapsulation
  • Assigning Responsibilities
  • Demo: Exercising the System
  • Demo: the Single Responsibility Principle
  • Demo: Defending Encapsulation
  • Abstraction: Encapsulation or Inheritance?

Inheritance and Polymorphism

  • Module Overview
  • Don’t Repeat Yourself
  • The Liskov Substitution Principle
  • Overriding and Dynamic Dispatch
  • Demo: Dynamic Dispatch
  • Using Overridden Methods
  • Understanding Inheritance
  • Abstract Classes and the Open-closed Principle

Interfaces, Composition, and System Design

  • Module Overview
  • Interfaces What Are They, and Why Do We Need Them?
  • Demo: Paying through an Interface
  • Demo: The Fragile Base Class Problem
  • Delegation and the Decorator Pattern
  • The Strategy Pattern
  • The Interface Segregation Principle
  • The Dependency Inversion Principle

Introducing – Spring Boot

  • Getting Started
  • Learning Path
  • Spring Boot Overview
  • Features of Spring Boot
  • Summary

Bootstrapping a Simple Application

  • Overview
  • Demo: Spring Initializr
  • Demo: Spring Boot CLI
  • Demo: Auto Configuration
  • Spring Boot Annotations
  • Spring Boot Properties
  • Spring Boot Profiles
  • Summary

Accessing Data with Spring Boot and H2

  • Overview
  • H2 Database
  • Why Use Templating Engines?
  • ORM with JPA
  • Entities
  • Demo: H2 Integration
  • Demo: H2 Console
  • Demo: Partials
  • Summary

Configuring a Spring MVC Application with Spring Boot

  • Overview
  • MVC Design Pattern
  • Demo: MVC in Action
  • Packaging and Deployment
  • Demo: Uber Jar
  • Summary

Building a RESTful Web Application with Spring Boot

  • Overview
  • REST Architecture
  • Demo: RESTful Web Application
  • Demo: Testing with URL
  • Response Formats
  • Exception Handling
  • Demo: Exception Handling
  • Summary

Building a GraphQL Server with Spring Boot

  • Overview
  • GraphQL Overview
  • GraphQL Dependencies
  • GraphQL Schemas
  • Demo: Schemas
  • Query Operations
  • Mutations
  • Exceptions
  • Demo: GraphiQL
  • Summary

Enabling Actuators, Metrics, and Health Indicators

  • Overview
  • Actuator
  • Custom Endpoints
  • Summary

Testing with Spring Boot

  • Overview
  • Testing Overview
  • Unit Testing
  • Integration Tests

If you are want to learn JAVA then Visit here.

Facebook Comments