my dog learned polymorphism*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Is this MVC? 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 "Is this MVC?" Watch "Is this MVC?" New topic
Author

Is this MVC?

michael opto
Greenhorn

Joined: Jan 17, 2002
Posts: 29
When I see the posts about MVC, I want to ask a question. I modified my table model, and called the table model's update methods to update the table. I am sure this is the MVC in swing. But I am not sure if this is the MVC you guys talked about the GUI design. Please help me on this.
Ying Ren
Ranch Hand

Joined: May 24, 2002
Posts: 35
I think most of time the MVC means the total GUI design not only the JTable. I create a view class, a controller class and the a set of data related class.
Ying Ren
scjd2
michael opto
Greenhorn

Joined: Jan 17, 2002
Posts: 29
So if I meet an essay question about: does your GUI design use MVC pattern? I have to say no?
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi michael,
I doubt you'll get a question stated that way. The questions you will get will ask you how you implemented locking or why you chose RMI over serialized objects and such things. There are no wrong answers on the essay if you know what you did. You don't have to mention MVC if you are concerned, if a question that might involve that crops up. Just describe what you did and all will be well.
Hope this helps,
Michael Morris


Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is this MVC?