12.4 Serialization of Java Object in XML using XMLEncoder Tutorial

preview_player
Показать описание
Saving the state of an object in a file is known as serialization. Rather than serializing Java objects to binary format we can serialize them to XML documents which is human readable.

Check out our courses:

Coupon: TELUSKO10 (10% Discount)

Coupon: TELUSKO10 (10% Discount)

Coupon: TELUSKO20 (20% Discount)

Udemy Courses:

For More Queries WhatsApp or Call on : +919008963671

Subscribe to the channel and learn Programming in easy way.

Рекомендации по теме
Комментарии
Автор

Everything is good..pls focus on volume if audio..somewhere it is high or somwhere very low

DJNICK_Music
Автор

Hi Navin. thanks for the videos. These are simple n easy to understand and the best part it these are smaller in sizes. I am going through each and every video of the series. At times the audios are too low, so minor request please make sure the audios are good. But overall very helpful learning.

dineshprasadgupta
Автор

Hi Naveen, it works with DataOutputStream also right the way you used in the previous videos. It creates the confusion when you used BufferedReader suddenly. You are doing a fantastic job, very nice helpful videos covering so many things. Keep it up bro. Thanks.

prateekdubey
Автор

Hello Sir, In serialization you taught that Write Object is security breach, to write object we need to implement marker interface(Serialization).

But in case of XML encoding we didn't require marker interface, is it security breach??

Even in XML encoding, data is in readable form.

sanjay
Автор

navin, i understood from the last video that in order to save an object, the programmer has to implement a marker class called Serializable. But I didnt see you use this interface in this video, do you not need to if the data is in xml format?

shashgo
Автор

Hello Navin:
I getting this error:
Class sun.reflect.misc.Trampoline can not access a member of class serialization.Collage with modifiers ""
Continuing ...
java.lang.Exception: XMLEncoder: discarding statement
Continuing ...

Why its so?

singh
Автор

sir your voice is very low, and nice tutorial.

syedmudasirahmad
Автор

In this vedio neither college or student implemented marker interface serializable, how the college object got stored in xml

nadipallisaikrishna
Автор

Well done Navin. You were a little impatient in this video. is there a link to where I can find the code?

olasunkanmiogundare
Автор

How is the @Override done?
can you refer the slide number for @Override process plz.

lalatendumohapatra
Автор

can anyone tell me when to use "BufferedOutputStream" and when to use "Object/DataOutputStream" ? do all are the same ?? I'm very confused with these help me out

akashpatoary
Автор

i am getting illegal access exception, ,, anyonr help me why its happening

saicharan
Автор

hello sir i have a problem to try catch they give me error
illegalaccessexception how to solve in my netbeans no option try catch surrounded

nikulkumar
Автор

it creates only txt file my college, no xml i found in my project area....Please help

merryz
Автор

very poor audio. It is not upto the mark of your channel. please do something for audio quality.

PradeepYadav-uopw
visit shbcf.ru