Vonique Leary wrote:I understand the concept of serialization and that it is used to transfer files over a network, but I'm a little confused about how often it is used. Aren't all or most java files transferred over a network?
Actually, in that context it's for transferring
objects over a network; nothing to do with files.
All serialization is is a way of converting a Java object to a form that can be reconstituted at a later date, or on a different machine (with several caveats). This is called 'persistence', and it says nothing about whether it's stored in a file, a stream, or simply in a database.
I mean if you are accessing a java program while surfing the internet or while playing an online game, aren't those files being transferred over a network? What other ways is a java program accessed if not over a network?
Any way you can access any other program. But just for one: as a local program that runs on your desktop.
I know that there are some applications that run on one's computer but I thought java was mainly an internet language.
Then I suspect you've been blinded by the hype. What Java
does have is several features that make it very useful for Web-based applications - not least, a very mature set of libraries and 3rd party products for doing just that - but otherwise, it's no different from any other language.
Winston