<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Car Store on enoque.dev</title><link>https://blog.enoque.dev/en/tracks/java/carstore/</link><description>Recent content in Car Store on enoque.dev</description><generator>Hugo</generator><language>en</language><atom:link href="https://blog.enoque.dev/en/tracks/java/carstore/index.xml" rel="self" type="application/rss+xml"/><item><title>Lab 1: Creating the application</title><link>https://blog.enoque.dev/en/tracks/java/carstore/lab-1-creating-the-application/</link><pubDate>Sun, 09 Apr 2023 00:00:00 +0000</pubDate><guid>https://blog.enoque.dev/en/tracks/java/carstore/lab-1-creating-the-application/</guid><description>&lt;h1 id="lab-1-creating-the-application"&gt;Lab 1: Creating the application&lt;a class="anchor" href="#lab-1-creating-the-application" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p class="video-date"&gt;
 &lt;svg class="book-icon" aria-hidden="true"&gt;&lt;use href="https://blog.enoque.dev/iconset.min.d778ab15e899d3213ef152a5ce3bc613585247372b58996f56dedc8f0df864d7.svg#calendar"&gt;&lt;/use&gt;&lt;/svg&gt;
 &lt;span&gt;Video lesson published on &lt;time datetime="2023-04-09"&gt;April 9, 2023&lt;/time&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;div class="translated-from" lang="en"&gt;
 &lt;p&gt;This page was originally written in Portuguese. &lt;a href="https://blog.enoque.dev/trilhas/java/carstore/lab-1-criando-a-aplicacao/" hreflang="pt-BR"&gt;Read the original.&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;

