No video
Observer Design Pattern in Java
The observer pattern is a software design pattern in which an object, called the subject, maintains a list of its dependents, called observers, and notifies them automatically of any state changes, usually by calling one of their methods.
Design Pattern in Java : • Design Patterns in Jav...
Пікірлер: 177
I can say one thing " ur examples are so Realistic easy 2 understand" keep it up Good work bro n Thank you :)
I discovered this channel a few months ago and I'm legit loving it!
I started following your tutorials in 2017. Now i am a full stack java developer...Thank you a lot
You are making life easier for java developers Love from Pakistan :)
All the playlists were really very good and informative. Thanks, Navin for such wonderful content.
I have watched multiple observer design pattern video, I must say this is the best one and more realistic. Keep it going boss..
Hi Navin, Your videos and way of teaching are quite energetic. Even boring subjects you can explain with full of energy. Keep up the good work bro. Love and prayers from Pakistan !
Your thinking way is very appreciatable.Thanks to show me this way of logic building.
Actually... This is the best video explaining observer pattern I've seen... From yesterday, I've been searching for observer pattern in both python and javascript, didn't find any video that solidified my understanding. I might have watched 5-10 videos (best ones).... I was sceptical at first since this video is in java (I don't know java) but turns out java is not as difficult as its often publicized. I actually understood everything clearly since I know python and JS Naveen's example of KZread was on point!!! If he had not taken youtube example, I think it would have been just another observer pattern video Java is also good!!! I'm liking the way it's written Now I'm gonna create this in JS
Wonderful explanation and the example of the Observer Pattern I have ever seen! You are my favourite Teacher. Thanks.
Thanks Telusko. Your examples are very intuitive and helpful. I am able to learn Observable Design Pattern easily now
Par excellence ! Perfect explained. Perfect example. Especially direct programming in the java. Keep on !
Its really amazing that....this lengthy process is very easy to understand by you Sir😍😍😍😍
Easily able to understanding by giving simple examples with clear explainations. Thanks Naveen.
Quick and nice explanations that's very easy to understand - telusko learnings. From this channel ,I have learnt a lot. Thanks much Navin
Thank you sir. I was looking for visitor pattern video and found this new concept. Thanks a lot
Hello Navin, I have been watching your videos for a while now and I find them very useful. I really wish you could do a live stream some time so that we could interact with you.
Sir, felt great, to be honest. I was struggling with this observer pattern and now it's all a matter of examples - you've made it that easy. And one more thing, with this online studying times, this study feels much more realistic with your appearance. Otherwise, only a study video makes it boring sometimes. Thanks a lot sir.
Great video code along, this really helped me put the theory into practice. Thank you
Hi Navin, I really have to say this. thank you. you surely are changing my life for good. keep up the good work.
Hi naveen, can you also make videos on Java memory management and how to improve performance of java applications.
This is called teaching! Excellent
finaly, with your exemple i understand how to implement the observer pattern. you are the best.
Wow simply explained observer design pattern easily .. thank so
Please continue the series. It would be very much helpful.
Amazing series....can we have more design patterns explained through some more videos under this playlist?
I am impressed. Kudos. Explanation, engagement and I do not believe that you are getting enough props for ur work. If you have been my high school or college teacher ... :( , but thank you and will keep supporting sir :) :D :}
It was awesome to follow all of design pattern videos. Could you cover all the other design patterns as you said we have to know all?
I got very good understanding with ur explanation sir.Thank you!!
well explained🔥Also try to upload the other design patterns as well it will be very useful for us...!!
Every time...learn new from telusko, and waiting for micro services series
@qingsiji1638
3 жыл бұрын
can not agree more,there is nealry no very good lesson for micro services. Waiting for it too. I have watched so many lessons of telusko
@MultiGaurav25
3 жыл бұрын
@@qingsiji1638 check java brains(Kaushik) for microservices
Great content! Thank you so much 👍🏻
Thanks for explaining it in lucid way. Few things I noticed.. Subscriber class .. Channel channel = new Channel (); This is not required... You can remove the RHS part as you are doing in setter method.. Another improvement in KZread class is ... Unsubscribe is called only from subscriber side but not from channel side...
Amazing explanation !
Your example was awesome! Thanks, bro :D
Yeah I always waiting for your video content .... Everytime
Just amazing, a smart way to explain things, Thank u soo much
Thanks a lot 🙏 Expecting more videos like this.
Great Explanation. Good Example.
thank you for this awesome explanation!!!!
Crystal clear, thanks a lot!
Awesome I can use this concept with JavaScript too. Thanks a lot
Thanks Naveen . You have explained it very well.
Thank you Naveen for your awesome videos.
such an easy to understand example! thank you :)
Great explanation thank you so much.
Superb explanation Thank you Sir...
Actually the observer pattern is much more abstract and braod than that. It has to be general. I know that you are trying to make it simple so everyone understands it, but in doing so, you missed the principle of the observer pattern which is to make code flexible and easy to be added to by creating interfaces and classes that implement the interfaces and then under these implementing classes we can have as many subscribers and channels as we want. The way you did it is just normal java code with no design pattern.
@shivakumar-kh3yp
5 жыл бұрын
Absolutely true
@backclover9651
2 ай бұрын
yes brother I thought the same thing
Very understandable way , thankyou telusko
U rocks always... Student of telusko...
Great work sir...pls make a design pattern series
Your explanation is not academic. It's easy to understand! Thank you I'm just seeing your register numbers are 999K. Wow, congratulations! Hope you reach 1M subcribers point!!
Brilliant analogy !!!
Thank you so much Telusko
Just mind blowing sir!
thank you very much very simple and easy to understand
you have great explanation skills :D
thank you so much sir. very clear explanation.
Simply super😍🤟Thanks..
Just a random question, I have lot of nested if else statement in my project, how to avoid using nested if else?
I purchased a GFG course about System Design but that is not at all good but this video cleared my doubts.
Good Explanation..Thank you
Thank u a mil for this amzing video wow
good explanation. so clear now. small doubt: during unsubscribing, only subscriber is removed from the list of subs in the channel object but not the channel field from the subscriber object. forgot ?
Amazing explanation
Since you are making videos of Design Patterns, can you provide explanations of the various patterns using functional style?
Awesome sir... 🙂
Hey naveen, is it the same while implementing the code logic for suscriber notification for such a big platform like youtube or some db coding and logics are also required?
Superb explanation
Can you please make more python videos, some suggestions can be algorithms and ai, games using pygame, ethical hacking, data analysis and data visualization.
Thank you very much
Thanks!
It was nice dear sir.
V good clear video
Please continue this series...
Still helpful after 4 years❤
Hey Telusko, thank you very much for your great videos! I got a simple question, are these patterns static in it's architecture or is it allowed, to change it for special use-cases? I rewrote this pattern by myself just to internalize the idea behind it, but called the method unregisterSubscriber and registerSubscriber from the class channel in the method unSubscribe and subscribe from Subscriber every time a subscription or unsubsctiption from a Subscriber takes place, so that the channel doesn't have to call the method explicitly and only gets informed about the new subscription or unsubscriptions. Also, evey time a new video is being uploaded, I don't call the update-method from subscribers, but send an update method from the channel class to all subscribers. Would that still count as observerpattern or is it strictly required that both sides have to register each other and the update method is in the class of those, who get informed? Keep up the good work, love it!
Actually very nice example.....
@Telusko @Navin which software do you use to create video. Presentation and you video in it
Well explained. Just one potential correction - upload() is storing video title to channel title.
Thank you brother
Respect, naveen.
Sir, u r genius !
great boss!
you are awesome (Y) Keep up the good work (Y)
Thank you sir
It's very realistic example. This is more than enough to understand the pattern. Good Convey....
Is this solution not susceptible to concurrent modification exception if there are additions and removal all at once in subscriber list assuming the subscribe and unsubscribe events would happen independently in separate threads in real world
Hi, I have been working with TCP Socket, I want to know how can we observe data from socket and pass it to view (web page/jsp) in (Java Spring boot). Like a Real time data, to show Stock Market stats, with using any timer. Can you please help me with this issue. Thanks
U just earned a subscriber.
In 11:42 kindly elaborate why perform s1.subscribeToChannel(telusko); I tried without it then video title got null . Thank you .
Hey Naveen, I often get confused on how come Subscriber (Observer) get the update() method. And that method contains the "video uploaded" message. I think managing that message should be responsibility of channel (Subject)
Hi sir, Is there any future for vaadin framework???
Hi Naveen, Kindly make video recordings for all 23 design patterns, hope we have few recordings already and kindly help us with the missed ones.
Thanks, example is matching to observer pattern
Awesome!!!
Nice example
Hi Navin, Can you please upload more design pattern video, If possible can you please give any existing example which Java is used internally.
W'll inform everyone..hahaha...best explanation ever
very nice sir