This is a maven project which means that the project’s depedencies are managed. It uses the cargo plugin to deploy the application into an instance of GlassFish which is downloaded and configured automatically on first deployment. To facilitate the deployment of the project and minimise the required configuration and installation of a server you use the Cargo plugin for maven. In this video you will discover how to use the cargo plugin to deploy the application and where to go for information on installing Maven.
- [Narrator] This is a Maven Project.…Now, Maven manages the project's dependencies…and uses the Cargo plugin to deploy the application.…The application is deployed into the Glassfish instance…by the Cargo plugin.…The first time the application is deployed,…all dependencies are downloaded,…including the Glassfish server.…This is a large file of about 100 megabytes…and may take some time to download, so do be patient.…I have designed the project in this way…so there is minimal configuration required…and low friction to getting started.…
For this to work, you must have Maven installed.…Invisible from the command line,…the installation of Maven for your operating system…can be found on the Maven website…and if you're interested in how the Cargo plugin works,…you can find more information on this website.…In order to deploy the application,…you need to open a command line and navigate to…the location of the pom file for the project…and then execute the following Maven command,…mvn clean package cargo run.…
When application is deployed, you'll be deployed…
Join Alex Theedom as he guides you through the lifecycle of a WebSocket connection, and discusses the Java EE WebSocket programming methodologies: annotation and programmatic. He shows how to secure and encrypt WebSocket endpoints and use simple techniques to test their implementation. In addition, he explains how to integrate the JSON-processing API and build a front-end and server based WebSocket client.
- WebSocket usage
- WebSocket lifecycle and topology
- WebSocket front end and back end
- WebSocket methodologies
- Annotation methodology and programmatic methodology
- Coding a client API
- Using the JSON Processing API
- Coding the encoder and decoder
- Building the front end
- Testing WebSocket endpoints
Skill Level Intermediate
Java Platforms Compared: SE vs EE vs MEwith Peggy Fisher25m 38s Intermediate
1. Introduction to WebSocket
2. WebSockets Front End and Back End
3. Project Application and Structure
4. Java EE WebSocket API
5. Messages and Encoding
6. Build Web Front End
7. WebSocket Security
8. Testing WebSocket Endpoints
Next steps1m 37s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.