&lt;h2 id="lab-overview-and-objectives"&gt;Lab overview and objectives&lt;a class="anchor" href="#lab-overview-and-objectives" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;This lab presents the basic concepts for creating a Web application with Java.&lt;/p&gt;
&lt;p&gt;After completing this lab, you should be able to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create a Web application with Java&lt;/li&gt;
&lt;li&gt;Start an embedded Tomcat server (Servlet Container) to run your Java application&lt;/li&gt;
&lt;li&gt;Make http requests through an HTML form and capture the request data in a Servlet&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="this-lab-is-also-available-as-a-video-lesson-on-youtube"&gt;This lab is also available as a video lesson on YouTube&lt;a class="anchor" href="#this-lab-is-also-available-as-a-video-lesson-on-youtube" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;figure class="video-embed"&gt;
 &lt;div class="video-embed-frame" data-video-id="BtDiMAbq53E" data-video-title="Car Store #01 - Criando o Projeto Java Web a partir de um Archetype Maven"&gt;
 &lt;a class="video-embed-play" href="https://www.youtube.com/watch?v=BtDiMAbq53E" aria-label="Play video: Car Store #01 - Criando o Projeto Java Web a partir de um Archetype Maven"&gt;
 &lt;img src="https://i.ytimg.com/vi/BtDiMAbq53E/maxresdefault.jpg" data-fallback="https://i.ytimg.com/vi/BtDiMAbq53E/hqdefault.jpg" width="1280" height="720" alt="" loading="lazy" decoding="async" referrerpolicy="no-referrer" /&gt;
 &lt;svg class="video-embed-icon" viewBox="0 0 68 48" aria-hidden="true" focusable="false"&gt;&lt;path class="video-embed-icon-bg" d="M66.5 7.7a8.6 8.6 0 0 0-6-6C55.2.3 34 .3 34 .3s-21.2 0-26.5 1.4a8.6 8.6 0 0 0-6 6C.1 13 .1 24 .1 24s0 11 1.4 16.3a8.6 8.6 0 0 0 6 6C12.8 47.7 34 47.7 34 47.7s21.2 0 26.5-1.4a8.6 8.6 0 0 0 6-6C67.9 35 67.9 24 67.9 24s0-11-1.4-16.3z"/&gt;&lt;path class="video-embed-icon-arrow" d="M45 24 27 14v20z"/&gt;&lt;/svg&gt;
 &lt;/a&gt;
 &lt;/div&gt;
 &lt;figcaption class="video-embed-caption"&gt;Car Store #01 - Criando o Projeto Java Web a partir de um Archetype Maven · &lt;span class="video-embed-note"&gt;Video in Portuguese.&lt;/span&gt;&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;figure class="video-embed"&gt;
 &lt;div class="video-embed-frame" data-video-id="Q9G_xCI7fq0" data-video-title="Car Store #02 - Criando a primeira Servlet"&gt;
 &lt;a class="video-embed-play" href="https://www.youtube.com/watch?v=Q9G_xCI7fq0" aria-label="Play video: Car Store #02 - Criando a primeira Servlet"&gt;
 &lt;img src="https://i.ytimg.com/vi/Q9G_xCI7fq0/maxresdefault.jpg" data-fallback="https://i.ytimg.com/vi/Q9G_xCI7fq0/hqdefault.jpg" width="1280" height="720" alt="" loading="lazy" decoding="async" referrerpolicy="no-referrer" /&gt;
 &lt;svg class="video-embed-icon" viewBox="0 0 68 48" aria-hidden="true" focusable="false"&gt;&lt;path class="video-embed-icon-bg" d="M66.5 7.7a8.6 8.6 0 0 0-6-6C55.2.3 34 .3 34 .3s-21.2 0-26.5 1.4a8.6 8.6 0 0 0-6 6C.1 13 .1 24 .1 24s0 11 1.4 16.3a8.6 8.6 0 0 0 6 6C12.8 47.7 34 47.7 34 47.7s21.2 0 26.5-1.4a8.6 8.6 0 0 0 6-6C67.9 35 67.9 24 67.9 24s0-11-1.4-16.3z"/&gt;&lt;path class="video-embed-icon-arrow" d="M45 24 27 14v20z"/&gt;&lt;/svg&gt;
 &lt;/a&gt;
 &lt;/div&gt;
 &lt;figcaption class="video-embed-caption"&gt;Car Store #02 - Criando a primeira Servlet · &lt;span class="video-embed-note"&gt;Video in Portuguese.&lt;/span&gt;&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;h2 id="task-1-create-a-java-application-with-intellij"&gt;Task 1: Create a Java application with IntelliJ&lt;a class="anchor" href="#task-1-create-a-java-application-with-intellij" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;1 - Make sure IntelliJ is installed on your computer. If it is not, install the &lt;em&gt;Community Edition&lt;/em&gt;, as shown in this YouTube video: &lt;a href="https://youtu.be/RBxAySum8UU"&gt;Installing IntelliJ on Windows (in Portuguese)&lt;/a&gt;. Or click the following link to &lt;em&gt;download&lt;/em&gt; it: &lt;a href="https://www.jetbrains.com/idea/download/download-thanks.html?platform=macM1&amp;amp;code=IIC"&gt;IntelliJ download link&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Lab 2: Creating the INSERT method and setting up the database connection</title><link>https://blog.enoque.dev/en/tracks/java/carstore/lab-2-insert-and-database-connection/</link><pubDate>Sun, 09 Apr 2023 00:00:00 +0000</pubDate><guid>https://blog.enoque.dev/en/tracks/java/carstore/lab-2-insert-and-database-connection/</guid><description>&lt;h1 id="lab-2-creating-the-insert-method-and-setting-up-the-database-connection"&gt;Lab 2: Creating the INSERT method and setting up the database connection&lt;a class="anchor" href="#lab-2-creating-the-insert-method-and-setting-up-the-database-connection" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p class="video-date"&gt;
 &lt;svg class="book-icon" aria-hidden="true"&gt;&lt;use href="https://blog.enoque.dev/iconset.min.d778ab15e899d3213ef152a5ce3bc613585247372b58996f56dedc8f0df864d7.svg#calendar"&gt;&lt;/use&gt;&lt;/svg&gt;
 &lt;span&gt;Video lesson published on &lt;time datetime="2023-04-09"&gt;April 9, 2023&lt;/time&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;div class="translated-from" lang="en"&gt;
 &lt;p&gt;This page was originally written in Portuguese. &lt;a href="https://blog.enoque.dev/trilhas/java/carstore/lab-2-insert-e-conexao-com-o-banco-de-dados/" hreflang="pt-BR"&gt;Read the original.&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;

