3

I read the answer for alternatives for java serialization given below.

Which is the best alternative for Java Serialization?

I am in doubt that are these options truly independent of java serialization or are they built on java serialization. If not then how do they work internally?

Shubham Kadlag
  • 2,248
  • 1
  • 13
  • 32
  • This question is way too broad. And most (all?) projects you mention are open source, so if you want to know how they work internally, you can inspect their source code. – Mark Rotteveel May 12 '18 at 07:38

1 Answers1

2

This is a very open question as you're putting various APIs / serialisation techniques into the same category. I'll only respond to the JDBC part, in case of which obviously none of the drivers use Java serialisation because the relevant database communication protocols are defined by the databases independently of any client technology (Java, PHP, .NET, Python, etc...).

It would be safe to assume that most similar API implementations work in a similar fashion behind the scenes, because Java serialisation is inherently Java-specific, and it is usually not a good idea to make any protocol (regardless of the purpose) language-specific.

Lukas Eder
  • 211,314
  • 129
  • 689
  • 1,509
  • Thanks for the clarification on JDBC. Could you comment more about the other third party API mentioned. – Shubham Kadlag May 11 '18 at 12:21
  • @ShubhamKadlag: No, they're a seemingly random list of APIs and I don't have any experience with them. Someone else can comment on them... – Lukas Eder May 11 '18 at 12:33