posted 19 years ago
Hello, JavaRanchers.
I was about to upload my assignment when I noticed, after giving it a final review, that my MVC implementation seems to be weak. It is based on existing SCJD-related bibliography as Habibi and Trottier books. Despite my mental effort I've made the last months I think I would need to re-design my GUI and spend about a one week more to fix it.
Here's my aproach, it's quite simple:
As you can see, the inner actionlistener classes play the CONTROLLER role, since receive the events from the GUI (VIEW), make references to GUI components, as table and comboboxes, and call methods to my business services provider class, FlightManager (processes the DATA). This class has methods such bookFlight(), searchFlights(), closeConnection().
Do you think that this aproach is sufficient, or do I need to implement a less coupled implementation of MVC, such as Observer-Observable? Or simple try something else, will my simply implementation fail (loosing points)?
Thanks in advance.
P.D. How do I make the code block font smaller?
[ October 27, 2005: Message edited by: Azbel Eden ]
Sun Certified Enterprise Architect (Part I)<br />Sun Certified Java Developer<br />Sun Certified Java Programmer