&lt;h2 id="lab-overview-and-objectives"&gt;Lab overview and objectives&lt;a class="anchor" href="#lab-overview-and-objectives" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;This lab presents the basic concepts for creating a Java Web application with a data persistence layer!&lt;/p&gt;
&lt;p&gt;After completing this lab, you should be able to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Provision a persistence layer for the Java Web application;&lt;/li&gt;
&lt;li&gt;Start a Tomcat server (Servlet Container) and an embedded database (H2 DB) to run your Java application and persist its data;&lt;/li&gt;
&lt;li&gt;Make http requests through an HTML form and capture the request data in a Servlet;&lt;/li&gt;
&lt;li&gt;Save the data captured from an HTML form and persist it in a database (insert).&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="this-lab-is-also-available-as-a-video-lesson-on-youtube"&gt;This lab is also available as a video lesson on YouTube&lt;a class="anchor" href="#this-lab-is-also-available-as-a-video-lesson-on-youtube" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;figure class="video-embed"&gt;
 &lt;div class="video-embed-frame" data-video-id="Du4fwItGElU" data-video-title="Car Store #03 - Adicionando o banco de dados (H2)"&gt;
 &lt;a class="video-embed-play" href="https://www.youtube.com/watch?v=Du4fwItGElU" aria-label="Play video: Car Store #03 - Adicionando o banco de dados (H2)"&gt;
 &lt;img src="https://i.ytimg.com/vi/Du4fwItGElU/maxresdefault.jpg" data-fallback="https://i.ytimg.com/vi/Du4fwItGElU/hqdefault.jpg" width="1280" height="720" alt="" loading="lazy" decoding="async" referrerpolicy="no-referrer" /&gt;
 &lt;svg class="video-embed-icon" viewBox="0 0 68 48" aria-hidden="true" focusable="false"&gt;&lt;path class="video-embed-icon-bg" d="M66.5 7.7a8.6 8.6 0 0 0-6-6C55.2.3 34 .3 34 .3s-21.2 0-26.5 1.4a8.6 8.6 0 0 0-6 6C.1 13 .1 24 .1 24s0 11 1.4 16.3a8.6 8.6 0 0 0 6 6C12.8 47.7 34 47.7 34 47.7s21.2 0 26.5-1.4a8.6 8.6 0 0 0 6-6C67.9 35 67.9 24 67.9 24s0-11-1.4-16.3z"/&gt;&lt;path class="video-embed-icon-arrow" d="M45 24 27 14v20z"/&gt;&lt;/svg&gt;
 &lt;/a&gt;
 &lt;/div&gt;
 &lt;figcaption class="video-embed-caption"&gt;Car Store #03 - Adicionando o banco de dados (H2) · &lt;span class="video-embed-note"&gt;Video in Portuguese.&lt;/span&gt;&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;figure class="video-embed"&gt;
 &lt;div class="video-embed-frame" data-video-id="Ipuv7SYOxkA" data-video-title="Car Store #04 - Implementando a primeira operação do CRUD - CREATE"&gt;
 &lt;a class="video-embed-play" href="https://www.youtube.com/watch?v=Ipuv7SYOxkA" aria-label="Play video: Car Store #04 - Implementando a primeira operação do CRUD - CREATE"&gt;
 &lt;img src="https://i.ytimg.com/vi/Ipuv7SYOxkA/maxresdefault.jpg" data-fallback="https://i.ytimg.com/vi/Ipuv7SYOxkA/hqdefault.jpg" width="1280" height="720" alt="" loading="lazy" decoding="async" referrerpolicy="no-referrer" /&gt;
 &lt;svg class="video-embed-icon" viewBox="0 0 68 48" aria-hidden="true" focusable="false"&gt;&lt;path class="video-embed-icon-bg" d="M66.5 7.7a8.6 8.6 0 0 0-6-6C55.2.3 34 .3 34 .3s-21.2 0-26.5 1.4a8.6 8.6 0 0 0-6 6C.1 13 .1 24 .1 24s0 11 1.4 16.3a8.6 8.6 0 0 0 6 6C12.8 47.7 34 47.7 34 47.7s21.2 0 26.5-1.4a8.6 8.6 0 0 0 6-6C67.9 35 67.9 24 67.9 24s0-11-1.4-16.3z"/&gt;&lt;path class="video-embed-icon-arrow" d="M45 24 27 14v20z"/&gt;&lt;/svg&gt;
 &lt;/a&gt;
 &lt;/div&gt;
 &lt;figcaption class="video-embed-caption"&gt;Car Store #04 - Implementando a primeira operação do CRUD - CREATE · &lt;span class="video-embed-note"&gt;Video in Portuguese.&lt;/span&gt;&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;h2 id="task-1-add-a-new-dependency-to-your-project"&gt;Task 1: Add a new dependency to your project&lt;a class="anchor" href="#task-1-add-a-new-dependency-to-your-project" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Now that your application is created and you have started your web server, it is time to add a data persistence layer to your application.&lt;/p&gt;</description></item><item><title>Lab 3: Creating the SELECT method</title><link>https://blog.enoque.dev/en/tracks/java/carstore/lab-3-select/</link><pubDate>Fri, 14 Apr 2023 00:00:00 +0000</pubDate><guid>https://blog.enoque.dev/en/tracks/java/carstore/lab-3-select/</guid><description>&lt;h1 id="lab-3-creating-the-select-method"&gt;Lab 3: Creating the SELECT method&lt;a class="anchor" href="#lab-3-creating-the-select-method" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p class="video-date"&gt;
 &lt;svg class="book-icon" aria-hidden="true"&gt;&lt;use href="https://blog.enoque.dev/iconset.min.d778ab15e899d3213ef152a5ce3bc613585247372b58996f56dedc8f0df864d7.svg#calendar"&gt;&lt;/use&gt;&lt;/svg&gt;
 &lt;span&gt;Video lesson published on &lt;time datetime="2023-04-14"&gt;April 14, 2023&lt;/time&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;div class="translated-from" lang="en"&gt;
 &lt;p&gt;This page was originally written in Portuguese. &lt;a href="https://blog.enoque.dev/trilhas/java/carstore/lab-3-select/" hreflang="pt-BR"&gt;Read the original.&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;

&lt;h2 id="lab-overview-and-objectives"&gt;Lab overview and objectives&lt;a class="anchor" href="#lab-overview-and-objectives" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;This lab presents the basic steps to create a query layer in the data persistence layer!&lt;/p&gt;
&lt;p&gt;After completing this lab, you should be able to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Make http requests through an HTML form and capture the request data in a Servlet;&lt;/li&gt;
&lt;li&gt;Query the data persisted in the database (select * from car) and display it in an HTML page.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="this-lab-is-also-available-as-a-video-lesson-on-youtube"&gt;This lab is also available as a video lesson on YouTube&lt;a class="anchor" href="#this-lab-is-also-available-as-a-video-lesson-on-youtube" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;figure class="video-embed"&gt;
 &lt;div class="video-embed-frame" data-video-id="r9LFSecJlFE" data-video-title="Car Store #05 - Implementando a segunda operação do CRUD - READ"&gt;
 &lt;a class="video-embed-play" href="https://www.youtube.com/watch?v=r9LFSecJlFE" aria-label="Play video: Car Store #05 - Implementando a segunda operação do CRUD - READ"&gt;
 &lt;img src="https://i.ytimg.com/vi/r9LFSecJlFE/maxresdefault.jpg" data-fallback="https://i.ytimg.com/vi/r9LFSecJlFE/hqdefault.jpg" width="1280" height="720" alt="" loading="lazy" decoding="async" referrerpolicy="no-referrer" /&gt;
 &lt;svg class="video-embed-icon" viewBox="0 0 68 48" aria-hidden="true" focusable="false"&gt;&lt;path class="video-embed-icon-bg" d="M66.5 7.7a8.6 8.6 0 0 0-6-6C55.2.3 34 .3 34 .3s-21.2 0-26.5 1.4a8.6 8.6 0 0 0-6 6C.1 13 .1 24 .1 24s0 11 1.4 16.3a8.6 8.6 0 0 0 6 6C12.8 47.7 34 47.7 34 47.7s21.2 0 26.5-1.4a8.6 8.6 0 0 0 6-6C67.9 35 67.9 24 67.9 24s0-11-1.4-16.3z"/&gt;&lt;path class="video-embed-icon-arrow" d="M45 24 27 14v20z"/&gt;&lt;/svg&gt;
 &lt;/a&gt;
 &lt;/div&gt;
 &lt;figcaption class="video-embed-caption"&gt;Car Store #05 - Implementando a segunda operação do CRUD - READ · &lt;span class="video-embed-note"&gt;Video in Portuguese.&lt;/span&gt;&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;h2 id="task-1-creating-the-findallcar-method"&gt;Task 1: Creating the findAllCar() method&lt;a class="anchor" href="#task-1-creating-the-findallcar-method" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Your application is created, your web server is running and you can already save data to the database. Now it is time to implement a layer that queries the data persisted in your application&amp;rsquo;s database.&lt;/p&gt;</description></item><item><title>Lab 4: Creating the DELETE method</title><link>https://blog.enoque.dev/en/tracks/java/carstore/lab-4-delete/</link><pubDate>Wed, 19 Apr 2023 00:00:00 +0000</pubDate><guid>https://blog.enoque.dev/en/tracks/java/carstore/lab-4-delete/</guid><description>&lt;h1 id="lab-4-creating-the-delete-method"&gt;Lab 4: Creating the DELETE method&lt;a class="anchor" href="#lab-4-creating-the-delete-method" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p class="video-date"&gt;
 &lt;svg class="book-icon" aria-hidden="true"&gt;&lt;use href="https://blog.enoque.dev/iconset.min.d778ab15e899d3213ef152a5ce3bc613585247372b58996f56dedc8f0df864d7.svg#calendar"&gt;&lt;/use&gt;&lt;/svg&gt;
 &lt;span&gt;Video lesson published on &lt;time datetime="2023-04-19"&gt;April 19, 2023&lt;/time&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;div class="translated-from" lang="en"&gt;
 &lt;p&gt;This page was originally written in Portuguese. &lt;a href="https://blog.enoque.dev/trilhas/java/carstore/lab-4-delete/" hreflang="pt-BR"&gt;Read the original.&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;

&lt;h2 id="lab-overview-and-objectives"&gt;Lab overview and objectives&lt;a class="anchor" href="#lab-overview-and-objectives" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;This lab aims to present a basic way to delete data from a database table!&lt;/p&gt;
&lt;p&gt;After completing this lab, you should be able to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Make http requests through an HTML form and capture the request data in a Servlet;&lt;/li&gt;
&lt;li&gt;Delete / remove data persisted in the database (delete car where id = ?).&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="this-lab-is-also-available-as-a-video-lesson-on-youtube"&gt;This lab is also available as a video lesson on YouTube&lt;a class="anchor" href="#this-lab-is-also-available-as-a-video-lesson-on-youtube" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;figure class="video-embed"&gt;
 &lt;div class="video-embed-frame" data-video-id="b3LSVup5AMc" data-video-title="Car Store #06 - Implementando a terceira operação do CRUD - DELETE"&gt;
 &lt;a class="video-embed-play" href="https://www.youtube.com/watch?v=b3LSVup5AMc" aria-label="Play video: Car Store #06 - Implementando a terceira operação do CRUD - DELETE"&gt;
 &lt;img src="https://i.ytimg.com/vi/b3LSVup5AMc/maxresdefault.jpg" data-fallback="https://i.ytimg.com/vi/b3LSVup5AMc/hqdefault.jpg" width="1280" height="720" alt="" loading="lazy" decoding="async" referrerpolicy="no-referrer" /&gt;
 &lt;svg class="video-embed-icon" viewBox="0 0 68 48" aria-hidden="true" focusable="false"&gt;&lt;path class="video-embed-icon-bg" d="M66.5 7.7a8.6 8.6 0 0 0-6-6C55.2.3 34 .3 34 .3s-21.2 0-26.5 1.4a8.6 8.6 0 0 0-6 6C.1 13 .1 24 .1 24s0 11 1.4 16.3a8.6 8.6 0 0 0 6 6C12.8 47.7 34 47.7 34 47.7s21.2 0 26.5-1.4a8.6 8.6 0 0 0 6-6C67.9 35 67.9 24 67.9 24s0-11-1.4-16.3z"/&gt;&lt;path class="video-embed-icon-arrow" d="M45 24 27 14v20z"/&gt;&lt;/svg&gt;
 &lt;/a&gt;
 &lt;/div&gt;
 &lt;figcaption class="video-embed-caption"&gt;Car Store #06 - Implementando a terceira operação do CRUD - DELETE · &lt;span class="video-embed-note"&gt;Video in Portuguese.&lt;/span&gt;&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;h2 id="task-1-creating-the-deletecarbyid-method"&gt;Task 1: Creating the deleteCarById() method&lt;a class="anchor" href="#task-1-creating-the-deletecarbyid-method" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Your application is created, your web server is running and you can already save and query data in the database. Now it is time to implement the operation that deletes / removes data persisted in your application&amp;rsquo;s database.&lt;/p&gt;</description></item><item><title>Lab 5: Creating the UPDATE method</title><link>https://blog.enoque.dev/en/tracks/java/carstore/lab-5-update/</link><pubDate>Sun, 23 Apr 2023 00:00:00 +0000</pubDate><guid>https://blog.enoque.dev/en/tracks/java/carstore/lab-5-update/</guid><description>&lt;h1 id="lab-5-creating-the-update-method"&gt;Lab 5: Creating the UPDATE method&lt;a class="anchor" href="#lab-5-creating-the-update-method" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p class="video-date"&gt;
 &lt;svg class="book-icon" aria-hidden="true"&gt;&lt;use href="https://blog.enoque.dev/iconset.min.d778ab15e899d3213ef152a5ce3bc613585247372b58996f56dedc8f0df864d7.svg#calendar"&gt;&lt;/use&gt;&lt;/svg&gt;
 &lt;span&gt;Video lesson published on &lt;time datetime="2023-04-23"&gt;April 23, 2023&lt;/time&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;div class="translated-from" lang="en"&gt;
 &lt;p&gt;This page was originally written in Portuguese. &lt;a href="https://blog.enoque.dev/trilhas/java/carstore/lab-5-update/" hreflang="pt-BR"&gt;Read the original.&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;

&lt;h2 id="lab-overview-and-objectives"&gt;Lab overview and objectives&lt;a class="anchor" href="#lab-overview-and-objectives" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;This lab aims to present a basic way to update data in a database table!&lt;/p&gt;
&lt;p&gt;After completing this lab, you should be able to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Make http requests through an HTML form and capture the request data in a Servlet;&lt;/li&gt;
&lt;li&gt;Update data persisted in the database (update &amp;hellip; where id = ?).&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="this-lab-is-also-available-as-a-video-lesson-on-youtube"&gt;This lab is also available as a video lesson on YouTube&lt;a class="anchor" href="#this-lab-is-also-available-as-a-video-lesson-on-youtube" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;figure class="video-embed"&gt;
 &lt;div class="video-embed-frame" data-video-id="nZwDype_1p8" data-video-title="Car Store #07 - Implementando a quarta operação do CRUD - UPDATE"&gt;
 &lt;a class="video-embed-play" href="https://www.youtube.com/watch?v=nZwDype_1p8" aria-label="Play video: Car Store #07 - Implementando a quarta operação do CRUD - UPDATE"&gt;
 &lt;img src="https://i.ytimg.com/vi/nZwDype_1p8/maxresdefault.jpg" data-fallback="https://i.ytimg.com/vi/nZwDype_1p8/hqdefault.jpg" width="1280" height="720" alt="" loading="lazy" decoding="async" referrerpolicy="no-referrer" /&gt;
 &lt;svg class="video-embed-icon" viewBox="0 0 68 48" aria-hidden="true" focusable="false"&gt;&lt;path class="video-embed-icon-bg" d="M66.5 7.7a8.6 8.6 0 0 0-6-6C55.2.3 34 .3 34 .3s-21.2 0-26.5 1.4a8.6 8.6 0 0 0-6 6C.1 13 .1 24 .1 24s0 11 1.4 16.3a8.6 8.6 0 0 0 6 6C12.8 47.7 34 47.7 34 47.7s21.2 0 26.5-1.4a8.6 8.6 0 0 0 6-6C67.9 35 67.9 24 67.9 24s0-11-1.4-16.3z"/&gt;&lt;path class="video-embed-icon-arrow" d="M45 24 27 14v20z"/&gt;&lt;/svg&gt;
 &lt;/a&gt;
 &lt;/div&gt;
 &lt;figcaption class="video-embed-caption"&gt;Car Store #07 - Implementando a quarta operação do CRUD - UPDATE · &lt;span class="video-embed-note"&gt;Video in Portuguese.&lt;/span&gt;&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;h2 id="task-1-creating-the-updatecar-method"&gt;Task 1: Creating the updateCar() method&lt;a class="anchor" href="#task-1-creating-the-updatecar-method" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Your application is created, your web server is running and you can already save, query and delete data in the database. Now it is time to implement the operation that updates data persisted in your application&amp;rsquo;s database.&lt;/p&gt;</description></item><item><title>Lab 6: Setting up the connection pool</title><link>https://blog.enoque.dev/en/tracks/java/carstore/lab-6-connection-pool/</link><pubDate>Tue, 16 May 2023 00:00:00 +0000</pubDate><guid>https://blog.enoque.dev/en/tracks/java/carstore/lab-6-connection-pool/</guid><description>&lt;h1 id="lab-6-setting-up-the-connection-pool"&gt;Lab 6: Setting up the connection pool&lt;a class="anchor" href="#lab-6-setting-up-the-connection-pool" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p class="video-date"&gt;
 &lt;svg class="book-icon" aria-hidden="true"&gt;&lt;use href="https://blog.enoque.dev/iconset.min.d778ab15e899d3213ef152a5ce3bc613585247372b58996f56dedc8f0df864d7.svg#calendar"&gt;&lt;/use&gt;&lt;/svg&gt;
 &lt;span&gt;Video lesson published on &lt;time datetime="2023-05-16"&gt;May 16, 2023&lt;/time&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;div class="translated-from" lang="en"&gt;
 &lt;p&gt;This page was originally written in Portuguese. &lt;a href="https://blog.enoque.dev/trilhas/java/carstore/lab-6-pool-de-conexoes/" hreflang="pt-BR"&gt;Read the original.&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;

