Bottom Up vs Top Down Web Services
Top-down means you start with a WSDL and then create all the necessary scaffolding in Java all the way down.
Bottom-up means you start with a Java method, and generate the WSDL from it.
How To Override toString
@Override public String toString()
{
return this.get(Field you want to return); // e.g: getName();
}
Why to use this kind override?
Sometimes we need to add for example a collection to a combo box so instead of looping
over the object list you override the toString in that object to return one of the object variables