- 119
- 339 978
Code With Pratik
India
Приєднався 4 чер 2017
Welcome to #CodeWithPratik , your one-stop destination for all things coding! Here, we share tutorials, tips, and tricks to help you become a coding master. Whether you're just starting out or looking to take your skills to the next level, we've got you covered. Join our community of coders, and let's learn, grow and have fun together!
Are you ready to take your Spring Boot skills to the next level? Look no further! Our UA-cam channel is dedicated to all things Spring Boot, the popular Java-based framework for building modern applications. From basic concepts to advanced techniques, we cover everything you need to know to develop and deploy your applications with ease. Join our community of coders and stay ahead of the game. Subscribe now for exclusive access to the latest tutorials and lessons on Spring Boot!
Are you ready to take your Spring Boot skills to the next level? Look no further! Our UA-cam channel is dedicated to all things Spring Boot, the popular Java-based framework for building modern applications. From basic concepts to advanced techniques, we cover everything you need to know to develop and deploy your applications with ease. Join our community of coders and stay ahead of the game. Subscribe now for exclusive access to the latest tutorials and lessons on Spring Boot!
13. Spring Boot| CQRS| Testing Query functionality using postman | #codewithpratik @PratikDandare
In Axon, an aggregate is a domain object that models a transactional consistency boundary. An aggregate receives commands, which represent changes to the state of the aggregate, and produces events, which represent the outcome of those changes.
The @Aggregate annotation indicates that this is an Axon aggregate. The @AggregateIdentifier annotation specifies that the empId field is the identifier for this aggregate.
The @CommandHandler annotations specify the methods that handle commands for this aggregate. The @EventSourcingHandler annotations specify the methods that handle events for this aggregate.
In the Axon Framework, a @CommandHandler annotation is used to mark a method that handles a specific command message. When a command is sent to the Axon Framework, it will automatically route the command message to the appropriate @CommandHandler method based on the command's payload type.
Axon provides other annotations, such as @EventSourcingHandler and @QueryHandler, that allow you to handle events and queries respectively. These annotations work in a similar way to the @CommandHandler annotation, but are used for different types of messages.
==================================================================================================================================
check source code here : github.com/PratikBlog92/youtube
PowerPoint presentations link : github.com/PratikBlog92/youtu...
for discussion on any topic join this Facebook group : groups/86300...
#codewithpratik
@PratikDandare
#axon
#springboot
#cqrs
The @Aggregate annotation indicates that this is an Axon aggregate. The @AggregateIdentifier annotation specifies that the empId field is the identifier for this aggregate.
The @CommandHandler annotations specify the methods that handle commands for this aggregate. The @EventSourcingHandler annotations specify the methods that handle events for this aggregate.
In the Axon Framework, a @CommandHandler annotation is used to mark a method that handles a specific command message. When a command is sent to the Axon Framework, it will automatically route the command message to the appropriate @CommandHandler method based on the command's payload type.
Axon provides other annotations, such as @EventSourcingHandler and @QueryHandler, that allow you to handle events and queries respectively. These annotations work in a similar way to the @CommandHandler annotation, but are used for different types of messages.
==================================================================================================================================
check source code here : github.com/PratikBlog92/youtube
PowerPoint presentations link : github.com/PratikBlog92/youtu...
for discussion on any topic join this Facebook group : groups/86300...
#codewithpratik
@PratikDandare
#axon
#springboot
#cqrs
Переглядів: 410
Відео
12. Spring Boot| CQRS| Handling query using @QueryHandler | #codewithpratik @PratikDandare
Переглядів 456Рік тому
In Axon, an aggregate is a domain object that models a transactional consistency boundary. An aggregate receives commands, which represent changes to the state of the aggregate, and produces events, which represent the outcome of those changes. The @Aggregate annotation indicates that this is an Axon aggregate. The @AggregateIdentifier annotation specifies that the empId field is the identifier...
11.Spring Boot| CQRS| QueryGateway| Sending query using querygateway|#codewithpratik @PratikDandare
Переглядів 592Рік тому
In the Axon Framework, a @QueryHandler annotation is used to mark a method that handles a specific query message. When a query is sent to the Axon Framework, it will automatically route the query message to the appropriate @QueryHandler method based on the query's payload type. In Axon, an aggregate is a domain object that models a transactional consistency boundary. An aggregate receives comma...
10 Spring Boot| CQRS| Testing command functionality using postman| #codewithpratik @PratikDandare
Переглядів 524Рік тому
In Axon, an aggregate is a domain object that models a transactional consistency boundary. An aggregate receives commands, which represent changes to the state of the aggregate, and produces events, which represent the outcome of those changes. The @Aggregate annotation indicates that this is an Axon aggregate. The @AggregateIdentifier annotation specifies that the empId field is the identifier...
9. Spring Boot| CQRS| Create and handle @EventSourcingHandler and @EventHandler| #codewithpratik
Переглядів 717Рік тому
In Axon, an aggregate is a domain object that models a transactional consistency boundary. An aggregate receives commands, which represent changes to the state of the aggregate, and produces events, which represent the outcome of those changes. The @Aggregate annotation indicates that this is an Axon aggregate. The @AggregateIdentifier annotation specifies that the empId field is the identifier...
8.Spring Boot| CQRS| Create @Aggrigate |Handling commands using @CommandHandler| #codewithpratik
Переглядів 861Рік тому
In Axon, an aggregate is a domain object that models a transactional consistency boundary. An aggregate receives commands, which represent changes to the state of the aggregate, and produces events, which represent the outcome of those changes. The @Aggregate annotation indicates that this is an Axon aggregate. The @AggregateIdentifier annotation specifies that the empId field is the identifier...
7.Spring Boot | CQRS |Command Gateway |Creating Command |@TargetAggregateIdentifier| #codewithpratik
Переглядів 1,3 тис.Рік тому
@TargetAggregateIdentifier is an annotation in the Axon Framework, which is a Java framework for building event-driven, scalable, and resilient applications. The @TargetAggregateIdentifier annotation is used to mark a field or method in a command handling method, indicating that the value of this field or method should be used as the identifier of the aggregate that the command is targeting. Co...
5. Axon Server | Enabling Dev Mode to Reset Event Store | #axon #codewithpratik @PratikDandare
Переглядів 966Рік тому
axoniq.axonserver.devmode.enabled is a configuration property that relates to Axon Server, a messaging and event-sourcing platform for building distributed systems. This property enables or disables development mode in Axon Server. When axoniq.axonserver.devmode.enabled is set to true, Axon Server will allow clients to connect using any client ID without authentication. This is useful for devel...
4. What is CQRS? | CQRS Architecture | CQRS flow diagram | @PratikDandare #codewithpratik
Переглядів 859Рік тому
CQRS (Command Query Responsibility Segregation) is an architectural pattern that separates the read and write operations (i.e., commands and queries) of a system into separate models. The idea behind CQRS is to have a separate model for reading and writing data, where the write model handles commands that change the state of the system, and the read model handles queries that retrieve data from...
6.Spring Boot - Axon Server | How to connect Spring Boot With Axon Server ? | #codewithpratik
Переглядів 1,6 тис.Рік тому
To connect Spring Boot with Axon Server, you will need to perform the following steps: 1. Add the Axon Server dependency to your Spring Boot project. To do this, you can add the following to your project's build file, such as Maven's pom.xml file: Dependancy : axon-server-connector 2. Configure the Axon Server connection. You can do this by adding the following configuration to your Spring Boot...
3.Axon Server| Configuring Axon Server | Axon-Server Configuration properties | @PratikDandare
Переглядів 1,3 тис.Рік тому
Axon Server has a number of configuration properties that can be set in the configuration file (application.properties) or as command line arguments. Some of the most common properties include: axoniq.axonserver.name: The unique name of the Axon Server node. axoniq.axonserver.hostname: The hostname or IP address of the Axon Server node. axoniq.axonserver.port: The port number for incoming Axon ...
13.Spring Boot | Implementing Search and Pagination in Spring Boot using Specification@PratikDandare
Переглядів 6 тис.Рік тому
@PratikDandare #Ccodewithpratik Please checkout spring boot pagination link hear : ua-cam.com/play/PLoyb0HJlmv_kKDuTCZqBwUrKDXbGLPriw.html check source code here : github.com/PratikBlog92/youtube PowerPoint presentations link : github.com/PratikBlog92/youtube/tree/master/PPT for discussion on any topic join this Facebook group : groups/863000077517862
2. Axon Server | Downloading Axon Server | Running Axon Server | #codewithpratik @PratikDandare
Переглядів 1,4 тис.Рік тому
Axon Framework is a library for building complex, event-driven systems. It provides tools for creating and managing event-sourced aggregates, event stores, command buses, and more. To download and run the Axon Jar locally, you will need to have Java installed on your machine. Download the latest version of the Axon Jar from the Axon website (www.axoniq.io/download). Open a command prompt or ter...
1.What is axon sever? | Why to choose axon server ? | Benefits of axon server. | #codewithpratik
Переглядів 2,9 тис.Рік тому
What is Axon Server ?? 1. Axon Server is a tool for managing and scaling distributed systems based on the Axon Framework, an open-source library for building event-driven, microservice-based systems in Java. 2. It provides features such as event storage, event processing, and command handling, and allows multiple instances of an application to share data and communicate with each other. 3. This...
7. Spring Boot | Pagination & Sorting | Native Query Pagination | @PratikDandare #codewithpratik
Переглядів 4 тис.2 роки тому
@PratikDandare #codewithpratik check source code here : github.com/PratikBlog92/youtube PowerPoint presentations link : github.com/PratikBlog92/youtube/tree/master/PPT for discussion on any topic join this Facebook group : groups/863000077517862 Description : Pagination is a technique for dividing a list of records into multiple pages, with each page containing a limited number o...
6. Spring Boot | Pagination & Sorting | Pagination on Query Methods | @PratikDandare #codewithpratik
Переглядів 1,4 тис.2 роки тому
6. Spring Boot | Pagination & Sorting | Pagination on Query Methods | @PratikDandare #codewithpratik
5. Spring Boot | Pagination & Sorting | Implementing Pagination on List | PagedListHolder | PageImpl
Переглядів 2,7 тис.2 роки тому
5. Spring Boot | Pagination & Sorting | Implementing Pagination on List | PagedListHolder | PageImpl
4. Spring Boot | Pagination & Sorting | Added Sort functionality in pagination |@PratikDandare
Переглядів 1,8 тис.2 роки тому
4. Spring Boot | Pagination & Sorting | Added Sort functionality in pagination |@PratikDandare
3. Spring Boot | Pagination & Sorting | Implementing Pagination API | Writing code for Pagination
Переглядів 4,1 тис.2 роки тому
3. Spring Boot | Pagination & Sorting | Implementing Pagination API | Writing code for Pagination
2. Spring Boot | Pagination & Sorting | Introduction to PagingAndSortingRepository | @PratikDandare
Переглядів 3,5 тис.2 роки тому
2. Spring Boot | Pagination & Sorting | Introduction to PagingAndSortingRepository | @PratikDandare
1. Spring Boot | Pagination & Sorting | Introduction | What is pagination ? | Basic project setup
Переглядів 6 тис.2 роки тому
1. Spring Boot | Pagination & Sorting | Introduction | What is pagination ? | Basic project setup
12.Spring Boot | Search Specification | Join Tables Predicates | Criteria API
Переглядів 7 тис.2 роки тому
12.Spring Boot | Search Specification | Join Tables Predicates | Criteria API
11.Spring Boot | Search Specification | Added Between Predicates | Criteria API
Переглядів 2,3 тис.2 роки тому
11.Spring Boot | Search Specification | Added Between Predicates | Criteria API
10.Spring Boot | Search Specification | Added Greater Than and Less Than Criteria | Criteria API
Переглядів 2,2 тис.2 роки тому
10.Spring Boot | Search Specification | Added Greater Than and Less Than Criteria | Criteria API
9. Spring Boot | Search Specification | Added IN Operator | Criteria API | @PratikDandare
Переглядів 2,8 тис.2 роки тому
9. Spring Boot | Search Specification | Added IN Operator | Criteria API | @PratikDandare
8.Spring Boot | Search Specification | Added EQUAL and LIKE Operator | Criteria API
Переглядів 3,4 тис.2 роки тому
8.Spring Boot | Search Specification | Added EQUAL and LIKE Operator | Criteria API
7. Spring Boot | Search Specification I Adding list of criteria using OR operator | Criteria API
Переглядів 3,9 тис.2 роки тому
7. Spring Boot | Search Specification I Adding list of criteria using OR operator | Criteria API
6. Spring Boot | Search Specification I Adding list of criteria using AND operator | Criteria API
Переглядів 6 тис.2 роки тому
6. Spring Boot | Search Specification I Adding list of criteria using AND operator | Criteria API
5. Spring Boot | Search Specification | Create Generic Specifications and testing it using postman
Переглядів 8 тис.2 роки тому
5. Spring Boot | Search Specification | Create Generic Specifications and testing it using postman
4. Spring Boot | Search Specification | Need of specifications | specifications Implementation
Переглядів 11 тис.2 роки тому
4. Spring Boot | Search Specification | Need of specifications | specifications Implementation
Can we read jsonv2 using object mapper?
well done brooo,its nice knowlege about the inventary management software.
Would b great if value is not attached to particular column, if that is possible list of columns against one search input against all input columns in list with like operator... it would b fulltext search..
thanks , it help me a lot
😊
Thanks a lot... perfectly explained and simply mplemented.
😇
Thanks for the video. Was stuck on this, now issue is fixed.
😇
Your name is not pratik you are a chutiya guys please don't watch his vdo
Hi! Thanks for your videos. Could you please tell which plugin for colored code do you use?
I do the exactly same you, but... not working, can you help me view over the source code, sir?
Its a super tutorial series. I would like to connect you for a specific requirement. Let me know how can i connect.
hello man thank u for this tutorial i have a problme changing the name of the node even though i fillowed exactly ur steps if u can interact with me to solve this error i would be grateful thank u in advance
hey, do you have a github link for the code?
Please check the video description
@@PratikDandare thank you
😇
hey looks like this github does not contain code on JPA Specifications@@PratikDandare
github.com/PratikBlog92/youtube/tree/master/filter
Its very simple case ,can you show how to update existing item where we need to delete and then save same item ,bcoz due to constraint not working single save
Awsome
😇
Hello Sir I am trying to build a get request in which one of the required parameter is a enum with two values . So when ever the other try to get data from the , they can send any of the enum values so how do I handle the variable while building the payload like how can I tell , any of the value can be used
Thank you 👍👍
😇
Nicely explained.!
Thank you 😊
Bro I was pulling my hair for 2 days not understanding this concept from spring documentation. Now understood just in few minutes. You are a lifesaver. Please keep doing the great stuff that you already doing.
😇
Thanks for support
Pratik thank you for this resource. You took your time and took care of all the basic things in Spring boot and did justice to every explanation. Thank you.
😇
I have a query. In the subject model you have declared a studentId field which i think is irrelevant and should not be present. Correct me if i am wrong. Considering the db schema it would be wrong to keep the Subject Details with StudentId. It wont be normalized.
Awesome resource here.
Thanks 🙏
Very helpful for me. Thanks a lot.
Glad to hear that
my name is prateek.. all my name channel already exists.. want to make my channel...
Thanks for creating this, this is very helpfull.
Glad it was helpful!😇
France is a city :D
3:16 -> In controller u r doing Post Mapping but it is getting data in db.,howw...??, when i hit in postman error gets like post is not possible....
Could you provide your mail id anna to get any doubts to approach you in spring boot
Hi anna Your teaching excellence
Thank you so much 🙂
Hi. thanks for the tutorial, I have one query, what If in Student class I don't have the address column but I have student column in address Class as oneToOne, now how can I join address column from in Student Specification.
Just send student I'd in address class specification
@@PratikDandare but is there any way to do it from Student class itself. It's kind of Unidirectional join.
Also I was struggling to get distinct object based on single column.
How to start pagination with 1 instead of 0
Just simple math can do In input pass 1 and while creating pageble make it minus one
it's because u declares "usename" in dto instead of "username"
Excelent example, I could do it using opcion nativeQuery=false :) Thanks!
This lecture is pure gold thanks for the lecture It contains everything I needed to learn, thank you so much for this help
I have a different question can we use specification to return us selected fields and not all fields(table columns), if you know please help
I am not sure about it
Check Graphql library
Hi can you check condition if user input wrong column then throw exception invalid, thank you
Try to add condition like List list = Arrays.asList(Object.getclass().getAttributes()); If(!list.contains(column)) Throw RuntimeException This logic will work Just check for syntax error
Thank you for the great tutorials ... in this video you select paginated records based upon ID (the primary key), and then sort. Often users want the entire DB sorted, and then paginated. Could you comment on this? How does one sort an entire DB in a reasonable amount of time, if the DB is large. How does one avoid "missing" existing (not new or deleted) records, when records and be deleted or added to the DB?
If you have a database that is frequently updated, it seems like this method of pagination could "miss a record". For example, if you get records 1-5, then record 3 is deleted, and you get the next set of pages, pages 7-11 would be returned. Is this true?
No..... Check queries generate in console.
no source code
Sir Here Students and location class has been mapped but I need a column value from another class which will have been mapped with location class...how to implement please help me sir
Just completed the playlist. Thanks Pratik Bhai for creating the tutorials.
😇
thanks dear, it's really more useful.
😇
Why don't we need criteria builder for IN OPERATION ?
Can you please explain why do we pass new Predicate [0] to predicates.toArray ?
Please tell ?
This whole playlist is super helpful, thanks a lot ❤
Thanks for compliment 😇
this helped a lot. Thanks Pratik
😇
Thank you so much this video is really helpfull !!
😇
I watched the whole playlist on Search Specification. It was very helpful. Thanks for creating this.
😇
Thanks a lot for this great tutorial
😇
this whole series helps me a lot. Thanks Pratik.
😇
Try spring specification series also
how to use JPA repository to fetch such object ... I am getting exception as -> cannot deserialize instance of java.lang.string out of start_object token
Hi I'm getting null pointer exception for searchRequrst Dto
Debug it, check for getter setter and constructor