Hello
I have a problem where should I create my domain model object, (such as Customer, Order, etc...)
I am creating a standalone app for my homework and I am not sure where to create that kind of object.
For example I have a gui form for registering new customer.
And now where I should create Customer object in view, and than send it to controller,
validate properties of the object, next send it to model to store it in db??
Maybe it's a controller function to create an object after getting values from view?
My point is that every examples of mvc are working on simply values such as int,
string etc, but what about pojo object?
Could anybody help me?
Regards