i have a Java application made using NetBeans and i have been trying to serialize an object in the main jframe but it's not working can somebody please help me figure out the problem:confused:
Printable View
i have a Java application made using NetBeans and i have been trying to serialize an object in the main jframe but it's not working can somebody please help me figure out the problem:confused:
Wow, could you please hand us some more information, what object are you trying to serialize and how are you doing it?
// Json
Hi,
I have like 30 classes in the application. The main superclass is business then some classes are derived from business and then some others are derived from the ones derived from business and so on. I wanna save the business object every time i stop the application and load it every time i run it so i have used objectinputstream and objectoutstream to do that (i have done that in the main jframe of the application, which has the main class).
but the problem is that when i run the application an exception is thrown saying that Business.order.masterordercatalog is not serializable
so do all the classes in the application need to implement Serializable in order to save the business object?
Thanks you for showing interest in this thread.