Question: how to create pojo class in eclipse?
Answer: Select File > New > Other... from the Eclipse menu.
Browse to Java > Class and click the Next button.
In the New Java Class dialog, enter the following: ... 
Open the new Operation. ... 
Add the following instance variables (future persistent fields) to the class: