Copyright 2021 © QuinStreet Inc. All Rights Reserved
DevX Tips Bank: Object Serialization
Object Casting in Java
Language: Java, Expertise: Beginner - See how objects can be cast …
Serialize an Object to a JSON String
Language: .NET, Expertise: Intermediate - Learn how to serialize …
Serialize Any .NET Object to a JSON String
With JSON's popularity increasing by leaps and bounds, you'll find this technique useful.
Serialize and Deserialize an Object to an XML File in C# 2.0
The example in this tip uses an ArrayList object to serialize, …
Serialize and Deserialize an Object Instance to XML
To serialize an object instance to XML, you need to use the XMLSerializer Class's
Passivation/Activation of a Stateful Bean in EJB 3.0
The EJB container needs help when dealing with nonserializable objects. Find out how to …
Retrieving Custom Objects Added to the Clipboard
Retrieving a custom object from the clipboard returns nothing if the object has a …
Use sun.misc Classes for Base64 Image Conversion
This tip demonstrates how to use sun.misc classes for Base64 image …
Persist Java Objects in a File and Retrieve Them Later
This tip explains how to persist a Java object in a file which can be retrieved back later.
You can use the technique for an "undo" menu/toolbar option. Use a collection instead …
Obtain a Regional Decimal Character without an API
Use this function to read a number decimal symbol from regional ...
Setting the Description of an Add-In
When you use the Add-Ins project template to build your own add-ins, the description of …
Testing a Business Rule Should Not Have Any Side Effects
Testing a business rule should have no side effects. Avoid err.raise and msgboxes …
How to Prevent a Class From Serialization
The following code prevents classes from ...
Testing for Closed Socket
Is there any way to test if a socket is still open without writing to it?
Acceptable Use Policy
Terms of Service
California - Do Not Sell My Information