Let's Sort It Out
Let's Sort It Out
  • 20
  • 165 349
Build Docker Image of Spring Boot Web App with JDK8, Tomcat, JSP, JSTL and Access Host PostgreSQL
In this comprehensive tutorial, I walk you through the process of building a Docker image for a Spring Boot web application. The application is developed using JDK 8 and runs on a Tomcat server, utilizing JSP (Java Server Pages) and the JSTL (Java Server Pages Standard Tag Library) for rendering views.
Throughout the video, I cover the essential steps involved in creating a Docker image. First, I guide you on how to write a Dockerfile, which includes all the necessary instructions to containerize the WAR file. We explore the various components, such as the JDK, Tomcat server, JSP files, and the JSTL tag library, required to ensure the successful deployment of our application within a Docker container.
Additionally, I demonstrate the usage of the Maven Fabric8 Docker plugin, a powerful tool that simplifies the process of building Docker images. With this plugin, we streamline the packaging and deployment of our application.
During the video, I provide a live demo using Docker Desktop, showcasing the running application within a Docker container. I highlight the benefits of containerization, including portability, scalability, and ease of deployment, all of which are crucial for modern software development practices.
Furthermore, I address a common challenge when accessing a host PostgreSQL database from within a Docker container. I guide you through the troubleshooting process, providing practical solutions to overcome this issue and ensure smooth communication between the containerized application and the host PostgreSQL database.
Subscribe now and hit the notification bell to stay updated with more informative tutorials on Docker, Spring Boot, and software development best practices!
มุมมอง: 876

วีดีโอ

Spring Boot + Spring Security + PostgreSQL + JPA - Assigning Multiple Roles to a User - Part 3
มุมมอง 2K2 ปีที่แล้ว
In this video you can learn about how to configure entities with @ManyToMany association so that we can save Roles while saving the User details. I also tried to cover some common issues and exception on can face while persisting data where entities have @ManyToMany association. This video covers the configuration of Spring Security in great detail after completion of this video you will be abl...
Spring Boot + Spring Security + PostgreSQL + JPA - Authenticate Users Stored in Database - Part 2
มุมมอง 5K2 ปีที่แล้ว
In this video you can learn about how to configure spring security basic authentication to authenticate users using stored in a database using DAO Authentication Provider. At some points it has detailed explanation of classes and process, so please do watch complete video so that you won't miss anything. This video covers the configuration of Spring Security in order to authenticate users that ...
Spring Boot + Spring Security + PostgreSQL + JPA - In Memory Authentication - Part 1
มุมมอง 3.7K2 ปีที่แล้ว
In this video you can learn about how to configure spring security basic authentication to authenticate users using In Memory Authentication Provider. This video covers the configuration of Spring Security in great detail after completion of this video you will be able to: 1. Configure Spring Security 2. Use In-Memory Authentication to Authenticate Users 3. Understand the Flow of Spring Securit...
Spring Boot Restful + PostgreSQL + JPA Hibernate Inheritance Strategy JOINED - Part 13
มุมมอง 2.4K3 ปีที่แล้ว
In this video I have explained how we can use JPA inheritance strategy to share common attributes with different entities. Repository Link: gitlab.com/lsio.repo2021/springboot After downloading the project from above link, make required changes in Vehicle.java as shown in this video. Topics covered in this video: 1. Joined Strategy 2. @Inheritance 4. @OneToMany 5. @ManyToOne
Spring Boot Restful + PostgreSQL + JPA Hibernate Inheritance Strategy TABLE_PER_CLASS - Part 12
มุมมอง 1.7K3 ปีที่แล้ว
In this video I have explained how we can use JPA inheritance strategy to share common attributes with different entities. Repository Link: gitlab.com/lsio.repo2021/springboot Topics covered in this video: 1. Table Per Class Strategy 2. @Inheritance 4. @OneToMany 5. @ManyToOne
Spring Boot Restful + PostgreSQL + JPA Hibernate Inheritance Strategy SINGLE_TABLE - Part 11
มุมมอง 1.7K3 ปีที่แล้ว
In this video I have explained how we can use JPA inheritance strategy to share common attributes with different entities. Repository Link: gitlab.com/lsio.repo2021/springboot Topics covered in this video: 1. @Inheritance 2. @DiscriminatorColumn 3. Single Table Strategy
Spring Boot Restful + PostgreSQL + JPA Hibernate Inheritance Strategy @MappedSuperClass - Part 10
มุมมอง 1.4K3 ปีที่แล้ว
In this video I have explained how we can use JPA inheritance strategy to share common attributes with different entities. Repository Link: gitlab.com/lsio.repo2021/springboot Topics covered in this video: 1. @MappedSuperClass 2. @AttributeOverride
Spring Boot Restful + PostgreSQL + JPA Hibernate Stored Procedure Functions @Procedure - Part 9
มุมมอง 21K3 ปีที่แล้ว
In this video I have explained how to call Stored Procedure / DB Functions and what are the ways to handle the results. Repository Link: gitlab.com/lsio.repo2021/springboot Topics covered in this video: 1. Entity Manager 2. @Procedure 3. @NamedStoredProcedureQuery 4. @SqlResultSetMapping Runtime Exceptions covered in this video: 1. org.hibernate.MappingException: No Dialect mapping for JDBC typ...
Spring Boot Restful + PostgreSQL + JPA Exception and DateTime Handling Setting Time Zone - Part 8
มุมมอง 7K3 ปีที่แล้ว
In this video I have explained how to identify exception and define a particular handler for that. Also explained the ways to format Date and Time in SpringBoot during Json parsing. Custom Exception Handling Formatting / Parsing Date and Time Setting Time Zone
Spring Boot Restful + PostgreSQL + JPA Validation @NotNull @Size @Min @Max @Pattern - Part 7
มุมมอง 5K3 ปีที่แล้ว
In this video I tried to cover most commonly used validation annotation in Spring Validation with custom response messages. I also covered how we can use regex to validate the user input. @NotNull @Size @Min @Max @Pattern @Validated
Troubleshoot PgAdmin 4 Keeps Loading - Stuck On Loading Screen Issue
มุมมอง 15K3 ปีที่แล้ว
In this video I showed how to troubleshoot PgAdmin 4 freezes on loading screen.
Spring Boot Restful + PostgreSQL + JPA JPQL and Native SQL Queries Custom Queries - Part 6
มุมมอง 2.8K3 ปีที่แล้ว
In this video I have shown that how we can use JPQL and Native SQL queries to perform database operations. I also explained the pros and cons of both approach along with the implementation. So watch this video till end to get better understanding of the concept and use cases.
Spring Boot Restful + PostgreSQL + JPA Derived Queries Using Multiple Condition Parameters - Part 5
มุมมอง 4.3K3 ปีที่แล้ว
In this Video you will learn how we can use Spring JPA Repository derived queries to fetch records from table using multiple query parameters. For better understanding I would recommend you to watch the complete video first and then play again and start to code along.
Spring Boot Restful + PostgreSQL + JPA @ManyToMany and Ways to Save and Update Records - Part 4
มุมมอง 14K3 ปีที่แล้ว
In this video I have shown the implementation of @ManyToMany annotations and number of ways to insert and update records in table when entities have this many to many relationship. Topics covered: Design difference between @OneToMany vs @ManyToMany. Overview of @ManyToMany. Implementation of @ManyToMany. Table creation in PostgreSQL. @JoinTable annotation properties. Ways to save records in a t...
Spring Boot Restful + PostgreSQL + JPA @OneToMany @ManyToOne and 3 Ways to Save Records - Part 3
มุมมอง 29K3 ปีที่แล้ว
Spring Boot Restful PostgreSQL JPA @OneToMany @ManyToOne and 3 Ways to Save Records - Part 3
Spring Boot Restful + PostgreSQL + JPA ddl-auto @Transient @JsonIgnore - Part 2
มุมมอง 6K3 ปีที่แล้ว
Spring Boot Restful PostgreSQL JPA ddl-auto @Transient @JsonIgnore - Part 2
Spring Boot Restful + PostgreSQL + Spring JPA Hibernate - Part 1
มุมมอง 23K3 ปีที่แล้ว
Spring Boot Restful PostgreSQL Spring JPA Hibernate - Part 1
Ng Serve Angular Compile Time Error - ng.ps1 Cannot Be Loaded
มุมมอง 19K3 ปีที่แล้ว
Ng Serve Angular Compile Time Error - ng.ps1 Cannot Be Loaded
How To Use VLOOKUP() With IF() and INDIRECT() (Dynamic Parameters)
มุมมอง 364 ปีที่แล้ว
How To Use VLOOKUP() With IF() and INDIRECT() (Dynamic Parameters)

