Tagged articles
13 articles
Page 1 of 1
Java Architect Essentials
Java Architect Essentials
Aug 24, 2025 · Information Security

How Java Serialization Leaks Passwords—and the Simple Fix with transient

This article explains how Java’s native serialization can expose plain‑text passwords, illustrates real‑world breaches, and shows how using the transient keyword together with encryption, library replacement, security frameworks, and penetration testing creates a five‑layer defense against serialization attacks.

JavaMitigationSecurity
0 likes · 6 min read
How Java Serialization Leaks Passwords—and the Simple Fix with transient
Big Data Technology Architecture
Big Data Technology Architecture
Jul 15, 2021 · Big Data

Resolving Spark Task Not Serializable Errors: Causes, Code Examples, and Best Practices

This article analyzes why Spark tasks fail with a "Task not serializable" exception when closures reference class members, demonstrates the issue with Scala code examples, and provides practical solutions such as using @transient annotations, moving functions to objects, and ensuring proper class serialization.

ScalaSparkTask Not Serializable
0 likes · 12 min read
Resolving Spark Task Not Serializable Errors: Causes, Code Examples, and Best Practices
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 11, 2021 · Fundamentals

Understanding Java's transient Keyword: Definition, Conventions, Usage Scenarios, and Serialization Behavior

This article explains the transient keyword in Java, covering its definition, the rules that govern its use, practical examples with Gson serialization, the impact on object fields during serialization, and how Externalizable can override its behavior, providing a comprehensive guide for developers.

ExternalizableGsonJava
0 likes · 10 min read
Understanding Java's transient Keyword: Definition, Conventions, Usage Scenarios, and Serialization Behavior
Programmer DD
Programmer DD
Oct 22, 2020 · Backend Development

Master Java Serialization: Why serialVersionUID Matters and Common Pitfalls

This article explains Java's Serializable interface, the concepts of serialization and deserialization, when to use them, how to implement them with code examples, and dives into common issues such as transient fields, static variables, and mismatched serialVersionUID values that can cause runtime errors.

JavaObjectOutputStreamserialVersionUID
0 likes · 13 min read
Master Java Serialization: Why serialVersionUID Matters and Common Pitfalls
Selected Java Interview Questions
Selected Java Interview Questions
May 13, 2020 · Fundamentals

Understanding Java Serialization and serialVersionUID: Concepts, Usage, and Common Pitfalls

This article explains Java serialization and deserialization, the role of the Serializable interface and serialVersionUID, demonstrates how to implement and test them with code examples, and discusses related features such as transient and static fields, providing practical insights for Java developers.

DeserializationJavaserialVersionUID
0 likes · 11 min read
Understanding Java Serialization and serialVersionUID: Concepts, Usage, and Common Pitfalls
Java Backend Technology
Java Backend Technology
Mar 10, 2020 · Backend Development

Unlock Java Serialization: Why Serializable Matters and How to Master It

This article dives deep into Java's serialization mechanism, explaining the theory behind the Serializable interface, demonstrating practical examples with code, exploring the impact of static and transient fields, comparing Serializable with Externalizable, and clarifying the role of serialVersionUID in version compatibility.

ExternalizableJavaObjectInputStream
0 likes · 14 min read
Unlock Java Serialization: Why Serializable Matters and How to Master It
Java Backend Technology
Java Backend Technology
Jun 29, 2019 · Backend Development

Mastering Java Serialization: From Basics to Advanced Pitfalls

This article explores Java's serialization mechanism in depth, covering its history, the Serializable and Externalizable interfaces, practical code examples, the impact of static and transient fields, serialVersionUID nuances, and common pitfalls to help developers write robust, version‑compatible Java code.

ExternalizableJavaserialVersionUID
0 likes · 14 min read
Mastering Java Serialization: From Basics to Advanced Pitfalls
Architect's Tech Stack
Architect's Tech Stack
Oct 10, 2018 · Backend Development

Understanding Java Object Serialization and the transient Keyword

Java object serialization converts objects into byte streams for storage or transmission, while the transient keyword excludes specific fields from this process; this article explains serialization concepts, appropriate use cases for transient, provides code examples, and shows the impact on object state after deserialization.

JavaJava Basicsobject serialization
0 likes · 6 min read
Understanding Java Object Serialization and the transient Keyword
Java Captain
Java Captain
Jan 15, 2018 · Fundamentals

Understanding Java's transient Keyword: Usage, Summary, and Edge Cases

This article explains the purpose and usage of Java's transient keyword, demonstrates how it prevents sensitive fields from being serialized, summarizes key rules, and explores edge cases including static fields and the Externalizable interface where transient fields can still be manually serialized.

Externalizablefundamentalsserializable
0 likes · 11 min read
Understanding Java's transient Keyword: Usage, Summary, and Edge Cases