Тёмный

Core Java With OCJP/SCJP: Serialization Part- 6||Externalization 

Durga Software Solutions
Подписаться 831 тыс.
Просмотров 51 тыс.
50% 1

java
Basic Java Tutorial for beginners
Basic Java Programming for beginners
Core Java By Durga Sir
Core Java
Core Java Video Tutorials
Core Java Tutorial for beginners with examples
Core Java Tutorial
Core Java DURGASOFT
Durgasoft Core Java
Durgasoft Java
durga software solutions core java videos
durga software solutions java
How to learn java
How to learn java programming language for beginners
learn java
learn java programming for beginners
programming in java
understanding java
java application development tutorial
java beginner tutorial
java basics for beginners
java for beginners
java lessons
java lectures
java language tutorial for beginners
java programming tutorial
java programming for beginners
java tutorial for beginners
java tutorial
java tutorial by durga sir
====================================
Java tutorial by durga sir
goo.gl/XWb4RL
Java 9 by durga sir
goo.gl/hXGyBW
Java 1.8 Version New Features by Durga sir
goo.gl/iHXXYU
Adv Java JDBC Tutorial by Durga sir
goo.gl/8q16Eo
OCJA 1.8 Java SE 8 Programmer - I (1Z0 - 808 ) By Durga sir
goo.gl/gC6R7f
Core Java by NagoorBabu sir
goo.gl/s6Nvj1
Advenced Java by Nagoorbabu sir
goo.gl/ZZonzJ
CoreJava by Ratan
goo.gl/3VM19v
Advanced Java jdbc by Ratan
goo.gl/Rn2UXr
Advjava tutorials - JSP by Ratan
goo.gl/Z6ytxm
Adv java servlets tutorial by ratan
goo.gl/zTwi9y
Servlet and JSP Tutorial by anji reddy
goo.gl/jZMRUv
Advanced Java Jdbc by Anjireddy
goo.gl/16CGzX
Hibernate byAnjireddy
goo.gl/qQojvZ
Struts by Anjireddy
goo.gl/nE1Eof
Spring by Mr.AnjiReddy
goo.gl/NfN14R
ADV JAVA by Naveen
goo.gl/bhSsXF
Spring by Mr.Naveen
goo.gl/huVwFN
Hibernate by Mr. Naveen
goo.gl/TY3Wpd
Struts by Mr.Naveen
goo.gl/Vkmiw7

