• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Java SE MVC Framework

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any MVC framework in Java SEE.

if in Java EE we can use Spring or Struts, how about Java SE ??
 
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

MVC is a GUI concept; if you don't mean web apps, are you asking about Swing GUIs? Swing has the M-V-C separation to some degree built in. For example, if a JTable is a view, then its TableModel and TableComunModel constitute the model, and your event handlers -either attached to the JTable or some other Swing component- would be the controller.
 
adi sembiring
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:Welcome to JavaRanch.

MVC is a GUI concept; if you don't mean web apps, are you asking about Swing GUIs? Swing has the M-V-C separation to some degree built in. For example, if a JTable is a view, then its TableModel and TableComunModel constitute the model, and your event handlers -either attached to the JTable or some other Swing component- would be the controller.



Can you suggest me about book or web tutorial with an example application for creating CRUD application. So I can understand this concept ???

thanks
 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Griffon is inspired by Grails framework (which it is built upon MVC concept), you may want to check it.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I came across this thread when researching MVC within Swing applications. It seems to me like my Java SE projects didn't have the level of organization that I was getting with Java EE frameworks. As Ulf mentioned, Swing contains elements of MVC within it, but that doesn't help you organize your projects at a macro level.

To help with this, I created a small framework called Biscotti. I wrote a article about MVC/MVP and Biscotti which will help organize Java SE projects.
 
Barry's not gonna like this. Barry's not gonna like this one bit. What is Barry's deal with tiny ads?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!