I wish to learn how to apply MVC architecture to my Java project; mainly my work in Swing. Now there is no easy explanation or example how to write proper code using MVC in mind apart from these two I found here:
- http://leepoint.net/notes-java/GUI/structure/40mvc.html
- http://www.oracle.com/technetwork/articles/javase/mvc-136693.html
It seems to me there is not a defined MVC architecture in Java. From what I looked at it’s what Java offers you at the base level of Wwing and what you can apply on your own is in the first tutorial.
Apart from the two resources above, can someone provide me with a source that can ease you in to Java MVC? A video tutorial maybe?
Here is pretty nice example http://www.leepoint.net/GUI/structure/40mvc.html I tried to find simplest possible to let you feel the idea.
Anyway I don’t like the:
You can use MVC, MVP and whole other patterns in various different languages. Java has nothing to do with MVC, except MVC design can be coded in Java. There are, however, some frameworks that have embedded MVC architecture and forces using it. Spring MVC is the most known – try to find more about it, maybe some tutorials.