Опубликовано:

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 42   
@ranveervaghela7030
@ranveervaghela7030 4 дня назад
Completed watching on Sept 28, 2024 at 2.41 AM :) :)
@ranveervaghela7030
@ranveervaghela7030 4 дня назад
Completed watching on Sept 28, 2024 at 2.41 AM :) :)
@ranveervaghela7030
@ranveervaghela7030 4 дня назад
Completed watching on Sept 28, 2024 at 2.41 AM :) :)
@YASHkumar-qb3gm
@YASHkumar-qb3gm 4 дня назад
@@ranveervaghela7030 🥂
@-AjayChauhan
@-AjayChauhan 5 месяцев назад
Day 47 of #75daysofcode in Java 18 April, 2024 Completed this video
@eadunuripranay5977
@eadunuripranay5977 4 года назад
Hello sir, anyhow we have customized serialization already there for customizing the object for serialization and y we go for Externalization? i have gone through the comments but none cud actually satisfy my expected answer. So anyone can now please..... So let me tell that in customized serialization we write, private void writeObject(ObjectOutputStream oos) throws Exception { // oos.defaultWriteObject(); ---->1 here JVM is saving the state of an object to file...... /* String encryptPassword="123"+password; oos.writeObject(encryptPassword); int encryptPin=5555+pin; oos.writeInt(encryptPin); */ oos.writeObject(password); // ---->3 here we are only writing the variables to the file instead of JVM. oos.writeInt(encryptPin); //---->4 } private void readObject(ObjectInputStream ois) throws Exception { // ois.defaultReadObject(); ----->2 /* String encryptPassword=(String)ois.readObject(); password=encryptPassword.substring(3); int encryptPin=ois.readInt(); pin=encryptPin-5555; */ password=(String)ois.readObject(); //--->5 pin=ois.readInt(); //---->6 } So, here wt i do is i comment line 1 & 2, so now serialization n deserialization won't happen ryt (total object won't get saved now instead i'm saving the variables i wish i want to )and now instead of manipulating changes for password and pin, i directly write them to the file as shown in line 3 & 4 and read them back as shown in line 5 & 6. Hence i get the o/p same as Externalization concept. So please anyone clarify!!!
@hindutvaaaa85
@hindutvaaaa85 5 месяцев назад
very helpful. you r the best teacher... 😍
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 месяцев назад
Hello Hindu. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@santoshkumarkar39
@santoshkumarkar39 3 года назад
One file is there in weblogic and the file name is serializationSystemIni.data file, which store the data in way of serialization manner, that is the matter why the file name so called SerializationSystemIni.data file, kindly suggest me about your view...
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 года назад
Hello Santosh. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@rishibharadwaj68
@rishibharadwaj68 3 года назад
One important question sir. We used the method "writeObject(ObjectOutputStream)" for customized serialization. If we do not call the 'defaultWriteObject()' under writeObject() method in the Serializable class, does it behave similar to the Externizable method : writeExternal(ObjectOutput)?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 года назад
Hello Rishi. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@EngineerVaibhav
@EngineerVaibhav 11 месяцев назад
130 video completed ❤🎉🎉
@akshaynagawade2644
@akshaynagawade2644 5 лет назад
Sir in case od Externalizable, How to get the original value of j in given program?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 лет назад
Hello Akshay. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@srikanthracharla420
@srikanthracharla420 4 года назад
then you have to add that variable in writeExternal() method and readExternal() method
@satish634
@satish634 2 года назад
Hi Sir, I am your old student. as per my knowledge if we don't want to join the variable as part of the serialization process then we can define a variable as transient in this case externalization is not required
@mdafzal23
@mdafzal23 11 месяцев назад
yes we can but what if an object has many members like 200. then it is not efficient to make transient every variable except target variable. Here Externalization comes into picture...😊
@राजनगोंगल
@राजनगोंगल 8 месяцев назад
👍👍👍👍👍👍
@jyotirath8018
@jyotirath8018 2 года назад
11:26 17 :27 22:37 23:00 32:49
@KingXpro
@KingXpro 5 месяцев назад
unbeatable Teacher Ever I found.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 месяцев назад
Hello Friend. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@nn-tn7ih
@nn-tn7ih 3 года назад
sir here you took constructor to initilize values instead of initilizing as instance variable. i checked both ways and found that initilizing as instance variable does not work.. cant understand why?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 года назад
Hello Rajesh. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@akhilareddy4860
@akhilareddy4860 2 года назад
that's because during de-serialization JVM will create new object using no-arg constructor which leads to instance control flow execution that is all the instance variables will be identified and assigned values.
@neerajmalhotra8277
@neerajmalhotra8277 7 лет назад
sir can u tell difference btw serializable.writeObject() vs Externalizable.writeExternal() both can be used for custom serialization. then when to use Externalisation's writeExternal() and why?
@johncenakiwi
@johncenakiwi 6 лет назад
good question
@half_demon1466
@half_demon1466 5 лет назад
I think serialization is kind of custom serialization.Only difference is of JVM and programmer role.
@ahappysoularoma2127
@ahappysoularoma2127 Год назад
Externalization gets only some part of object whereas serialization gets entire object
@sandy73737373
@sandy73737373 5 лет назад
Sir amazing videos with rich content. I have one doubt, In Externalization can we send sensitive information like Passwords ? If that is not required, how do the person at the other end can know it ? thank you in advance
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 лет назад
Hello Sandeep. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627,7207212427/28
@half_demon1466
@half_demon1466 5 лет назад
HI sandeep, your question seems to be incomplete.If in externalization we don not wantto send any information then we should not write it in first place.
@tite3041
@tite3041 4 года назад
Nice video sir
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 года назад
Hello Friend. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@sateeshbabu5792
@sateeshbabu5792 7 лет назад
Super sir, thank u
@MsMKKR
@MsMKKR 5 лет назад
Hello, can any one let me know the answer to this question. Anyway we have customized serialization already there for customizing the object for serialization. why we go for Externalization?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 лет назад
Hello Kiran. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@deepakpatre4874
@deepakpatre4874 5 лет назад
In customized Serialization, In addition of saving total object we have to perform some extra work like preparing encrypted password and then save it into the file. Unnecessary it's takes more time if we are saving more number of sensitive or other data. But in case Of Externalization we can store only those data that we want.
@deepakpatre4874
@deepakpatre4874 5 лет назад
Anyway in customized Serialization we have to do some extra work which is not good b'z in IT industry "time is the only thing that is more important" than other stuff. I hope this is helpful for you. If have any query regarding this answer please ask. Thank You for your question.
@MsMKKR
@MsMKKR 5 лет назад
@@deepakpatre4874 thank you Deepak
@kachamnikhil4868
@kachamnikhil4868 4 года назад
Doubt adugutee contact our team antarenti sir
Далее
Core Java With OCJP/SCJP:ENUM  Part- 1|| Introduction
1:01:28
DAXSHAT!!! Avaz Oxun sahnada yeg'lab yubordi
10:46
Просмотров 515 тыс.