
This video provides an overview of the entire course.
In this video, we will discuss what echo servlet is.
Explain the servlet structure, standard and implementations
Create a sample application that handles GET and POST requests and echoes the content of the request back to the client
In this video, we will take a look at how parameters are handles.
• Explain how to handle GET and POST parameters
• Create code that displays the GET and POST parameters that the client was sending from a form
In this video, we will take look at cookie handling in servlet.
• Explain why cookies are needed and how to access and set cookies from the servlet environment
• Create sample code that display different message the first time and then it remembers that we have already visited the page based on a cookie
• Show how to delete a cookie in the Chrome browser
In this video, we will be creating HTTP server response.
• Explain what the most important HTTP headers mean and how to set them
• Extend the sample code so that it sends different headers
• Show how it alters the behavior of the browser
Explain what the most important HTTP headers mean and how to set them
• Explain what the most important HTTP headers mean and how to set them.
• Extend the sample code so that it sends different headers
• Show how it alters the behavior of the browser
In this video, we will look into servlet filters and authentication.
• Explain what is, and how to write servlet filters
• Create a sample filter that uses cookies to authenticate the user
Handle a session in a servlet and learn what a session is.
• Explain why it is important that anything stored in a session is serializable.
• Explain cluster and farm architecture
• Sample application that stores user data in the session object
In this video, we will look into servlet lifecycle.
• Discuss the total lifecycle of a servlet
• Extend the sample application that implements the init and the destroy methods
In this video, we will look into uploading a file.
• Explain how to upload a file
• Understand what the special issues with file upload are
• Create sample application that accepts file upload
In this video, we will look into how to support a webSocket.
• Detail the WebSocket structure and what it is good for and how it is supported by a servlet
• Create a sample application that lets clients to connect and whatever a client sends to the server via socket it sends it to all the clients
In this video, we will get an intro into HTTP 2.0
Explain the major differences between HTTP/1.1 and 2.0
Explain the problem with TCP slow start
In this video, we will look into the supports of HTTP 2.0
Explain how servlet standard version 4 supports HTTP/2.0
Create an application that sends pre-fetch to the client when it asks for a single resource
In this video, we will look into the debugging servlet applications.
• Detail the technical steps how to start a Tomcat server so that it listens on a TCP port and how to connect to it using a debugger
• Debug the previously developed sample application using IntelliJ IDE
In this video, we will look into the http client programming in Java.
• Understand http client programming using JDK client, synchronous mode
• Explain that there are libraries for older versions of Java and that the older version of Java supported only synchronous clients
• Create a sample client application that downloads Packt’s web page and dump it to the screen, this time not on pure socket level but rather using the JDK library
In this video, we will look into the asynchronous client.
• Understand http client programming using JDK client, asynchronous mode
• Modify the previous sample application so that the client is asynchronous
In this video, we will look into the client configuration.
• Configure the JDK http client
• Configure the client with different parameters
In this video, we will talk about spring web programming.
• Focus on the different libraries and what they do and only show how easy it is to write servlet application
• Create a sample application that uses SpringBoot
In this video, we will talk about web service programming.
• Explain what SOAP and REST services are
• Talk about the different REST levels
• Extend the previous Spring example so that it is sending JSON to the client
In this video, we will look into the security aspects.
Learn why security is important when we program network application
In this video, we will look into the encryption basics.
Learn what is encryption, history of encryption and the difference between symmetric and asymmetric encrytion, enveloping, and hashing
In this video, we will look into creating keystore.
Learn how Java supports asymmetric encryption and where keys are stored
Create a keystore and how to add keys to it
Using the standard command line create new key pair and add it to a keystore; then list the content of the store
In this video, we will look into the symmetric encryption server.
Create a server application that uses symmetric encryption
Modify the TCP echo server so that it decodes the message that is sent to it and sends back the text using the same encoding but different key
In this video, we will look into the asymmetric encryption server.
Create a server application that uses asymmetric encryption
Modify the TCP echo server so that it decodes the message that is sent to it and sends back the text using the same encoding, but different key pairs using PGP encryption applying the Bouncy Castly library
In this video, we will look into network elements.
Learn the role of the different network elements, especially those of firewalls, proxies and NAT routers
Show how to tunnel through SSH channel and what it means in the network
In this video, we will look into byte order in Java.
Learn why it is important to pay attention to byte order when interfacing external application in a binary protocol
Create a sample code that puts int and long and double values into a byte stream and then saves it to a file
Dump the file with some other tool to see what is inside
In this video, we will be interfacing with other languages.
Learn how and why networking is interoperable with other languages
Create sample code that connects from python to one of the sample servers we have created in an earlier video
In this video, we will be debugging network programs.
Learn how to debug applications that use networking
Debug some of the previous applications and describe the Google Chrome debug tools
Visit another, lower level application and use Wireshark to see the network traffic
Web services drive networking on the web and have been at the center of modern application architecture. Regardless of language or platform, understanding how web services work is a serious skill. This course explores web services: the concepts, commands, and tools that allow you to communicate and share data between applications.
You will learn how to use HTTP services in synchronous and asynchronous modes by configuring an HTTP client. You will also explore protocols such as SOAP, and REST and shares simple programming tips for writing web services that are as efficient as possible. Plus, you'll learn how to secure your communications across the web with security standards and create key-store and server applications that use symmetric and asymmetric encryption for client and server.
By the end of this video tutorial you will be equipped to handle WebSocket functionality supported by servlets in Java and will have mastered advanced concepts well enough to build web services, ensuring the audience is able to understand and secure network applications through encryption and by interfacing with other languages.
About the Author :
Peter Verhas is a senior developer and software system architect with more than 30 years of software development experience. He currently works for EPAM as a senior developer, where he is involved in many customer projects and actively participates in the education activities of the company. Peter writes a technical blog, and is committed to open source software development. He has used Java since 2005 and is also an author at Java Code Geeks.