Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

MVC Model between Swing and Web Services  RSS feed

 
Benson Fung
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

I have a project using swing as frontend and Web Services as the middle-tier.

Can anyone help me to analyse which is M, which is V and which is C in these swing and web services relationship?


Thanks
Benson
 
Eddie Vanda
Ranch Hand
Posts: 283
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Benson Fung:
Dear all,

I have a project using swing as frontend and Web Services as the middle-tier.

Can anyone help me to analyse which is M, which is V and which is C in these swing and web services relationship?


Thanks
Benson


Hi Benson,

This is a very deep question, there could be a million answers!

The obvious one (to me at least) is that your clients have the V, the M is the server data base and the C is your server program, but within each of your sub sections in both the server and the client you could probably break them down into M + V + C as well.

Interesting that the java table and table model only really use V (Table) and M (TableModel).

I hope others put their views, and this would just start the discussion!

Ed
 
Don Kiddick
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JTable is C, TableModel is M and TableCellRenderers are V
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!