I am working on a Java Swing project. Its design is rather poor. I have been given the task of making its design better. First of all, I thought that I would cancel Java Swing and business code following the MVC pattern.
Running this material manually seems error prone. Is there any tool / software that separates GUI layer code (written in Java Swing) and business-level code (written in the Java core).
As far as I can tell, the answer to this question is: "No, there is no such tool."
, - . , "-" " ".
, , , -, , , - , .
. , , , IE. MVC - , , .
MVC Smalltalk, Xerox Parc, .
, . , , .
, . , . , , , ( ). , .
, , , .
, .
- . , , , , , .
IDE . Eclipse NetBeans , , .
, , - , A ( ) B ( MVC). . , (, , ) - , , , Model, View Controller. , , .
.
I also do not know a single tool. And, like the others here - like - we note, I think that such tools will ultimately force programmers to be redundant. We don’t want this, do we.: - D
But, manually checking if you really managed to separate the code should not be difficult. Just make sure your "business part" does not import swing packages: