Lilium Code
Lilium Code
  • 103
  • 446 463
Java Design Patterns: Proxy Pattern Simplified
Are you ready to learn the Proxy Pattern in Java in just a few minutes? In this video, I’ll explain what the Proxy Pattern is, why it’s useful, and how to implement it with clear, step-by-step examples.
You’ll discover:
✅ What the Proxy Pattern is and its use cases.
✅ How to use a Proxy to optimize performance with lazy initialization.
✅ Practical examples of the pattern in action.
Whether you're a beginner or an experienced developer, this tutorial is perfect for deepening your understanding of design patterns in Java.
Don’t forget to like, comment, and subscribe for more Java tutorials!
Intro by Audionautix is licensed under a Creative Commons Attribution 4.0 licence. creativecommons.org/licenses/
Artist: audionautix.com/
มุมมอง: 89

วีดีโอ

Effortless Data Management: Unleashing the Power of Spring Data Elasticsearch Repositories | Part 4
มุมมอง 336ปีที่แล้ว
Join us in the next episode of our Spring Data Elasticsearch tutorial series as we unravel the capabilities of Elasticsearch repositories. Learn how to effortlessly perform CRUDL operations-Create, Read, Update, Delete, and List-with Spring Data's intuitive repository interfaces. Dive into practical demonstrations that showcase the simplicity and efficiency of managing your Elasticsearch data u...
Mastering Index Creation with Spring Data Elasticsearch: Mapping Configurations Unveiled | Part 3
มุมมอง 620ปีที่แล้ว
In this comprehensive tutorial, we dive deep into the intricacies of creating a powerful Elasticsearch index using Spring Data. Discover the art of configuring mappings to unleash the full potential of your data storage. Learn step-by-step how to define and optimize mappings tailored to your application's needs, ensuring efficient indexing and seamless data retrieval. 🚀 Key Topics: Understandin...
Elasticsearch Document Mapping in Spring Boot: Annotations vs. JSON Configuration | Part 2
มุมมอง 700ปีที่แล้ว
Unlock the power of Elasticsearch document mapping in Spring Boot with our latest tutorial. In this video, we explore the creation of a document class and delve into field mappings using both Spring Data Elasticsearch annotations and a more flexible approach-defining mappings via a JSON file. Follow along as we demonstrate the versatility and customization options available to optimize your doc...
Connecting Spring Boot to Elasticsearch 8.11: Setup, Password Reset, and Configuration | Part 1
มุมมอง 1.8Kปีที่แล้ว
In our inaugural video, learn the essential steps to connect your Spring Boot application to Elasticsearch 8.11.0. We guide you through the process of downloading and setting up Elasticsearch, resetting the password for the 'elastic' user, and configuring your Spring application to seamlessly communicate with Elasticsearch using SSL, including the use of self-signed certificates. Uncover the in...
Mastering the Builder Pattern in Java: Fluent Object Creation Simplified | Design Patterns
มุมมอง 103ปีที่แล้ว
In this comprehensive Java tutorial, we'll dive deep into the powerful Builder Pattern, a key design pattern for creating complex objects with ease. Discover when to use the Builder Pattern, its benefits, and step-by-step implementation. Learn about its flexibility, code readability, and how it eliminates constructor pitfalls. We'll showcase real-world examples and demonstrate how to enhance co...
Java Design Patterns: Prototype Pattern Explained with Code | Design Patterns
มุมมอง 128ปีที่แล้ว
In this Java design patterns tutorial, we dive into the Prototype Pattern, a powerful technique for efficient object creation. Learn how to create new objects by copying existing ones in Java, reducing complexity and saving valuable development time. We provide a step-by-step code example, explaining the Prototype Pattern's key components, including the Prototype Interface, Concrete Prototypes,...
Mastering Java Design Patterns: The Visitor Pattern Explained with Examples | Design Patterns
มุมมอง 753ปีที่แล้ว
Are you ready to enhance your Java programming skills with one of the most powerful design patterns out there? In this video, we'll delve into the "Visitor Pattern" - a game-changer for simplifying complex structures in your Java applications. Whether you're a beginner or an experienced Java developer, understanding design patterns like the Visitor Pattern can take your coding skills to the nex...
Demystifying the Singleton Pattern in Java | Design Patterns
มุมมอง 84ปีที่แล้ว
In this comprehensive Java programming tutorial, we delve into the Singleton Pattern, a fundamental design pattern that ensures a class has only one instance and provides a global point of access to that instance. You'll gain a deep understanding of this essential pattern, its practical use cases, and best practices for creating thread-safe Singletons. Key Topics Covered: What is the Singleton ...
Adapter Pattern | Design Patterns
มุมมอง 188ปีที่แล้ว
In this video we have a look at one of the design patterns named adapter pattern. We look at its advantages, and disadvantages, as well as some code example on how to implement it. Intro by Audionautix is licensed under a Creative Commons Attribution 4.0 licence. creativecommons.org/licenses/ Artist: audionautix.com/
Quartz Scheduler Sharding with Spring Boot
มุมมอง 1.7Kปีที่แล้ว
In this video we have a look on Quartz Scheduler library, and how we can spawn multiple schedulers within out cluster in order to improve the performance. More detailed look in how to setup a timer service with Quartz Scheduler and Spring Boot can be found here: th-cam.com/video/Iptowqox9_4/w-d-xo.html Quartz Scheduler documentation is available on following link www.quartz-scheduler.org/ Intro...
Java Record Class Tutorial: Simplifying Data Structures in Java
มุมมอง 186ปีที่แล้ว
Are you tired of writing boilerplate code for your Java classes to represent simple data structures? In this comprehensive Java Record Class tutorial, we'll show you how to leverage this powerful feature introduced in Java 16 (and beyond) to streamline your code and make your life as a Java developer easier. 🔥 What You'll Learn: What is a Java Record Class and why it's a game-changer. How to de...
#javastreamapi #java #javaprogramming Stream Api | Overview with Examples
มุมมอง 153ปีที่แล้ว
In this video we have a look on Java Stream API and on how it can be use to make our development life easier. Intro by Audionautix is licensed under a Creative Commons Attribution 4.0 licence. creativecommons.org/licenses/ Artist: audionautix.com/ #java #springboot #springboottutorial #javatutorial #javastreamapi #spring
#springcloud #netflix #netflixeureka Spring Cloud Netflix Eureka
มุมมอง 606ปีที่แล้ว
In this video we have a look on how we can configure Spring Cloud Netflix Eureka service discovery. We create a service discovery server and two microservices that try to comunicate with eachother. Source code: github.com/liliumbosniacum/eurekaservicediscovery Intro by Audionautix is licensed under a Creative Commons Attribution 4.0 licence. creativecommons.org/licenses/ Artist: audionautix.com...
ManyToOne Relationship - Part 5 | Spring Data JPA
มุมมอง 3252 ปีที่แล้ว
Part 5 of Spring Data JPA tutorial series. This video focuses on creating a many to one relationship (and OneToMany) and demonstrates how to handle Lazy and Eager fetching. In this tutorial we have a look at Spring Data JPA and how we can integrate it in our project. We have a look on how to write custom queries and many more interesting things. Links from the video: spring.io/projects/spring-d...
How to Create Specifications and Use Hibernate Metamodel Class - Part 3 | Spring Data JPA
มุมมอง 6372 ปีที่แล้ว
How to Create Specifications and Use Hibernate Metamodel Class - Part 3 | Spring Data JPA
Creating a Specification with Like Method and Name Pattern - Part 4 | Spring Data JPA
มุมมอง 9102 ปีที่แล้ว
Creating a Specification with Like Method and Name Pattern - Part 4 | Spring Data JPA
MappedSuperclass and Hibernate metamodel - Part 2 | Spring Data JPA
มุมมอง 5942 ปีที่แล้ว
MappedSuperclass and Hibernate metamodel - Part 2 | Spring Data JPA
Enabling JPA Repositories - Part 1 | Spring Data JPA
มุมมอง 7612 ปีที่แล้ว
Enabling JPA Repositories - Part 1 | Spring Data JPA
Discord Bot with Java and Spring Boot
มุมมอง 5K2 ปีที่แล้ว
Discord Bot with Java and Spring Boot
Testing Controllers with MockMvc - Testing with Spring Boot - Part 8
มุมมอง 1.3K2 ปีที่แล้ว
Testing Controllers with MockMvc - Testing with Spring Boot - Part 8
Project Lombok with Spring Boot | Tutorial
มุมมอง 4162 ปีที่แล้ว
Project Lombok with Spring Boot | Tutorial
Added Redis Session Registry - Spring Security With Angular - Part 8
มุมมอง 2.7K3 ปีที่แล้ว
Added Redis Session Registry - Spring Security With Angular - Part 8
Added JPA Repository - Spring Security With Angular - Part 7
มุมมอง 1.9K3 ปีที่แล้ว
Added JPA Repository - Spring Security With Angular - Part 7
Request Interceptor And Authentication - Spring Security With Angular - Part 6
มุมมอง 3.3K3 ปีที่แล้ว
Request Interceptor And Authentication - Spring Security With Angular - Part 6
Login Page - Spring Security With Angular - Part 5
มุมมอง 6K3 ปีที่แล้ว
Login Page - Spring Security With Angular - Part 5
Configuration and Login Endpoint - Spring Security With Angular - Part 4
มุมมอง 4.1K3 ปีที่แล้ว
Configuration and Login Endpoint - Spring Security With Angular - Part 4
Session Handling - Spring Security With Angular - Part 3
มุมมอง 4.6K3 ปีที่แล้ว
Session Handling - Spring Security With Angular - Part 3
User Details Service Implementation - Spring Security With Angular - Part 2
มุมมอง 3.9K3 ปีที่แล้ว
User Details Service Implementation - Spring Security With Angular - Part 2
Project Setup - Spring Security With Angular - Part 1
มุมมอง 11K3 ปีที่แล้ว
Project Setup - Spring Security With Angular - Part 1

