After watching this video i have implement this in 2 big projects. Thanks you very much for this video.
@tareksahalia2 жыл бұрын
First Thank you so much for your great video. Second, I think this is nothing but polymorphism, you don't need to filter or match on anything, the JVM will understand what method it will execute based on the type of the POJO. Rule engines are mostly created to ensure the flexibility of rules regardless of the object types. in other words, adding more rules should be decoupled from the core code. Thank you.
@samuelvishesh6 жыл бұрын
Awesome content, a intro to Drool and Spring Statemachine would be cool
@leelaprasadjagu31776 жыл бұрын
If possible can you please make a video on how frameworks will scan all the annotations that exist in the application at runtime(dynamically) in a cleaner way. I want to whether they will cache this annotation metadata or they will scan entire application on demand
@tjk65505 жыл бұрын
Just a thought.. iPhoneRule and AndroidPhoneRule naming would have been less confusing as they're implementing RuleI
@quenar2 жыл бұрын
It would be nice to get the update for that
@quenar2 жыл бұрын
but does it comply with SOLID principles?
@esakkisundar3 жыл бұрын
Could you present a video on Clara Rule engine
@koushik12585 жыл бұрын
Is it same as factory or statergy design pattern but just skiping if else part?
@maxsjohn5 жыл бұрын
What is the significance of process() API why is it used? Can we create a new Instance and pass?
@moustafa60064 жыл бұрын
What if instead of changing just one property in the rule we need to change doZens of properties? Should we implement a rule engine in each rule of the main rule engine?
@anupraj7626 жыл бұрын
Good explanation .. if I have 200 rules , 200 interface and implementation ? Can you share your thoughts to overcome from this please please please?
@Makarand766 жыл бұрын
If you have 200 rules, create a singleton of implementation and load it as Map with Key as rule name and value as implementation object. Based on the rule to be used at runtime, you can load the rule from Map. This is in-memory storage but you need rules across multiple servers then one can go for external cache e.g. Redis. Does it answer your question?
@anupraj7626 жыл бұрын
Makarand Parab thank you very much sir . Appreciated .
@konstantinthekonstantin4 жыл бұрын
@@Makarand76 Hello! Could you please provide a simple example of this? I would be extremely appreciated .
@Makarand764 жыл бұрын
@@konstantinthekonstantin example is use hashmaps Rule 1 key = addition and value is addition object which implements rules interface and has method calculate. This rules does the addition Rule 2 key = multiply and value is multiply object which implements rules interface and has method calculate. This rules does the multiplication. You can use runtime polymorphism to get the object using interface as reference
@konstantinthekonstantin4 жыл бұрын
@@Makarand76 Thanks a lot!
@AkilaUdarakasthuriarachchi4 жыл бұрын
Hi can you do a session about Drools with Spring Boot
@AJ-or5om6 жыл бұрын
Good job, can you create a rate engine example?
@AJ-or5om6 жыл бұрын
And whats the best design patterns to use with rule engine?
@johnplayerks6 жыл бұрын
Nice, thanks!
@aruna5425 жыл бұрын
Llooking for Rules engine with configurable way which is supports a spring boot way.
@mgundawar4 жыл бұрын
Great video and explanation. Is there a way to externalize the rules? (declarative way) so that no coding/compiling/deployment would be needed to add new rule. (rule can come from config/csv etc..like Drool) Any suggestions? I am wondering if to go for Drool or use Java Generics
@Itsarpitgupta6 жыл бұрын
very good explanation..
@ashishpatel97275 жыл бұрын
Good video !!
@avdheshrajput24706 жыл бұрын
Hi, have you stopped designing architecture for any app.. You have deleted paytm design app also