Is there any Difference between Standalone class and pojo class? Or these two are actually same?
Asked
Active
Viewed 2,074 times
0
-
7What's a "standalone" class? – Matt Ball Dec 24 '14 at 17:30
-
This might help: http://stackoverflow.com/questions/12517905/what-is-java-pojo-class-java-bean-normal-class – Jeff Anderson Dec 24 '14 at 17:32
-
possible duplicate of [Difference between DTO, VO, POJO, JavaBeans?](http://stackoverflow.com/questions/1612334/difference-between-dto-vo-pojo-javabeans) – Iłya Bursov Dec 24 '14 at 17:34
2 Answers
2
The answer is probably "No".
POJO means "plain old Java object" meaning "object that doesn't do anything special to integrate with our system". So if the class doesn't extend/implement anything and contains mostly values with getters and setters you can treat it as POJO.
"Standalone" is not a common term for any class kind. But I've googled some uses of "standalone class" phrase and they mean a class that contain main()
method. So this is definitely not the same as POJO.

AlexZam
- 1,147
- 7
- 18
0
POJO (Plain Old Java Object) that is used frequently in a modern Java without additional code generated using it such as stubs or proxies.
-
It is saying both are same: "http://www.coolinterview.com/interview/16387/" – Ankush Kumar Dec 24 '14 at 17:58