Nitin Gogia wrote:
> Can anyone tell me :-
> 1. Difference between Serialization and Marshalling ?
Persistent Storage :
Storage of a file or object in a medium such as a file system
or database so that the object and its data persist when the
file is closed and then re-opened at a later time.
Marshalling :
Packaging and sending interface method
calls across thread or process boundaries
The COM technique of marshaling allows interfaces exposed by an object in one
process to be used in another process.
In marshaling, COM provides code (or uses code provided by the interface
implementor) both to pack a method's
parameters into a format that can be moved across processes (as well as, across
the wire to processes running on other machines)
and to unpack those parameters at the other end. Likewise, COM must perform
these same steps on the return from the call.
Note Marshaling is typically not necessary when an interface provided by an
object is being used in the same process as the object.
However, marshaling may be needed between threads.
>
>
> 2. Difference between Serialization and Persistence ?
Serialization is just equvalent as Persistence !
Basically Persistence is terminology used in Object Oriented Methodology
normally SmallTalk, ADA which are Object Oriented land.
supports Persistence
Same is achived in Java with the effective use I/O mechanism.
Serialization Mechanism and Stuffs are used for
saving the exact memory image of the object into local disk file or server file
and the values of that object can also be used after the execution of the
program.
thus u can still retrive the objects and values even after the execution of
s/w.
after the second time u can still access the previous contents.
thus, u don't need to make use of database.
>
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
--
------------E-Card For Paresh M Gheewala----------------
[EMAIL PROTECTED] / Software Engineer ( R & D )
[ Versaware Technologies (I) Pvt. Ltd. ]
'E' Building, Liberty, North Main Road,
Koregoan Park Pune -1 ( Maharastra ) - 411001. India.
Ph : +91-020-4355284 (R - Pune)
+91-0261-420668 (R - Surat)
+91-020-636028 (O)
Visit : http://www.versaware.com
---------------T h a n k Y o u -----------------------
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html