10: Persistence (XML & Exceptions)
Colm Dunphy, Dr. Siobhan Drohan, Diarmuid O'Connor, Dr. Frank Walsh, WIT.
Introduction to XML
XML · Serialisation
XML and Java
We will show you how to serialize objects from Java to an XML file and read them back into your Java program.
Exception Handling
We will show you, by using try and catch blocks, how to stop your program from crashing when invalid user input is entered.
Miscellaneous Concepts
We will cover some miscellaneous concepts such as static variables, static methods, javadoc and storing calculated data.
Lab-10
XML · Exception Handling · Validate User Input · ShopV5.0 · DVD3.0