Experience Directory in Software

Java,J2EE,Oracle,Linux experience and workaround tips. If you have thought at least once like "How much should I learn technologies to be good enough developer?", Yes answer is here, just read this articles.All articles are made use at real project and making clients happy!

Friday, April 04, 2008

MVC Patturn in J2SE and J2EE


This term is very famous with people who have been working as Web application developer and have used J2EE technology. Because This term is explained in all books which new J2EE developer generally read.
And such guys will write source codes based on Spring or Struts Framework which force you develop application applying the MVC pattern.

My doubt comes up at this time like,

"well, View can be anything for example Swing or HTML, How can I switch to Swing from the HTML view originally developed as J2EE application??"
And When we look at the Swing source code and learn some basic concept and write some example small application copied from Sun Tutorial, start wondering
" Is it possible to just switch the view without changing anything on the controller and model?! I am really wondering if we would work a bit hard to adapt the Controller source to Swing View? or even the Model?!?!"
Well, if any of you have same doubt or currently struggling to figure out the difference(in practice) of the MVC use in J2EE and J2SE application..

Look at this for studying J2SE MVC use Article.

Another guy was once clueless about the difference b/w J2EE MVC and J2SE MVC.
look at this discussion board thread.

This may be also a worthy technical article for a guy who is clueless.
--> Advanced Model-View-Controller Techniques

***MVC Version list***
  1. MVC version1.0
  2. MVC version1.5
  3. MVC version2.0 -- well known MVC version an application is divided into 3 parts(Model,View,Controller)
  4. Modifying MVC version2.0 (above sun.java article introduces this concept and other framework also follow this architecture for instance, Apple Cocoa, J2EE Framework(Struts..))

No comments:

The On Demand Global Workforce - oDesk