what is the Technical meaning of this context plain-vanilla Java Beans & plain-vanilla Java Class ??.
A 'plain-vanilla' bean/class means a very basic class usually with the following properties;
This is also called a POJO (Plain Old Java Object). For example;
public class MyPojo
{
/*
* Private class variables
*/
private String name;
private int size;
/**
* Empty constructor
*/
public MyPojo()
{
}
/*
* Standard getter/setters
*/
public String getName()
{
return name;
}
public void setName(String name)
{
this.name = name;
}
public int getSize()
{
return size;
}
public void setSize(int size)
{
this.size = size;
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With