ความคิดเห็น

  • @phamhoangtuanthanh4591
    @phamhoangtuanthanh4591 4 หลายเดือนก่อน

    Hey, you haven't Account github?

  • @LoganXz316
    @LoganXz316 5 หลายเดือนก่อน

    THANKS A LOT!!!!

  • @_falgunip
    @_falgunip 5 หลายเดือนก่อน

    volume is very low cant hear

  • @krishnakatikala-ke9un
    @krishnakatikala-ke9un 6 หลายเดือนก่อน

    Its really working but opening in firefox😅

  • @satipmohanty1345
    @satipmohanty1345 7 หลายเดือนก่อน

    Thanks Brother ❤

  • @Athy99
    @Athy99 8 หลายเดือนก่อน

    Thank you

  • @taalim2254
    @taalim2254 8 หลายเดือนก่อน

    It doesn't work with me

  • @rajchavan860
    @rajchavan860 8 หลายเดือนก่อน

    I am getting an exception that says. java.lang.NullPointerException: Cannot invoke "java.util.iterator" because "this.parameters" is null.

  • @xXSkyWalkerXx1
    @xXSkyWalkerXx1 9 หลายเดือนก่อน

    Hint: you have to replace spring.datasource.url to spring.datasource.jdbc-url

  • @salomonayah4637
    @salomonayah4637 11 หลายเดือนก่อน

    Where is the next video about JWT ? Drop the link

  • @Bl4ckDrg0n
    @Bl4ckDrg0n ปีที่แล้ว

    8:52 WebSecurityConfigurerAdapter is deprecated, I am stuck now

  • @sushmitalokhande6394
    @sushmitalokhande6394 ปีที่แล้ว

    Can you share the code

  • @larabarros5732
    @larabarros5732 ปีที่แล้ว

    Thanks! Very good!!

  • @AhmadHamid
    @AhmadHamid ปีที่แล้ว

    @Procedure didn't work if the function is not defined in the public schema on postgresql

  • @NOTIYA_YT...
    @NOTIYA_YT... ปีที่แล้ว

    Thanks alot buddy

  • @ThiagoSimoes79
    @ThiagoSimoes79 ปีที่แล้ว

    For those struggling with this error, I try these solution, but it didn't work. What it did, was remove altogether the PostgreSQL from my computer, then reinstall without PgAdmin4. Then, using a separated installation file, install only PGadmin4.

  • @egorzh3828
    @egorzh3828 ปีที่แล้ว

    God, man, I don't know English and I use a translator, but thank you. I was so desperate that I went beyond the first page of the browser and started writing to the forum with my problem. And suddenly I found this video. Your source code helped solve my DB generation problem. I do not know how or why it worked, but IT WORKED. Thank you.

  • @agoio
    @agoio ปีที่แล้ว

    Not work

  • @AleksandrPiletskii
    @AleksandrPiletskii ปีที่แล้ว

    Guys I had the same issue too and solved it with a new version of pgadmin - 7.5 (it released july 27 2023). Firstly I have installed postgres server (and unchecked pgadmin during installation, because I downloaded pgadmin 7.5 separately from the official site) and then I have installed pgadmin 7.5 and it works! Hope you guys find it helpful.

  • @angxltechgod3407
    @angxltechgod3407 ปีที่แล้ว

    I don't have content type in my .js directory : (

  • @anirudhaawad4905
    @anirudhaawad4905 ปีที่แล้ว

    Thanks sir

  • @shihabbrakode3832
    @shihabbrakode3832 ปีที่แล้ว

    no sound dear

  • @alyaaahmed4462
    @alyaaahmed4462 ปีที่แล้ว

    the problem is not solved

  • @amongarabic7445
    @amongarabic7445 ปีที่แล้ว

    Thanks

  • @TheLoveking1982
    @TheLoveking1982 ปีที่แล้ว

    Hi Bro,This is realy useful for me and thanks for sharing this vedio. but ur voice is very lower to hear u

  • @shravanreddy5495
    @shravanreddy5495 ปีที่แล้ว

    Sir, please post videos regularly

    • @LetsSortItOut
      @LetsSortItOut 10 หลายเดือนก่อน

      I am working on a national level project for last 6 months, so things are pretty rough there. Very soon I will revive this channel and will post videos regularly. Thanks

  • @avinashkumar-tt5di
    @avinashkumar-tt5di ปีที่แล้ว

    Thank you bro❤❤❤

  • @olongraphael7239
    @olongraphael7239 ปีที่แล้ว

    Good content, can we have the repo to this series

  • @berkkoklu9185
    @berkkoklu9185 ปีที่แล้ว

    Thank You

  • @LucianoGerbaudo
    @LucianoGerbaudo ปีที่แล้ว

    No me sale la carpeta .js ¿hay otra solución?

  • @ronnierocks19
    @ronnierocks19 ปีที่แล้ว

    thank u so much it works💗💗💗

  • @RashidKhan-tz5ct
    @RashidKhan-tz5ct ปีที่แล้ว

    in .js folder content type is missing now what should I do?

  • @shimjithnath
    @shimjithnath ปีที่แล้ว

    awesome bro

  • @MusicWorld-xz4qe
    @MusicWorld-xz4qe ปีที่แล้ว

    thank you😍

  • @sajith-r-sampath
    @sajith-r-sampath ปีที่แล้ว

    Thank you

  • @bonedoggle
    @bonedoggle ปีที่แล้ว

    Can you please turn your subtitles on? I have auditory processing disorder and it's a lot easier to understand instructions when I can read and hear them at the same time.

  • @srij1102
    @srij1102 ปีที่แล้ว

    Can you please clarify this question, Your passing City ID but think that user don't know the city ID he will enter the City Name. and also your not creating any foreign key relation on table. is there any reason

  • @PhanTanThangTH
    @PhanTanThangTH ปีที่แล้ว

    Thank you so much bro :)

  • @sidou733
    @sidou733 ปีที่แล้ว

    note : if the column don't appear to in the browser . just add setters and getters for the new column

  • @MessierNoventayNueve
    @MessierNoventayNueve ปีที่แล้ว

    Thanks. lot of thanks, was an great helpfull video.

  • @Teardropper-nm3ht
    @Teardropper-nm3ht ปีที่แล้ว

    I need to see the application properties. Is there source code for this project on GitHub?

    • @sidou733
      @sidou733 ปีที่แล้ว

      spring.datasource.url = jdbc:postgresql://localhost:5432/sidou spring.datasource.username=postgres spring.datasource.password=admin spring.datasource.driver-class-name = org.postgresql.Driver spring.jpa.show-sql=true spring.datasource.dbcp2.test-while-idle=true spring.datasource.dbcp2.validation-query=select 1 observation: i deleted the last 2 lines because there is an error because it

    • @Teardropper-nm3ht
      @Teardropper-nm3ht ปีที่แล้ว

      @@sidou733 thank you, I really appreciate this

  • @suvamgupta2914
    @suvamgupta2914 ปีที่แล้ว

    Now this is known as an awesome!! content Thank you so much♥

  • @alperyazici7686
    @alperyazici7686 ปีที่แล้ว

    Thanks for helping

  • @srinivashs1589
    @srinivashs1589 ปีที่แล้ว

    How to validate integer value for int data type of we pass 7.5 double value

  • @GabeePaez123
    @GabeePaez123 ปีที่แล้ว

    I LOVE YOU MAN

  • @piyushdutta7760
    @piyushdutta7760 ปีที่แล้ว

    Hi. Can you point me to the link of the source codes plz.

  • @lrschannel7110
    @lrschannel7110 ปีที่แล้ว

    What a video!!!!!! Amazing

  • @johnjada4296
    @johnjada4296 ปีที่แล้ว

    So useful, so useful tq

  • @biloolea6837
    @biloolea6837 ปีที่แล้ว

    merci beaucoup

  • @programmingwithnit5308
    @programmingwithnit5308 ปีที่แล้ว

    Thank you 🙏🙏. Good explain