aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes about DatemodelDbImpl and model  !! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "about DatemodelDbImpl and model  !!" Watch "about DatemodelDbImpl and model  !!" New topic
Author

about DatemodelDbImpl and model !!

kelly zeng
Greenhorn

Joined: Oct 16, 2002
Posts: 7
can i put all operation to database in DatamodelDbImpl?example getFieldInfo();getCombo;...
DatamodelDbImpl implements DataInferface .
so my GUI access directly DatamodelDbImpl's
method .
well then ,what do Model (M of MVC)do?
i think all business logic is operation to database .
please tell me which method in Model?
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

"jessery z"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it
here.
Thanks! and welcome to the JavaRanch!
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
kelly zeng
Greenhorn

Joined: Oct 16, 2002
Posts: 7
why not reply!!!
help@!
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Could yuo explain more as to what your question is about. I am a little confused to the actual question.
A Model represents data that a GUI will show.
As far as my guess to the first part, You will have an interface that will have all the methods of data. But what you might want to do is create a Wrapper class called a Facade, this class will then have methods like bookFlight, fillCOmboBoxes, etc.
I hope that helps and is what you wanted to hear ")
Mark
 
 
subject: about DatemodelDbImpl and model !!