
Explore Spring Rest and Angular, with Spring Boot, Spring Web Flux, OAuth, and JWT, plus TypeScript to build an end-to-end full stack application. Gain job-ready skills for interviews and certification.
Understand traditional monolithic architecture through a weather service example, tracing how an http request travels from browser to server, via controller and model, to a view rendering html.
Explore the limitations of traditional monolithic architecture, including coupling data with presentation, and illustrate the shift toward microservices and single-page applications via web services.
Explore remote method invocation (RMI) to call business methods across JVMs using stubs and skeletons, while noting Java-only limits and efficiency concerns.
Explore how soap protocol enables interoperable web services across languages by exchanging xml messages via http, using wsdl and jaxb to define and consume remote methods.
Explore restful web services, defining resources via urls and manipulating them with standard http methods, while learning constraints like statelessness, caching, layering, and hypermedia driven state.
Download the attached files for this chapter.
Learn how Spring Boot adds dependencies, uses an embedded server, and generates config files so you can focus on writing the application logic.
Create a Spring Boot project from scratch in Eclipse using the Spring Tool Suite, with Maven and jar packaging, and learn about fat jars, embedded Tomcat, and Spring Web starters.
Explore a standard maven project structure with sources, resources, and Thymeleaf. See how a parent pom manages versions, dependencies, spring boot starter web, and the runnable fat jar plugin.
Select Apache Freemarker as the template engine, add the dependency, and wire a Spring Boot controller to read user input, populate the model, and render Freemarker views.
Understand how Spring Boot auto configures and boots a Spring application by combining annotations, enabling component scanning, and producing a fat jar for stand-alone deployment.
Spring boot automates project setup with starter dependencies and embedded servers, enabling standalone production-grade applications with minimal externalized configuration via auto-configuration.
Learn how to deploy a Spring Boot application as a war on a Tomcat server by switching packaging to war, marking Tomcat dependencies as provided, and configuring the application context.
Note : If you are using Latest version of Spring, your FreeMarker template must end with ".ftlh" instead of ".ftl"
Compare traditional Spring MVC architecture with REST API, including dispatcher servlet, handler mappings, model, and view, and explore Spring Boot auto-configuration and REST endpoints tested with Postman.
Learn how web services use http methods like get, post, and delete, and why browsers limit testing; explore Postman, a free tool to test your application.
Explore the product API for an e-commerce app, to list all products, view a product by id, and create, update, or delete with json inputs via http methods.
Create a Spring Boot REST API by setting up a Spring Starter project with the web module, and structure it with controller, service, and model without a database.
Expose a get products API by building a product controller as a rest controller, define a product model and service, wire them together, and test with Postman at localhost:8080/product.
Fetch a specific product by id with a path variable using the product service and a constructor-populated list, then test with id 1 for iPhone.
Create a resource with a post request in Spring Boot, define a post method, handle form data, call a service to create a product, and return a JSON status.
Demonstrates updating an existing product via a put request in Spring Boot, binding JSON to a product object, and returning the updated product as JSON.
Demonstrates deleting a resource by id in a Spring Boot REST controller, using a path variable, get product by id, and a status map to confirm deletion.
Master content negotiation in restful web services by using path extensions, url parameters, and accept headers; leverage message converters for marshalling and unmarshalling between json or xml and java objects.
Learn header-based content negotiation in a Spring Boot REST API by adding the xml dependency, updating pom.xml, and using accept headers to switch from json to xml.
Enable content negotiation via a request parameter in Spring Boot, customize the parameter name in application.properties, and observe parameter precedence over headers, with options for XML or JSON responses.
Enable path extension content negotiation by setting the property to true in application.properties, then leverage extensions like .json, .xml, or .pdf to determine the response format with precedence.
Learn how servers handle multiple formats by using the content type header to select the right converter for XML data when updating resources with put requests.
Learn to restrict Spring REST responses with the produces attribute, choosing Json, Xml, or Pdf. Apply class- or method-level restrictions and return content via ResponseEntity with streams and headers.
Learn how accept-encoding drives compression in full stack apps, enabling the server to select a compression algorithm and the client to decode automatically, reducing bandwidth and latency.
Learn how http cache stores resources on clients and proxies to speed up access and save bandwidth. Use response headers to control cache lifetime and data freshness.
Apply cache control with a 30-second max age to the weather temperature response, observe client caching via response headers, and avoid cache for sensitive transactions.
Explain etag theory by showing how the server provides a hash representing the resource, enabling the client to validate its cache and receive a 304 not modified when unchanged.
Demonstrate etag caching in a spring boot rest app by hashing responses with a shallow etag header filter, configuring it, and validating with if-none-match to return 304.
Explain how to use cache-control headers to decide where to store response data: no-store prevents caching, public allows caching at client and intermediaries, private restricts to the client.
Learn patch for partial updates in spring rest api, compare it with put, and update only specific fields using a key-value map in a patch mapping example.
Explore safe and idempotent http methods; get is safe and idempotent, post is unsafe and non-idempotent, and patch may not be idempotent.
Understand how to implement upload and download features with a Spring Boot REST API, including single and multiple file uploads and a download endpoint.
Master graceful exception handling in Spring REST API by returning custom JSON error objects, leveraging controller advice for centralized handling, and sending meaningful status messages across controllers.
Explore how Spring REST handles validation with a dedicated validation layer, using bean validation annotations and custom validators to ensure requests are well-formed before reaching the business logic.
Master rest template to enable two web services to communicate programmatically, fetch products from a CRUD API, and return results as a string or a POJO, with bean configuration.
Use the Jackson library to retrieve information from JSON responses. Read the body with an object mapper, extract fields like product name by id, and handle nested objects and arrays.
Learn how to send post requests using rest template to create a product across two web services, building the uri, configuring json payloads, and handling responses.
Update an existing product using a put request with rest template across two web services, sending json with an http entity and exchange, and return the updated object.
Delete a product using rest template by sending a delete request with a path variable and the exchange method, returning a map response.
Learn rest template error handling by implementing ResponseErrorHandler, handling 4xx and 5xx codes, and testing with exchange API and status-code generator for 400, 403, 404, and 500.
Learn to prevent thread starvation by configuring rest template timeouts for external calls. Set connection and read timeouts via http request factory, and handle timeout errors with an error handler.
Explore hateoas, the hypermedia as the engine of application state, where servers provide relation-based links to drive client actions, avoiding hardcoded URLs.
Explore a running spring boot rest app that serves products and reviews as json, each with hateoas links and wrapped responses via the resources wrapper and link builder.
Are you looking for a Job, and your employer is asking for the following skill set?
Spring Boot, REST API, Restful Webservices, Reactive Programming, Spring WebFlux, Java Script, Angular, Type Script, Oauth, NoSQL, etc
Well, You are in the right place!
“Spring Boot REST with Angular” Is a course that will help you get those skills, in shortest time possible. So that you can, not only apply for these jobs and clear their interview, but can also work on real time Spring projects.
If you are an Architect, it’s an absolute must to have knowledge on these concepts to make right project decisions or to comfortably take part in team discussions.
I’ve been dealing with Spring Projects since 2012 and on Angular since 2017. I’ve also taught/mentored many individuals worldwide and helped them reach their goals.
This course is taught in beginner friendly way and the only expectation from you, is that you know Java and some basic understanding of Spring Framework.
In the end of this course, we will also create an End-to-End full stack application. So, that you will put everything you’ve learnt in this course in to practice. This will give you exposure to, how these technologies work together.
If you need any help while you are taking this course, I am just a message away. I mean, I come with so much of experience in the industry, for what? Is to help individuals like you, get a better career.
Highlights of this course on ‘Spring Boot REST & Angular’
You will learn all the essential concepts of Spring REST
You will learn Spring WebFlux to leverage the benefits of Reactive Programming
You will learn Spring O’Auth and JWT
You will be introduced to Spring Boot and it’s Features
You will Learn Angular and it’s features (3 Hour Angular Crash Course)
We will create an end-to-end Full stack application from scratch!
You will gain enough knowledge to start working on related projects
You will comfortably understand any other JavaScript Framework with ease
Struck somewhere while learning? I am just a message away, to help you out.
This course is made in beginner friendly way
You will clear job interviews on this subject (or) comfortably work on spring projects
30-Day Refund policy.
Why should you learn Spring Boot REST?
Pretty much all the modern day applications are built on the principles of REST API to expose webservices.
Spring is the most popular framework to build RESTful Webservices
Understanding of Spring REST is necessary, before you move on to learn Spring Microservices
Having knowledge on REST will enable you to use any third party API’s without hiring a developer.
Spring Boot is a framework to create microservices on cloud. If you are learning spring, then it’s an absolute must to learn ‘Spring Boot’. It will allow you to develop spring apps, with a lot of ease.
This course will talk about pretty much all the Spring REST concepts with beautiful examples (Including O’Auth, Reactive programming, etc), In beginner friendly way.
This course will also give you a brief understanding on Spring Boot and it’s features. Along with examples.
Check the complete curriculum below..
Why should you learn Angular?
Angular is the front end app, that makes REST API Calls to a remote webservice created using spring.
Angular is the most popular front end JavaScript framework
Knowledge on Java Script framework is an absolute must for any job role
Learning about angular will lay a solid foundation to learn any other JavaScript frameworks like React, Node, Vue JS, etc.
Although, this course is not an exclusive course on Angular, this course includes a 3 Hour crash course on Angular, that will familiarize you with all the Features of Angular with examples.
This is enough for you to work on Angular Projects.
What will you learn in this course?
‘Spring Boot REST with Angular’ will teach you all the essential concepts, in detail and with practical examples (Including, creation of an end-to-end Full Stack Application). The following is the course curriculum.
‘Spring Boot REST API with Angular’ syllabus :
Foundations of RESTful Web Services: Learn the principles of REST, the pitfalls of traditional MVC, and how Spring Boot revolutionizes API development.
Comprehensive CRUD Operations: Master building RESTful endpoints, including creating, updating, and deleting resources, while handling real-world challenges like content negotiation and HTTP status codes.
Advanced Concepts: Explore cutting-edge topics like:
Content Negotiation: Learn techniques like HTTP headers, request parameters, and path extensions for customizing API responses.
HTTP Caching: Delve into caching mechanisms like ETag, Cache-Control directives, and efficient handling of stale data.
Error Handling and Validations: Implement robust error-handling strategies and create custom validation rules.
Reactive Programming with Spring: Discover how to handle asynchronous data streams, backpressure, and live streams with reactive paradigms. Learn to integrate MongoDB for building reactive applications.
HATEOAS: Implement hypermedia-driven APIs to build more interactive and user-friendly systems.
File Handling: Learn the intricacies of file upload, download, and secure file management within APIs.
OAuth and JWT: Implement secure authentication workflows to protect your APIs with OAuth 2.0 and JSON Web Tokens.
Angular Crash Course: Build dynamic frontends and integrate them seamlessly with your REST APIs. Topics include Angular components, routing, HTTP client, dependency injection, and data binding.
Key Topics Covered
The nuances of RMI and SOAP vs REST
POSTMAN client usage for API testing
Spring Boot features like JAR and WAR deployments
Real-world challenges with PATCH, PUT, and DELETE requests
Implementing parallel streams and handling timeouts with REST templates
Understanding idempotency and safe HTTP methods
Practical examples with live streaming data and reactive MongoDB integration
Few random reviews on my teaching style
★★★★★
“Instructor has great knowledge on the topics he covered.”
★★★★★
“An excellent trainer.I would really to take his courses always .The trainer prepares the student to go in the market and secure a job.”
★★★★★
“This course is really worth it. The tutor has ample practical knowledge and discusses about almost everything that is there to know. I am glad i took this course and would encourage any aspirant to go for it.”
★★★★★
“Good, clear instructor with uncluttered focused examples – recommended.”
★★★★★
On my Java course : “Liking the course so for. Very good explanation of each concepts, explaining the fundamentals on each topic, all the way till what happens in memory in each, explaining the “Why’s” in the beginning of topic (which is very important to me, otherwise one would be just memorizing). I liked the author’s approach to start with explaining methods and then expanding it to classes, objects and others. This course is good value for the money.”
Knowledge Notes!
What is Spring Boot REST?
I don’t want to get too technical (Assuming that you are beginner). This was explained well in detail in the course. But roughly speaking, the main purpose of REST API is to decouple presentation from Business and Data tier, so that the same code can be used for both Mobile and Web applications.
In other words, a REST API will not return HTML, like in case of traditional applications. But, will return Data. Because, guess what! HTML works on browsers but not on mobile app.
‘Spring Boot’ on the other hand will help us develop spring apps in rapid manner. Basically, it follows “convention over configuration” principle. Which means, with spring boot, developers can focus on writing the code that matters and don’t have to take care of configurations and other boilerplate code.
This is all discussed in the course, in detail.
What is reactive programming in Spring boot REST?
Again! This was explained well in the course, but to put it simply, reactive programming will reduce the thread wait time on the server. So that, more requests can be processed at a time.
If you want to know ‘How’! Then, it’s hard to explain in typing. It’s explained well in the course.
What is Angular?
Traditional apps used to return HTML and so they can be rendered directly on the browser. But, a REST API will return ‘Data’ without presentation.
So then, who will take care of presentation part? Well, you guessed it. Angular!
Angular is an application that runs on the browser and acts like a client app for REST API. Angular is much more than just that though! Better check out the course lectures.
I hope to see you in the course. Either way, I wish you good luck for your future endeavors!
Your well wisher,
Karthikeya T