
Learn to build Java web services and REST APIs with Spring and Spring Boot, format JSON data, connect to databases, implement authentication and authorization, and complete a hands-on final project.
Explore the theory of web services and restful APIs, introduce the Spring Framework basics, and prep for code in the Java web services and REST API course.
Define what a web service is and how a client uses it over the internet to access information via APIs and JSON.
Learn what a restful api is and how it enables state transfer between clients and a database using http methods like get, post, put, and delete.
Explore Spring Boot and Spring Framework to quickly set up Java web services with dependency injection and loose coupling. Learn how the Spring container manages object lifecycles and simplifies configuration.
Install the Java SDK by downloading the Oracle JDK for your system and choosing the correct version. Enable your computer to compile and run Java code.
Install your preferred Java IDE after verifying the Java SDK is set up, noting trial options or student verification, since the IDE will be used for the entire course.
Install xampp and set up the local environment to support databases and a web service for fetching and inserting data, preparing you for later sections.
Using start.spring.io, create a spring boot project with Maven and Java, add web and JPA, and build a REST API that fetches books from a database and returns JSON.
Create your first Spring Boot rest controller with a hello world endpoint, map it to a URL, and call it from a browser to return hello world.
Add your first parameter by using a path variable named name in a Spring rest endpoint to return a personalized hello.
Download and install SoapUI, an open source tool, to test and manipulate parameters for your methods, then set it up on your local machine to call your API.
Learn to add parameters to a Spring Boot web service, test with a client tool, and see how path variable values like Tom produce responses such as hello Tom.
Create a class with private message and name fields and a two-parameter constructor. Override a method to return a hello message combining the fields for a web service.
Explore the four basic http methods, get, post, put, and delete, and how they read, create, update, and delete resources in restful services, with examples and testing approaches.
Learn to use the exam control panel to run a web service with Tomcat, connect to a local Maskil database, and create a new schema for this course.
Create a local database and a persons table with first name, last name, and city, insert a row, and run a select to view the data.
drop and recreate the table to add a person_id as an auto-incrementing primary key starting at 1, enabling reference to a specific user in the Java web services course.
Create a Person entity mapped to the persons table with id, first name, last name, and city, plus constructors and a service to insert.
Create a person class, instantiate a person object, and persist it to the database using the entity manager and the persistence context in a Spring Boot rest api.
Learn to insert a person via a web service using a post request, mapping first name, last name, and city, persisting to a database, and later fetch the inserted users.
Create a get endpoint to fetch a user by id from a MySQL database using a CrudRepository, returning an optional person and supporting create person.
Explore integrating a web service with a web application using a restful framework, enabling create and search of users and save and load data from the database.
Install node.js, npm, and angular cli to set up a fast, ready-to-run angular web app. Create a new project, install dependencies, and run a local server on localhost.
Learn to bootstrap and style a local web app with a responsive Bootstrap grid, using container, rows, and 12-column cards, and plan simple service calls.
Build a dual-component front end with routing to switch between search and create user views, implement a user form, and wire submission to the Java create person web service.
Continue to implement the fetch persons feature by wiring a user service to retrieve by id and display the backend data in the browser.
Fetch person records from a REST web service and display them in a table. Populate first name, last name, city, and position and enable dynamic input for updates and create.
Create a user by building a front-end form for first name, last name, and city, posting to a back-end service, and verifying the entry.
Verify end-to-end functionality by ensuring web services, web app, and database run, enabling data access and user creation across three layers; download the Angler web app code to troubleshoot.
Looking to enhance your Java programming skills with web services and REST API development? Then look no further than our "Java Web Services and REST API with Spring Boot" course!
This course is perfect for intermediate to advanced Java developers who want to learn how to build modern web services and REST APIs using Spring Boot. We'll start by introducing you to the fundamentals of web services and REST APIs, as well as the Spring Boot framework. You'll learn how to create REST endpoints, handle HTTP requests and responses, and work with data in the form of JSON.
Along the way, you'll work on several real-world projects that will allow you to apply your knowledge in a practical way. You'll create a simple CRUD (Create, Read, Update, Delete) web service, implement user authentication and authorization, and even build a complete e-commerce REST API from scratch.
Our instructors are experienced Java developers who have worked on countless web service and REST API projects. They will guide you through the process, providing you with the knowledge and expertise you need to build your own powerful REST APIs using Spring Boot.
So whether you're a Java developer looking to expand your skill set or a programmer looking to learn about web services and REST API development, this course is for you. By the end of the course, you'll be able to confidently create and deploy REST APIs using Spring Boot, making you a valuable asset to any team!