ความคิดเห็น

  • @gafarraji
    @gafarraji 8 วันที่ผ่านมา

    A lot seems to have changed in the elasticsearch API and that makes it almost impossible to follow this tutorial especially for a beginner.

    • @liliumbosniacumcode
      @liliumbosniacumcode 4 วันที่ผ่านมา

      Thank you for the comment. Maybe then you would be interested more in the 8.x version of elasticsearch. This playlist might be helpful to yo th-cam.com/video/POx2kjV4fq8/w-d-xo.html

  • @chuantay6153
    @chuantay6153 9 วันที่ผ่านมา

    i followed your application.properties but my project doesn't seem to be able to startup in cluster mode. Any idea?

    • @liliumbosniacumcode
      @liliumbosniacumcode 4 วันที่ผ่านมา

      Hmm would be interesting to see what you have. Can you share your project with me ?

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

    thnx a lot brother

  • @NicolasZaeta-bc3ik
    @NicolasZaeta-bc3ik 2 หลายเดือนก่อน

    Is it possible to have the scheduler and the worker in different apps?

    • @liliumbosniacumcode
      @liliumbosniacumcode 2 หลายเดือนก่อน

      Yes, should be manageable. You just need a way to schedule from the worker app, maybe some REST calls to the scheduler app with the details about the job

    • @NicolasZaeta-bc3ik
      @NicolasZaeta-bc3ik 2 หลายเดือนก่อน

      @@liliumbosniacumcode Thanks, I figured it out. You put the same configuration of SchedulerFactoryBean in the Scheduler and Worker(s) apps. But in the Scheduler you add this line, so that it doesn't proccess the jobs: factory.setAutoStartup(false);

  • @hyperborean72
    @hyperborean72 2 หลายเดือนก่อน

    Can you explain please: when we operate with message via front-end app we use Stomp endpoint 'our-websocket'' that we registered in config class extending WebSocketMessageBrokerConfigurer; but when we send/receive message from Postman not addressing to front-end and not using SockJS object from sockjs.min.js library, in such case stomp endpoint is not used, and the message is sent to the broker endpoint '/topic/messages' registered with registry.enableSimpleBroker("/topic"). What kind of messaging broker is that? Do we use socket in such case? Does socket in such case does not need Stomp protocol? If so why? When having Stomp is crucial?

  • @hyperborean72
    @hyperborean72 2 หลายเดือนก่อน

    nice clear examples, thank you

  • @hyperborean72
    @hyperborean72 2 หลายเดือนก่อน

    What is "application destination"? why do we need to configure some prefix for it? how does it differ from "stomp endpoint"? why do we need "stomp endpoint" if we subscribe for the messages at specific topic and the topic was defined in another method of the Configurer? all that was left unexplained unfortunately despite your keeping to say "it's quite simple thing to do"

  • @sphelelelubanyana1750
    @sphelelelubanyana1750 3 หลายเดือนก่อน

    sir i would like guidance on implementing for financial markets..its been a week already and the results i get are fluctuating really bad as if it not learning anything

    • @sphelelelubanyana1750
      @sphelelelubanyana1750 2 หลายเดือนก่อน

      Hi, im back here i again, im up and running and I can see improvement as it progresses..now the problem Im facing as maxing heap size. How do I continue training the model, do i set train To true In the output?

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

    This video is so helpful. Thanks very much!

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

    Thank you very much for putting this together. Was fighting with the database connectivity and this got me over the hump.

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

    congratulations, very good this video! I'm from Brazil and understood perfect

  • @poorna.compro
    @poorna.compro 5 หลายเดือนก่อน

    Your videos are very very good. Nice explanation. Saving time at typing the code. Straight to the point. I have one difficulty with your code i.e. the font size is too small. I dont have option to increase it.

  • @senddev
    @senddev 6 หลายเดือนก่อน

    😊 Thanks 🙏

  • @senddev
    @senddev 6 หลายเดือนก่อน

    Thanks 😊

  • @gajanankanekar9118
    @gajanankanekar9118 6 หลายเดือนก่อน

    Cannot read your screen

  • @florinbujoreanu1020
    @florinbujoreanu1020 6 หลายเดือนก่อน

    My man, what font is this? Looks like something custom, merging Cascadia with DejaVu.

    • @liliumbosniacumcode
      @liliumbosniacumcode 6 หลายเดือนก่อน

      If you are asking about IDE font, it is just a default one that comes with Intellij Idea

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

    God bless you man have been on this for quite some time and finally it works for me , i wonder your video is down the search results yet it is the only one working , kudos boss lemme even just watch the whole series

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

    RestClients is not working, is it deprecated ?

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

    good

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

    Could you please share the GitHub URL?

    • @liliumbosniacumcode
      @liliumbosniacumcode 4 วันที่ผ่านมา

      Sorry do not have one for this video :(

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

    i did not find the file elasticsearch ?

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

    It looks like, currently, no need to start or shut down the scheduler manually anymore.

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

    code source

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

    But your concept and the start is very good, I would say.

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

    Your code is trash.

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

    Instead of defining multiple schedulers, have you tried to use org.springframework.scheduling.quartz.LocalTaskExecutorThreadPool as a ThreadPool implementation and configure a virtual thread executor in SchedulerFactoryBean? There is no limit on the number of threads this way.

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

    zoom in the screen, please

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

    hi why you are using final as your parameter ? for example final SearchRequest , we can remove final keyword?

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

    what is the advantages using this elasticsearch?

    • @devpvhnaccut
      @devpvhnaccut 6 หลายเดือนก่อน

      the answer already in your question: "search"

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

    Thanks

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

    Clear and to-the-point! Best video on websockets I've seen! Thank you so much for keeping it short and simple while communicating the relevant info.

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

    Thank you so much. Scoured throughout the whole internet for hours trying to find exactly this. Thank you.

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

    how to get content of the message before replying, .getContent() returns empty string

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

    The best video about websockets which i have found ❤

  • @sandipkumar-m1z
    @sandipkumar-m1z 10 หลายเดือนก่อน

    Thanks for this video - Any tutorial or code implementation on motion/movement detection from CCTV footage

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

    This was amazing! You need to do a unit testing video for the common spring boot rest api video. Instant sub!

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

    this tutorial is today useless, most functions and classes no longer exist, theyre obsolete and removed in the latest version of elasticsearch

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

      That is why there is another series on the channel about latest stuff :)

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

    I've been stuck with send private and this video is life-saver.

  • @omarahmed-gs7op
    @omarahmed-gs7op 11 หลายเดือนก่อน

    where did you go its been 2 months :D

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

    Hiii Lilium, how can we start scheduler with application, i mean the scheduler have to be in action as the application starts, instead starting it by calling an api

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

      You could add something like @PostConstruct and call your methods there.

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

    thanks!

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

    Cool!

  • @alishagupta-y3r
    @alishagupta-y3r ปีที่แล้ว

    Hey, i had a question here, if lets say i want to stream the data after 1second, it is possible? For example - i added message as hello then i want it to be printed as 1 character and then after 1 second another character and so on. As STOMP is a streaming protocol, i wanted to understand an example for it.

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

    It is the best explanation I have ever seen about websockets. Thank you bro, you are the best!!!

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

    How can we call the runTask method inside PlayGroundService for our POST call endpoint. i want to reduce the number of DB calls and lock the functionality of POST endpoint.

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

    Great video, thanks

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

    i have all dependecies and still no AbstractElasticsearchConfiguration class, i have A...E..searchTemplate

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

    extremely useful

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

    Thanks sir

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

    Thanks a million