Subscribe
Tutorial search

Java Java Objects Tutorials


Sort by:
Serialize Java objects
Serialize Java objects
This tutorial shows how to make Java objects serializable and how to develop a tool to serialize them and write them into files.
Difficulty:
Use XStream to serialize Java objects into XML
Use XStream to serialize Java objects into XML
XML serialization has a myriad of uses, including object persistence and data transport. XStream is an easy-to-use open source Java library for serializing Java objects to XML and back again. Learn how to set up XStream, and discover how to use it to serialize and deserialize objects as well as to read configuration properties from an XML configuration file.
Difficulty:
Letís bind those Java objects to SQL databases
Letís bind those Java objects to SQL databases
You've already seen how flexible Castor is in allowing you to convert Java objects to XML and back. But Castor does a lot more, including letting you take those same Java objects and turn them into rows within your SQL database. Learn what syntax is the same, what's different, and how you can add SQL to your data binding arsenal.
Difficulty:
Use Castor to bind Java objects to SQL databases
Use Castor to bind Java objects to SQL databases
When it comes to Castor, XML data binding is just a part of the puzzle. Castor also offers the ability to bind Java data to SQL databases. Learn what syntax is the same and what's different.
Difficulty:
Search Term(s) (2): java objects