![CodeWithNaval](/img/default-banner.jpg)
- 136
- 134 083
CodeWithNaval
India
Registrace 8. 05. 2021
Hello Friends, I will upload every day new video, this place is good for learn programming. if you like my video then please like ,Share And Subscribe my channel Thank You.
Map synchronized Examples | 2022 | Java Part -97
CZcams Channel
- czcams.com/users/CodeWithNaval
Hi
I am Navalchand Rajupt . Welcome to our CZcams channel CodeWithNaval.
➤𝗧𝗢𝗣𝗜𝗖𝗦 𝗖𝗢𝗩𝗘𝗥𝗘𝗗
________________________________________________________________________
Map synchronized ( thread safe )
In map Have- 3 synchronized classes
1. Hashtable apply lock at method level.
2. SynchronizedMap apply lock at Object level.
3. ConcurrentHashMap apply lock at block level, or apply lock bucket level.
don’t allow any null key or value.
______________________________________________
👉𝐅𝗢𝗟𝗟𝗢𝗪 𝗠𝗘 𝗢𝗡 𝗜𝗡𝗦𝗧𝗔𝗚𝗥𝗔𝗠:
codewithnaval?hl=en
______________________________________________________
➤𝐉𝐚𝐯𝐚 𝐅𝐫𝐞𝐞 𝐂𝐨𝐮𝐫𝐬𝐞 𝐀𝐥𝐥 𝐕𝐢𝐝𝐞𝐨𝐬
1. 𝑾𝒉𝒂𝒕 𝒘𝒆 𝒍𝒆𝒂𝒓𝒏 𝒊𝒏 𝒕𝒉𝒊𝒔 𝑱𝒂𝒗𝒂 𝑪𝒐𝒖𝒓𝒔𝒆. :-
___________
➤𝐇𝐚𝐬𝐡𝐭𝐚𝐠
#codewithnaval #java #javafreecourse #naval #programmingcourse #javaplaylist #javainstall
#javabycodewithnaval #javabycodewithnavalpart #javatutorial #corejavatutorial
______________________________________________________
____________________
➤𝗖𝗛𝗔𝗡𝗡𝗘𝗟 𝗧𝗔𝗚𝗦
►codewithnaval
►codebynaval
►codder
►naval
____________________
➤𝗔𝗕𝗢𝗨𝗧
Please Subscribe & Press The Bell Icon To Get Updates On Upcoming Videos. Here You Will Learn Programming Language, Interview Preparation, Challenging Task and many more
____________________
➤𝐂𝐨𝐧𝐭𝐚𝐜𝐭 𝐔𝐬-
navalchandrajput85@gmail.com
➤𝗧𝗵𝗮𝗻𝗸𝘀 𝗙𝗼𝗿 𝗪𝗮𝘁𝗰𝗵𝗶𝗻𝗴😊
- czcams.com/users/CodeWithNaval
Hi
I am Navalchand Rajupt . Welcome to our CZcams channel CodeWithNaval.
➤𝗧𝗢𝗣𝗜𝗖𝗦 𝗖𝗢𝗩𝗘𝗥𝗘𝗗
________________________________________________________________________
Map synchronized ( thread safe )
In map Have- 3 synchronized classes
1. Hashtable apply lock at method level.
2. SynchronizedMap apply lock at Object level.
3. ConcurrentHashMap apply lock at block level, or apply lock bucket level.
don’t allow any null key or value.
______________________________________________
👉𝐅𝗢𝗟𝗟𝗢𝗪 𝗠𝗘 𝗢𝗡 𝗜𝗡𝗦𝗧𝗔𝗚𝗥𝗔𝗠:
codewithnaval?hl=en
______________________________________________________
➤𝐉𝐚𝐯𝐚 𝐅𝐫𝐞𝐞 𝐂𝐨𝐮𝐫𝐬𝐞 𝐀𝐥𝐥 𝐕𝐢𝐝𝐞𝐨𝐬
1. 𝑾𝒉𝒂𝒕 𝒘𝒆 𝒍𝒆𝒂𝒓𝒏 𝒊𝒏 𝒕𝒉𝒊𝒔 𝑱𝒂𝒗𝒂 𝑪𝒐𝒖𝒓𝒔𝒆. :-
___________
➤𝐇𝐚𝐬𝐡𝐭𝐚𝐠
#codewithnaval #java #javafreecourse #naval #programmingcourse #javaplaylist #javainstall
#javabycodewithnaval #javabycodewithnavalpart #javatutorial #corejavatutorial
______________________________________________________
____________________
➤𝗖𝗛𝗔𝗡𝗡𝗘𝗟 𝗧𝗔𝗚𝗦
►codewithnaval
►codebynaval
►codder
►naval
____________________
➤𝗔𝗕𝗢𝗨𝗧
Please Subscribe & Press The Bell Icon To Get Updates On Upcoming Videos. Here You Will Learn Programming Language, Interview Preparation, Challenging Task and many more
____________________
➤𝐂𝐨𝐧𝐭𝐚𝐜𝐭 𝐔𝐬-
navalchandrajput85@gmail.com
➤𝗧𝗵𝗮𝗻𝗸𝘀 𝗙𝗼𝗿 𝗪𝗮𝘁𝗰𝗵𝗶𝗻𝗴😊
zhlédnutí: 178
Video
TreeMap Examples | 2022 | Java Part -96
zhlédnutí 147Před 2 lety
CZcams Channel - czcams.com/users/CodeWithNaval Hi I am Navalchand Rajupt . Welcome to our CZcams channel CodeWithNaval. ➤𝗧𝗢𝗣𝗜𝗖𝗦 𝗖𝗢𝗩𝗘𝗥𝗘 3. TreeMap 1.4v TreeMap is the implementation class of NavigableMap. It maintains ascending order. Key Must be homogenous But Value can homogenous or heterogeneous TreeMap Provide by default naturel key sorting order( ascending order) Ex:- TreeMap sh =new TreeMa...
WeakHashMap Examples | 2022 | Java Part -95
zhlédnutí 793Před 2 lety
CZcams Channel - czcams.com/users/CodeWithNaval Hi I am Navalchand Rajupt . Welcome to our CZcams channel CodeWithNaval. ➤𝗧𝗢𝗣𝗜𝗖𝗦 𝗖𝗢𝗩𝗘𝗥𝗘 3. WeakHashMap 1.2v WeakHashMap is implementation class of MAP interface. If key no longer use then it remove that entry automatically by GC. - It Can hold one null key same like HashMap - this one is same like HashMap except week key reference. 👉𝐅𝗢𝗟𝗟𝗢𝗪 𝗠𝗘 𝗢𝗡 𝗜𝗡...
LinkedHashMap Examples | 2022 | Java Part -94
zhlédnutí 299Před 2 lety
CZcams Channel - czcams.com/users/CodeWithNaval Hi I am Navalchand Rajupt . Welcome to our CZcams channel CodeWithNaval. ➤𝗧𝗢𝗣𝗜𝗖𝗦 𝗖𝗢𝗩𝗘𝗥𝗘 2. LinkedHashMap 1.4v LinkedHashMap is child class of HashMap. It follow insertion order. This is same like HashMap only change hear it follow insertion order. it Can Hold Key And Value Heterogeneous Element. Ex:- LinkedHashMap sh =new LinkedHashMap(); sh.put(1,...
Map Interface And HashMap Examples | 2022 | Java Part -93
zhlédnutí 93Před 2 lety
CZcams Channel - czcams.com/users/CodeWithNaval Hi I am Navalchand Rajupt . Welcome to our CZcams channel CodeWithNaval. ➤𝗧𝗢𝗣𝗜𝗖𝗦 𝗖𝗢𝗩𝗘𝗥𝗘 Map interface Map Interface is not child interface of collection. A map contains values on the basis of key, i.e. key and value pair. Each key and value pair is known as an entry. A Map contains unique keys and it can content duplicate value. Map allow one null ...
Utility Classes in Collection Examples | 2022 | Java Part -92
zhlédnutí 389Před 2 lety
CZcams Channel - czcams.com/users/CodeWithNaval Hi I am Navalchand Rajupt . Welcome to our CZcams channel CodeWithNaval. ➤𝗧𝗢𝗣𝗜𝗖𝗦 𝗖𝗢𝗩𝗘𝗥𝗘 Utility Classes in Collection:- Utility Classes Like helper Classes it help to perform common operation. Collection Framework have two utility Classes. 1.Arrays Class: - Arrays Class provide common method() for Array Arrays Class work for array but it’s part of ...
Collection Comparable VS Comparator Interface Examples | 2022 | Java Part -91
zhlédnutí 120Před 2 lety
CZcams Channel - czcams.com/users/CodeWithNaval Hi I am Navalchand Rajupt . Welcome to our CZcams channel CodeWithNaval. ➤𝗧𝗢𝗣𝗜𝗖𝗦 𝗖𝗢𝗩𝗘𝗥𝗘 Comparator Interface:- We can use comparator for to define customize sorting order. Comparator Interface present in java.util package. Inside comparator interface have two method. compare(Object obj1, Object obj2) equal() - when ever we implement comparator inte...
Collection SortedSet Interface Examples | 2022 | Java Part -90
zhlédnutí 185Před 2 lety
CZcams Channel - czcams.com/users/CodeWithNaval Hi I am Navalchand Rajupt . Welcome to our CZcams channel CodeWithNaval. ➤𝗧𝗢𝗣𝗜𝗖𝗦 𝗖𝗢𝗩𝗘𝗥𝗘 3.SortedSet (I):- - it is child interface of set. - if we want to represent group of individual object according to some sorting order and duplicate are not allowed then we should go with SortedSet. Methods() Object first() -return first object. Object last() - ...
Collection LinkedHashSet Interface Examples | 2022 | Java Part -89
zhlédnutí 30Před 2 lety
CZcams Channel - czcams.com/users/CodeWithNaval Hi I am Navalchand Rajupt . Welcome to our CZcams channel CodeWithNaval. ➤𝗧𝗢𝗣𝗜𝗖𝗦 𝗖𝗢𝗩𝗘𝗥𝗘 2.LinkedHashSet :- LinkedHashSet is child class of HashSet. LinkedHashSet introduce in 1.4 version. It Can’t hold duplicate value. LinkedHashSet Follow Insertion Order. In which order we stored only that order we get element. LinkedHashSet is good for insert or ...
Collection Set Interface Examples | 2022 | Java Part -88
zhlédnutí 18Před 2 lety
CZcams Channel - czcams.com/users/CodeWithNaval Hi I am Navalchand Rajupt . Welcome to our CZcams channel CodeWithNaval. ➤𝗧𝗢𝗣𝗜𝗖𝗦 𝗖𝗢𝗩𝗘𝗥𝗘 Set Interface:- 1.HashSet :- - Duplicate are not allowed, if we try to insert duplicate we don’t get any error just add method return false and that element not added in HastSet. HashSet don’t follow insertion order here element stored base on hash-code of Objec...
Collection Queue Interface Examples | 2022 | Java Part -87
zhlédnutí 38Před 2 lety
CZcams Channel - czcams.com/users/CodeWithNaval Hi I am Navalchand Rajupt . Welcome to our CZcams channel CodeWithNaval. ➤𝗧𝗢𝗣𝗜𝗖𝗦 𝗖𝗢𝗩𝗘𝗥𝗘 Queue Interface:- Queue Interface Is child interface of Collection it introduce in java 1.5 -Queue interface order elements in FIFO(First In First Out) manner. In FIFO, first element get first and last element get last. Ex:- in queue first person get first chanc...
Collection Cursors Examples | 2022 | Java Part -86
zhlédnutí 83Před 2 lety
CZcams Channel - czcams.com/users/CodeWithNaval Hi I am Navalchand Rajupt . Welcome to our CZcams channel CodeWithNaval. ➤𝗧𝗢𝗣𝗜𝗖𝗦 𝗖𝗢𝗩𝗘𝗥𝗘 Cursors in java:- If we want to retrieve object one by one from Collection then we can use cursors. In java three cursors available. 1. Enumerations. 2. Iterator. 3. ListIterator. 1.Enumerations:- this introduce in java 1.0v use only for Legacy classes. We can u...
Collection Stack Examples | 2022 | Java Part -85
zhlédnutí 18Před 2 lety
CZcams Channel - czcams.com/users/CodeWithNaval Hi I am Navalchand Rajupt . Welcome to our CZcams channel CodeWithNaval. ➤𝗧𝗢𝗣𝗜𝗖𝗦 𝗖𝗢𝗩𝗘𝗥𝗘 Stack:- Stack Is child class of Vector. The stack is a linear data structure that is used to store the collection of objects. It is based on Last-In-First-Out (LIFO). - stack provide Push, Pop method for manipulation. Stack is legacy class it introduce in java 1...
Collection Vector Examples | 2022 | Java Part -84
zhlédnutí 49Před 2 lety
CZcams Channel - czcams.com/users/CodeWithNaval Hi I am Navalchand Rajupt . Welcome to our CZcams channel CodeWithNaval. ➤𝗧𝗢𝗣𝗜𝗖𝗦 𝗖𝗢𝗩𝗘𝗥𝗘 3. Vector:- - Vector is similar to ArrayList, it also uses a dynamic array to store the data elements. - Vector is synchronized (Thread Safe) - Vector have so many method those not present inside collection. Because vector introduce before collection - vector cl...
Collection LinkedList Examples | 2022 | Java Part -83
zhlédnutí 42Před 2 lety
CZcams Channel - czcams.com/users/CodeWithNaval Hi I am Navalchand Rajupt . Welcome to our CZcams channel CodeWithNaval. ➤𝗧𝗢𝗣𝗜𝗖𝗦 𝗖𝗢𝗩𝗘𝗥𝗘 . LinkedList :- - LinkedList is implement the List Interface. Internally it’s use double linked list to store the elements. - it can store duplicate value. - it’s follow insertion order. - this one is also not-synchronized same like ArrayList. - for manipulation...
Collection List Interface Examples | 2022 | Java Part -82
zhlédnutí 43Před 2 lety
Collection List Interface Examples | 2022 | Java Part -82
Iterable and Collection Examples | 2022 | Java Part -81
zhlédnutí 81Před 2 lety
Iterable and Collection Examples | 2022 | Java Part -81
Collections Generics Examples | 2022 | Java Part -80
zhlédnutí 47Před 2 lety
Collections Generics Examples | 2022 | Java Part -80
Collection Framework Overview | 2022 | Java Part -79
zhlédnutí 44Před 2 lety
Collection Framework Overview | 2022 | Java Part -79
Introduction Framework | 2022 | Java Part -78
zhlédnutí 34Před 2 lety
Introduction Framework | 2022 | Java Part -78
Java StringTokenizer Class Examples | 2022 | Java Part -77
zhlédnutí 483Před 2 lety
Java StringTokenizer Class Examples | 2022 | Java Part -77
Java StringBuilder Class Examples | 2022 | Java Part -76
zhlédnutí 55Před 2 lety
Java StringBuilder Class Examples | 2022 | Java Part -76
Java StringBuffer Examples | 2022 | Java Part -75
zhlédnutí 47Před 2 lety
Java StringBuffer Examples | 2022 | Java Part -75
Java String Classes Examples | 2022 | Java Part -74
zhlédnutí 30Před 2 lety
Java String Classes Examples | 2022 | Java Part -74
Java Wrapper Classes Examples | 2022 | Java Part -73
zhlédnutí 35Před 2 lety
Java Wrapper Classes Examples | 2022 | Java Part -73
Java wait() VS sleep() Methods Examples | 2022 | Java Part -72
zhlédnutí 111Před 2 lety
Java wait() VS sleep() Methods Examples | 2022 | Java Part -72
Inter-Thread Communication Examples | 2022 | Java Part -71
zhlédnutí 96Před 2 lety
Inter-Thread Communication Examples | 2022 | Java Part -71
Thread Deadlock Examples | 2022 | Java Part -70
zhlédnutí 164Před 2 lety
Thread Deadlock Examples | 2022 | Java Part -70
Java Synchronization Examples | 2022 | Java Part -69
zhlédnutí 37Před 2 lety
Java Synchronization Examples | 2022 | Java Part -69
Daemon Thread Examples | 2022 | Java Part -68
zhlédnutí 423Před 2 lety
Daemon Thread Examples | 2022 | Java Part -68
It's not getting added for me, any eclipse version works for it?
which java version you used in this project?
it worked ! very helpfull
❤❤
It worked thank you so much
It worked. Thank you very much!!
It is saying Access Denied !
sdfs
what about duplicate value ?
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html> <html> <head> <meta charset="ISO-8859-1"> <%@include file="./base.jsp"%> </head> <body> <div class="container mt-3"> <h1>Edit Employee Form</h1> <form action="updateEmployee" method="post"> <div class="row"> <div class="col"> <div class="form-group"> <label for="id">Id</label> <input type="text" value="${employee.id}" class="form-control" id="id" name="id" readonly="readonly"> </div> </div> </div> <div class="row"> <div class="col"> <div class="form-group"> <label for="name">Name</label> <input type="text" value="${employee.name }" class="form-control" id="name" name="name" placeholder="Enter Name"> </div> </div> <div class="col"> <div class="form-group"> <label for="designation">Designation</label> <input type="text" value="${employee.designation }" class="form-control" id="designation" name="designation" placeholder="Enter Designation"> </div> </div> </div> <div class="row"> <div class="col"> <div class="form-group"> <label for="department">Department</label> <input type="text" class="form-control" id="department" value="${employee.department }" name="department" placeholder="Enter department"> </div> </div> <div class="col"> <div class="form-group"> <label for="salary">Salary</label> <input type="number" value="${employee.salary }" class="form-control" id="salary" name="salary" placeholder="Enter Salary"> </div> </div> </div> <div class="row"> <div class="col"> <div class="form-group"> <label for="address">Address</label> <textarea class="form-control" id="address" name="address" rows="5" placeholder="Enter Address"> ${employee.address } </textarea> </div> </div> </div> <button type="submit" class="btn btn-primary">Submit</button> </form> </div> </body> </html>
Man you are the best 👍🏻…i was actually trying to do update for past 4 hours …wish i would have seen this video at the start only …also Are you maharashtrian?
thanks
it's working, thank you so much, sir!!!
Its working. Thank you so much
soap or rest?
Why I get unknown enitiy exception when deleting object
Thank you so much bayya... ❤❤
Thank you
czcams.com/video/wtr_Vy9gAU0/video.html
I watched your previous videos and It is easy to understand. Can I connect with you on Linkedlin ? Please share your Linkedin profile ...?
If we installed jar by cmd, do we need to mention in pom also?
Well explained man...Very helpful
thanks for making the best video ☺🙏
Its Working, Thank you so much.
I have done this same program but while doing post mapping ,only employee entity alone posting ,other profile, department,task are not posting @CodeWithNaval
Thankyou
I was struggling from two days, now i solved it. Thanks man
Jar added to class path, plugin not added in STS..is it required?? Bc getting setterName not resolved
How to do the same project in an oracle database?
TYSM☺
why first line we have to write super or this keyword any one only
@20:24 thank you bro, i got stuck in these why reference entity is null.
In table employee is not created why
User defined objects sorting is preferable bro
Ur the only one guy i found after 15+ videos who explained inner details and how swappping works, Great my brother
Thanks a lot.... This session understood very well. Once again a big thanks Sir.
You are only saying the steps but not explaning why u r using it..
I had to change the data source url in spring-servlet.xml to get it to work. It was making me very frustrated. I kept getting a stupid sslhandshakeexception. Anyway this is the line, I had to change it to this. <property name="url" value="jdbc:mysql://localhost:3306/newspringmvccrud?enabledTLSProtocols=TLSv1.2" /> I had to add that enabledTLSProtocols crap at the end to get the bloody thing to run. I think it's because of some crap they messed up in a newer version of MySQL or Java. All it does is make doing basic things more difficult for people. They keep adding useless crap and rules to make it more difficult for people. If anyone could fill me in on why I have to add this crap in order to connect to the database using Spring it would be nice to know.
This is what I have been looking for in a longtime. Thanks bro keep it up. If ur skype please share id, might need some help.
tq bro
Finally I have completed this playlist and got a huge knowledge which I never get before ✨❤️, One month back I started learning springboot, i searched a lot in this platform but no one said like you in my opinion 🤩🤩, Im requesting you to please do more videos on springboot ❤️✨
Brother ❤️❤️
A Great Lecture from a Great Lecturer 😌😌
Sir please do it spring mvc by using crud repository with xml configuration sir
Thank you so much, Sir. Can you please explain the difference between a constructor and a method, Sir?
hindi me video banao or real life ka example dete hue like code with harry . fir dekho kaise aapka channel grow hota h
aabe tu to khud hi copy pest kar ke kar rahahe ….. aur comments me dont copy pest kun bol rahahe be …… west 28 minutes… please delete this video , dont west time of other people…… chhomu kahinka
Nice video , it helps me alot
Hai bro , will you install your project in my pc,
Thank youu