Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why would I want to implement Externalizable instead of Serializable?

0
Posted

Why would I want to implement Externalizable instead of Serializable?

0

Location: http://www.jguru.com/faq/view.jsp?EID=42504 Created: Apr 30, 2000 Modified: 2000-05-01 09:45:05.552 Author: Andre van Dalen (http://www.jguru.com/guru/viewbio.jsp?EID=7570) Question originally posed by Tim Rohaly PREMIUM (http://www.jguru.com/guru/viewbio.jsp?EID=10 By implementing Externalizable yourself you can win performance at the cost of flexibility and extra code to maintain. If you implement Externalizable yourself you stream the data directly without the need for reflection which is used in the case of Serializable. See http://developer.java.sun.com/developer/TechTips/2000/tt0425.html for an example.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123