Building Web Servers in Java [Video]

More Information
Learn
  • Web API’s and the common formats used to support them - REST/SOAP and JSON/XML
  • Accessing Web API’s with the new HTTP 2.0 client
  • Designing your own Web API
  • Implementing your own Web API
  • Tying an API in with a database to add authentication
  • Encrypt passwords and store them in a MySQL database
  • Build a fully functional HTTP REST API leveraging Hibernate and MySQL
About

A Web server is a program that uses HTTP to serve the files that form Web pages to users, in response to their requests, which are then forwarded by their computers' HTTP clients. Dedicated computers and appliances may also be referred to as Web servers. It's a software that can process a client request and send a response back to the client. Web servers and web clients are two separate applications, so there should be a common language for communication. HTML is the common language between server and client. A web server is also called a Hypertext Transfer Protocol (HTTP) server because it uses HTTP to communicate with its clients, which are usually web browsers. Basically a web server is used to host web sites but other web servers also exist, such as gaming, storage, FTP, email, and more.

To start off the course, we will consume data from a public REST API using the new HTTP 2.0 client built into Java 9, providing both a synchronous and asynchronous example. Moving along, you will learn how to implement your own internet-facing REST API. We will do this by extending the previous example to publish data from a data file over the internet. We will then add a token-based authentication layer to our API, including examples of how to encrypt passwords and store them in a MySQL database. This course will teach you all you need to know to leverage the new HTTP 2.0 client bundled with Java 9 to build a fully functional HTTP REST API, complete with authentication, leveraging Hibernate and MySQL.
All the code files for this course are available on GitHub at – https://github.com/PacktPublishing/Building-Web-Servers-in-Java-

Style and Approach

This video begins with the basics that all Java developers use every day and then delves into detailed concepts and tricks to speed up your development. You will learn the required concepts by performing practical tasks and implementing them in your daily activities, all at your own pace.

Features
  • Start using REST APIs in Java 
  • Build and test a REST API to publish data from a data file over the internet
  • Packed with real-life examples to help you implement concepts as you learn
Course Length 1 hour 45 minutes
ISBN 9781788627511
Date Of Publication 28 Sep 2018

Authors

Rudy Lai

Colibri Digital is a technology consultancy company founded in 2015 by James Cross and Ingrid Funie. The company works to help its clients navigate the rapidly changing and complex world of emerging technologies, with deep expertise in areas such as big data, data science, machine learning, and Cloud computing.

Over the past few years, they have worked with some of the World's largest and most prestigious companies, including a tier 1 investment bank, a leading management consultancy group, and one of the World's most popular soft drinks companies, helping each of them to better make sense of its data, and process it in more intelligent ways.
The company lives by its motto: Data -> Intelligence -> Action.

Rudy Lai is the founder of QuantCopy, a sales acceleration startup using AI to write sales emails for prospects. By taking in leads from your pipelines, QuantCopy researches them online and generates sales emails from that data. It also has a suite of email automation tools to schedule, send, and track email performance—key analytics that all feed back into how our AI generates content.

Prior to founding QuantCopy, Rudy ran HighDimension.IO, a machine learning consultancy, where he experienced first-hand the frustrations of outbound sales and prospecting. As a founding partner, he helped startups and enterprises with HighDimension.IO's Machine-Learning-as-a-Service, allowing them to scale up data expertise in the blink of an eye.

In the first part of his career, Rudy spent 5+ years in quantitative trading at leading investment banks such as Morgan Stanley. This valuable experience allowed him to witness the power of data, but also the pitfalls of automation using data science and machine learning. Quantitative trading was also a great platform from which you can learn about reinforcement learning and supervised learning topics in depth and in a commercial setting.

Rudy holds a Computer Science degree from Imperial College London, where he was part of the Dean's List, and received awards such as the Deutsche Bank Artificial Intelligence prize.