![Lilium Code](/img/default-banner.jpg)
- 102
- 423 044
Lilium Code
Austria
Registrace 9. 05. 2020
Trying to share my knowledge as best as I can. All code is available on github github.com/liliumbosniacum
Effortless Data Management: Unleashing the Power of Spring Data Elasticsearch Repositories | Part 4
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 using Spring Data.
Whether you're building a new application or enhancing an existing one, mastering Elasticsearch repositories is a game-changer. Elevate your development skills as we guide you through the essential techniques for efficient data manipulation with Spring Data.
Intro by Audionautix is licensed under a Creative Commons Attribution 4.0 licence. creativecommons.org/licenses/
Artist: audionautix.com/
🔍 #Elasticsearch #SpringData #RepositoryInterfaces #CRUDLOperations #DataManagement #JavaDevelopment #DeveloperTutorial #BackendDevelopment #JavaEE #CodingDemo #OptimizingDataRetrieval #ProgrammingTips #TechTutorial #DeveloperCommunity #DataManipulation #LearnProgramming #DatabaseIntegration #SoftwareDevelopment #CodingWisdom
Whether you're building a new application or enhancing an existing one, mastering Elasticsearch repositories is a game-changer. Elevate your development skills as we guide you through the essential techniques for efficient data manipulation with Spring Data.
Intro by Audionautix is licensed under a Creative Commons Attribution 4.0 licence. creativecommons.org/licenses/
Artist: audionautix.com/
🔍 #Elasticsearch #SpringData #RepositoryInterfaces #CRUDLOperations #DataManagement #JavaDevelopment #DeveloperTutorial #BackendDevelopment #JavaEE #CodingDemo #OptimizingDataRetrieval #ProgrammingTips #TechTutorial #DeveloperCommunity #DataManipulation #LearnProgramming #DatabaseIntegration #SoftwareDevelopment #CodingWisdom
zhlédnutí: 214
Video
Mastering Index Creation with Spring Data Elasticsearch: Mapping Configurations Unveiled | Part 3
zhlédnutí 372Před 7 měsíci
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
zhlédnutí 452Před 7 měsíci
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
zhlédnutí 1,2KPřed 7 měsíci
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
zhlédnutí 76Před 8 měsíci
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
zhlédnutí 98Před 8 měsíci
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
zhlédnutí 406Před 8 měsíci
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
zhlédnutí 79Před 9 měsíci
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
zhlédnutí 160Před 9 měsíci
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
zhlédnutí 1,1KPřed 9 měsíci
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: czcams.com/video/Iptowqox9_4/video.html Quartz Scheduler documentation is available on following link www.quartz-scheduler.org/ Intro ...
Java Record Class Tutorial: Simplifying Data Structures in Java
zhlédnutí 174Před rokem
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
zhlédnutí 150Před rokem
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
zhlédnutí 577Před rokem
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
zhlédnutí 270Před rokem
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
zhlédnutí 560Před rokem
Part 3 of Spring Data JPA tutorial series. This video focuses on creating specifications and using generated hibernate metamodels. We create a specification that is used to select everything that is created after provided timestamp. 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 interesti...
Creating a Specification with Like Method and Name Pattern - Part 4 | Spring Data JPA
zhlédnutí 838Před rokem
Creating a Specification with Like Method and Name Pattern - Part 4 | Spring Data JPA
MappedSuperclass and Hibernate metamodel - Part 2 | Spring Data JPA
zhlédnutí 519Před rokem
MappedSuperclass and Hibernate metamodel - Part 2 | Spring Data JPA
Enabling JPA Repositories - Part 1 | Spring Data JPA
zhlédnutí 632Před rokem
Enabling JPA Repositories - Part 1 | Spring Data JPA
Testing Controllers with MockMvc - Testing with Spring Boot - Part 8
zhlédnutí 960Před rokem
Testing Controllers with MockMvc - Testing with Spring Boot - Part 8
Project Lombok with Spring Boot | Tutorial
zhlédnutí 369Před rokem
Project Lombok with Spring Boot | Tutorial
Added Redis Session Registry - Spring Security With Angular - Part 8
zhlédnutí 2,6KPřed 2 lety
Added Redis Session Registry - Spring Security With Angular - Part 8
Added JPA Repository - Spring Security With Angular - Part 7
zhlédnutí 1,8KPřed 2 lety
Added JPA Repository - Spring Security With Angular - Part 7
Request Interceptor And Authentication - Spring Security With Angular - Part 6
zhlédnutí 3,1KPřed 2 lety
Request Interceptor And Authentication - Spring Security With Angular - Part 6
Login Page - Spring Security With Angular - Part 5
zhlédnutí 6KPřed 2 lety
Login Page - Spring Security With Angular - Part 5
Configuration and Login Endpoint - Spring Security With Angular - Part 4
zhlédnutí 3,9KPřed 2 lety
Configuration and Login Endpoint - Spring Security With Angular - Part 4
Session Handling - Spring Security With Angular - Part 3
zhlédnutí 4,3KPřed 2 lety
Session Handling - Spring Security With Angular - Part 3
User Details Service Implementation - Spring Security With Angular - Part 2
zhlédnutí 3,7KPřed 2 lety
User Details Service Implementation - Spring Security With Angular - Part 2
Project Setup - Spring Security With Angular - Part 1
zhlédnutí 10KPřed 2 lety
Project Setup - Spring Security With Angular - Part 1
Websocket push notification with Spring Boot - STOMP - Part 4
zhlédnutí 13KPřed 2 lety
Websocket push notification with Spring Boot - STOMP - Part 4
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.
😊 Thanks 🙏
Thanks 😊
Cannot read your screen
My man, what font is this? Looks like something custom, merging Cascadia with DejaVu.
If you are asking about IDE font, it is just a default one that comes with Intellij Idea
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
RestClients is not working, is it deprecated ?
good
Could you please share the GitHub URL?
i did not find the file elasticsearch ?
It looks like, currently, no need to start or shut down the scheduler manually anymore.
code source
But your concept and the start is very good, I would say.
Your code is trash.
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.
zoom in the screen, please
hi why you are using final as your parameter ? for example final SearchRequest , we can remove final keyword?
what is the advantages using this elasticsearch?
the answer already in your question: "search"
Thanks
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.
Thank you so much. Scoured throughout the whole internet for hours trying to find exactly this. Thank you.
how to get content of the message before replying, .getContent() returns empty string
The best video about websockets which i have found ❤
Thanks for this video - Any tutorial or code implementation on motion/movement detection from CCTV footage
This was amazing! You need to do a unit testing video for the common spring boot rest api video. Instant sub!
this tutorial is today useless, most functions and classes no longer exist, theyre obsolete and removed in the latest version of elasticsearch
That is why there is another series on the channel about latest stuff :)
I've been stuck with send private and this video is life-saver.
where did you go its been 2 months :D
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
You could add something like @PostConstruct and call your methods there.
thanks!
Cool!
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.
It is the best explanation I have ever seen about websockets. Thank you bro, you are the best!!!
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.
Great video, thanks
i have all dependecies and still no AbstractElasticsearchConfiguration class, i have A...E..searchTemplate
extremely useful
Thanks sir
Thanks a million
Thanks bro
brilliant explanation
Thanks teacher
I really want to say thank you for these videos. You do a really great job
Thanks sir
Hello! Very cool explanation, thanks for that! I have a question, I need to implement a server that will send information to the client as an object via a Websocket. You indicated that you can use a @Scheduled, but the method under this annotation does not accept anything as an argument. How to be in this case? As an argument, I wanted to pass HttpServletRequest to determine the user to whom to send information.
Could you share your GitHub project link, please?
Hii, can we schedule for weekly like repeat every 2 intervals of week
Hey, I have a question: is it ok to send private messages using @PostMapping method? Isn't it an http request which we should avoid doing and instead use websockets entirely?
Sending private messages using the `@PostMapping` method in a traditional HTTP-based application is a common approach, and it's perfectly acceptable for many use cases. You don't necessarily have to use websockets for private messaging, although websockets can be a more efficient choice for real-time communication. Here are some considerations: 1. HTTP POST: When you use `@PostMapping`, you are making an HTTP POST request to the server. This is a stateless request, meaning that the server does not keep a continuous connection open to the client. It sends a request, processes it, and sends a response. 2. Websockets: Websockets are a different communication protocol that allows for full-duplex, two-way communication between the client and the server over a single, long-lived connection. They are well-suited for real-time applications, such as chat, where low-latency communication is required. 3. Use Case: The choice between HTTP and websockets depends on your use case. If your application requires real-time, low-latency communication, such as a chat application, online gaming, or collaborative editing, websockets are a better choice. However, if your application involves occasional private messages, an HTTP POST request can work fine. 4. Complexity: Implementing websockets can be more complex than using traditional HTTP requests, and it may require additional infrastructure. You might need to consider factors like scalability, load balancing, and connection management when using websockets. 5. Security: Security considerations differ between the two methods. With websockets, you should take into account security measures like authentication and authorization, while with HTTP, you can leverage standard security mechanisms like HTTPS. 6. Compatibility: Websockets might not be supported in all environments and by all clients. Traditional HTTP POST requests are more widely supported. 7. Resource Usage: Websockets tend to be more efficient in terms of resource usage and can reduce unnecessary overhead for applications with frequent real-time communication. In summary, it's okay to use `@PostMapping` for private messages, and it can work well for many use cases. However, if your application requires real-time, low-latency communication, websockets may be a more suitable choice. Ultimately, the decision should be based on your specific requirements and constraints.
@@liliumbosniacumcode Thanks for such a huge explanation. I have figured out the way to send private messages to the specific users, now trying to figure out the way to authorize the user when logging in, and pass that session info to the backend to get all the chats from DB.
Hi, can you make tutorial about how to use shardingsphere for jdbc mysql? because recently become a trends to scale up app
Never heard about it before. I can have a look at it.
Thanks @@liliumbosniacumcode
thanks, but it's a pity that resthighlevelclient elasticsearch already deprecated