&lt;h2 id="lab-overview-and-objectives"&gt;Lab overview and objectives&lt;a class="anchor" href="#lab-overview-and-objectives" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;This lab aims to present a basic way to set up a connection pool to manage the database connections!&lt;/p&gt;
&lt;p&gt;A connection pool is a technique used to improve the performance of applications that frequently use database connections.&lt;/p&gt;
&lt;p&gt;After completing this lab, you should be able to:&lt;/p&gt;</description></item><item><title>Lab 7: Creating the login feature</title><link>https://blog.enoque.dev/en/tracks/java/carstore/lab-7-login/</link><pubDate>Wed, 24 May 2023 00:00:00 +0000</pubDate><guid>https://blog.enoque.dev/en/tracks/java/carstore/lab-7-login/</guid><description>&lt;h1 id="lab-7-creating-the-login-feature"&gt;Lab 7: Creating the login feature&lt;a class="anchor" href="#lab-7-creating-the-login-feature" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;p class="video-date"&gt;
 &lt;svg class="book-icon" aria-hidden="true"&gt;&lt;use href="https://blog.enoque.dev/iconset.min.d778ab15e899d3213ef152a5ce3bc613585247372b58996f56dedc8f0df864d7.svg#calendar"&gt;&lt;/use&gt;&lt;/svg&gt;
 &lt;span&gt;Video lesson published on &lt;time datetime="2023-05-24"&gt;May 24, 2023&lt;/time&gt;&lt;/span&gt;
&lt;/p&gt;

&lt;div class="translated-from" lang="en"&gt;
 &lt;p&gt;This page was originally written in Portuguese. &lt;a href="https://blog.enoque.dev/trilhas/java/carstore/lab-7-login/" hreflang="pt-BR"&gt;Read the original.&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;

