Getting Started with Jakarta EE 9: Using Gradle
Introduction to Jakarta and Gradle
In this section, the speaker introduces Jakarta and Gradle as tools for building Java web applications.
What is Jakarta and Gradle?
- Jakarta is a framework for building Java web applications.
- Gradle is a build automation tool that can be used with Jakarta.
- To start using Gradle, you can download the specific Jakarta online project or create a basic Gradle project using the command line.
Setting up a Basic Gradle Project
In this section, the speaker explains how to set up a basic Gradle project.
How to Set Up a Basic Gradle Project
- Start the Gradle team by running "gradlew" in your terminal.
- Find all the requirements for your global project in the "build.gradle" file.
- Configure your project by specifying that you will use Java in combination with Gradle to create a web application.
Creating a Simple Web Service
In this section, the speaker demonstrates how to create a simple web service using Jakarta and Gradle.
How to Create a Simple Web Service
- Create a new directory for your Java classes and create a new class called "HelloWorldService".
- Design your service by specifying where it will be located on the server (e.g. "/world").
- Write code to respond to requests made to your service (e.g. return "Hello World!").
- Note that REST frameworks are commonly used instead of web services.
Overview of Web Services
This section provides an overview of web services and how they work.
Query Strings
- Query strings can specify the entire query string, not just one browser bediend.
- The user can access the information sent to the service through their eyes.
- This can be done by specifying the query string in the URL.
Fixed URLs
- You can use my cards to fix URLs.
- When you make a request, you can get the value of the URL.
Storing Values
- Users can store values in a PC or execute requests to this server/application.
- The server responds with information that is sent back to the user.
Using Cradle for Project Development
This section discusses using Cradle for project development.
Receiving Files
- Cradle allows users to receive files such as bar files.
- This means that projects can be transferred between servers easily.
Discussion on Old Tom and Production Environment
- Old Tom is running and available for production environments.
- A 5 to 20 window live action is available for testing purposes.
Connecting to Server
- Sandy Connexion Poging Charlotte Zoete Wil Voor Productie Voor Het Is Demo Het Is Modern Of Ze Kust Miljard Just Going To Langs Is Simpel Qua Die Toe De Server Zo Ik Ken Die Plooi Power Gel Award Van Wit Je Zult Hebben Ipad Maar Het Cradle Uw Tool Ik Ken Die Plooien To The Server Ben Dat Is Finished And Weekend.
Tweaking Web Servers
This section discusses tweaking web servers.
Accessing Root
- The root is where the kitchen is diploid.
- The world is of 2015 our service and weekendtassen respons die hello world expo die krijgt hij een application is diploid and running successfully aan die parasol.
Real-time Application Development
This section discusses real-time application development.
Wickie Web Service
- Users can develop real-time applications using Wickie web service.
- This allows for viewing data in real-time.
Conclusion
Thank you for watching.