Building Real-Time Web Apps with Spring Boot and WebSockets
1h 2mBeginner2018-10-08
Authors

Shonna Smith
Entrepreneur, Agile Coach, Enterprise Software Developer
Course details
Nearly all of today's most popular chat apps and collaboration platforms offer immediate feedback, allowing users to exchange instant messages and see when their peers are typing responses. If you're looking to get up to speed on real-time app development for work—or you just want to diversify your development repertoire—then this course can help. Join Shonna Smith as she shows how to build upon your existing enterprise Java development skill set to develop a real-time web app with the Spring framework and WebSocket API. As she walks through how to build a chat app, Shonna goes over the design elements specific to real-time web apps, as well as how to develop and test the server-side and client-side components.
Learning objectives
Why learn to create a real-time app?
Developing a WebSocket server
Creating message model objects and message controllers
Handling errors
Developing the browser client
Broadcasting updates from the server
Testing the WebSocket client
Learning objectives
Why learn to create a real-time app?
Developing a WebSocket server
Creating message model objects and message controllers
Handling errors
Developing the browser client
Broadcasting updates from the server
Testing the WebSocket client
Skills covered
Spring FrameworkSpring BootSpringBack-End Web DevelopmentWeb Development ToolsFull-Stack Web DevelopmentProjectWeb DevelopmentOpen Source
Concepts
Introduction
- Building an easy real-time app for Java developers
- What you should know
- Exercise files
Getting Started with Real-Time Apps
- Why learn to create a real-time app
- WebSockets 101
- Preparing a sample chat app
Develop the WebSocket Server
- Create message model objects
- Create message controllers
- Extending the controller for interaction updates
- Create the message broker
- Test the message broker
- Handling errors
Develop the Browser Client
- The UI UX overview
- Create JavaScript client code
- Sending messages to the server
- Broadcasting updates from the server
Testing the WebSocket Client
- Showing error handler messages
- SockJS tips and tricks
- Test and monitor tools
Conclusion
- Next steps