&lt;h2 id="lab-overview-and-objectives"&gt;Lab overview and objectives&lt;a class="anchor" href="#lab-overview-and-objectives" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;This lab aims to present a basic way to implement a login feature with username and password.&lt;/p&gt;
&lt;p&gt;After completing this lab, you should be able to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Make http requests through an HTML form and capture the request data in a Servlet;&lt;/li&gt;
&lt;li&gt;Create a database table to store the login credentials (username and password);&lt;/li&gt;
&lt;li&gt;Create a DAO (Data Access Object) class to check the login credentials;&lt;/li&gt;
&lt;li&gt;Implement an HTML form to capture the login credentials;&lt;/li&gt;
&lt;li&gt;Implement a Filter that checks whether the user is logged in on every request;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="this-lab-is-also-available-as-a-video-lesson-on-youtube"&gt;This lab is also available as a video lesson on YouTube&lt;a class="anchor" href="#this-lab-is-also-available-as-a-video-lesson-on-youtube" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;figure class="video-embed"&gt;
 &lt;div class="video-embed-frame" data-video-id="Cn4GZNIYIsI" data-video-title="Car Store #09 - Implementando a funcionalidade de login - PARTE 1"&gt;
 &lt;a class="video-embed-play" href="https://www.youtube.com/watch?v=Cn4GZNIYIsI" aria-label="Play video: Car Store #09 - Implementando a funcionalidade de login - PARTE 1"&gt;
 &lt;img src="https://i.ytimg.com/vi/Cn4GZNIYIsI/maxresdefault.jpg" data-fallback="https://i.ytimg.com/vi/Cn4GZNIYIsI/hqdefault.jpg" width="1280" height="720" alt="" loading="lazy" decoding="async" referrerpolicy="no-referrer" /&gt;
 &lt;svg class="video-embed-icon" viewBox="0 0 68 48" aria-hidden="true" focusable="false"&gt;&lt;path class="video-embed-icon-bg" d="M66.5 7.7a8.6 8.6 0 0 0-6-6C55.2.3 34 .3 34 .3s-21.2 0-26.5 1.4a8.6 8.6 0 0 0-6 6C.1 13 .1 24 .1 24s0 11 1.4 16.3a8.6 8.6 0 0 0 6 6C12.8 47.7 34 47.7 34 47.7s21.2 0 26.5-1.4a8.6 8.6 0 0 0 6-6C67.9 35 67.9 24 67.9 24s0-11-1.4-16.3z"/&gt;&lt;path class="video-embed-icon-arrow" d="M45 24 27 14v20z"/&gt;&lt;/svg&gt;
 &lt;/a&gt;
 &lt;/div&gt;
 &lt;figcaption class="video-embed-caption"&gt;Car Store #09 - Implementando a funcionalidade de login - PARTE 1 · &lt;span class="video-embed-note"&gt;Video in Portuguese.&lt;/span&gt;&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;figure class="video-embed"&gt;
 &lt;div class="video-embed-frame" data-video-id="4T9q32xqovY" data-video-title="Car Store #10 - Implementando a funcionalidade de login - PARTE 2"&gt;
 &lt;a class="video-embed-play" href="https://www.youtube.com/watch?v=4T9q32xqovY" aria-label="Play video: Car Store #10 - Implementando a funcionalidade de login - PARTE 2"&gt;
 &lt;img src="https://i.ytimg.com/vi/4T9q32xqovY/maxresdefault.jpg" data-fallback="https://i.ytimg.com/vi/4T9q32xqovY/hqdefault.jpg" width="1280" height="720" alt="" loading="lazy" decoding="async" referrerpolicy="no-referrer" /&gt;
 &lt;svg class="video-embed-icon" viewBox="0 0 68 48" aria-hidden="true" focusable="false"&gt;&lt;path class="video-embed-icon-bg" d="M66.5 7.7a8.6 8.6 0 0 0-6-6C55.2.3 34 .3 34 .3s-21.2 0-26.5 1.4a8.6 8.6 0 0 0-6 6C.1 13 .1 24 .1 24s0 11 1.4 16.3a8.6 8.6 0 0 0 6 6C12.8 47.7 34 47.7 34 47.7s21.2 0 26.5-1.4a8.6 8.6 0 0 0 6-6C67.9 35 67.9 24 67.9 24s0-11-1.4-16.3z"/&gt;&lt;path class="video-embed-icon-arrow" d="M45 24 27 14v20z"/&gt;&lt;/svg&gt;
 &lt;/a&gt;
 &lt;/div&gt;
 &lt;figcaption class="video-embed-caption"&gt;Car Store #10 - Implementando a funcionalidade de login - PARTE 2 · &lt;span class="video-embed-note"&gt;Video in Portuguese.&lt;/span&gt;&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;figure class="video-embed"&gt;
 &lt;div class="video-embed-frame" data-video-id="MiZr3YtrVk0" data-video-title="Car Store #11 - Implementando a funcionalidade de login - PARTE 3"&gt;
 &lt;a class="video-embed-play" href="https://www.youtube.com/watch?v=MiZr3YtrVk0" aria-label="Play video: Car Store #11 - Implementando a funcionalidade de login - PARTE 3"&gt;
 &lt;img src="https://i.ytimg.com/vi/MiZr3YtrVk0/maxresdefault.jpg" data-fallback="https://i.ytimg.com/vi/MiZr3YtrVk0/hqdefault.jpg" width="1280" height="720" alt="" loading="lazy" decoding="async" referrerpolicy="no-referrer" /&gt;
 &lt;svg class="video-embed-icon" viewBox="0 0 68 48" aria-hidden="true" focusable="false"&gt;&lt;path class="video-embed-icon-bg" d="M66.5 7.7a8.6 8.6 0 0 0-6-6C55.2.3 34 .3 34 .3s-21.2 0-26.5 1.4a8.6 8.6 0 0 0-6 6C.1 13 .1 24 .1 24s0 11 1.4 16.3a8.6 8.6 0 0 0 6 6C12.8 47.7 34 47.7 34 47.7s21.2 0 26.5-1.4a8.6 8.6 0 0 0 6-6C67.9 35 67.9 24 67.9 24s0-11-1.4-16.3z"/&gt;&lt;path class="video-embed-icon-arrow" d="M45 24 27 14v20z"/&gt;&lt;/svg&gt;
 &lt;/a&gt;
 &lt;/div&gt;
 &lt;figcaption class="video-embed-caption"&gt;Car Store #11 - Implementando a funcionalidade de login - PARTE 3 · &lt;span class="video-embed-note"&gt;Video in Portuguese.&lt;/span&gt;&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;h2 id="task-1-creating-the-usr-user-table"&gt;Task 1: Creating the USR (User) table&lt;a class="anchor" href="#task-1-creating-the-usr-user-table" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;One of the features of the &lt;strong&gt;Car Store&lt;/strong&gt; system is its administrative area, which only authorized users should access. To make this possible, we need to implement an authentication layer.&lt;/p&gt;</description></item></channel></rss>