This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes jtable need some direction Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "jtable need some direction" Watch "jtable need some direction" New topic
Author

jtable need some direction

J Hartley
Ranch Hand

Joined: Mar 29, 2001
Posts: 52
Hi, I need some direction with the MVC/jtable way of going things
I have read RH and some online resources on MVC/swing but still confused!
Im using RMI..will my tablemodel sit on my server side ok?.
anygood online resources with MVC/jtables ? i cant find too many
Joe
Aleksey Matiychenko
Ranch Hand

Joined: Apr 03, 2001
Posts: 178
First a good boon on Swing is John'Zukowski's Definitive guide to Swing.
Second. No you would not put your model on server because in a network environment it would put you application to a crawl. The model has many methods that are called by a table very often and making these calls remote would not really work.
J Hartley
Ranch Hand

Joined: Mar 29, 2001
Posts: 52
Ok but that means i cant put my model in the client because the getvalue method for example will contain code that access the remote data class and would still be going accross the wire all the time..??....im confused, where the hek do i put the model ARGHHGGH ?
Aleksey Matiychenko
Ranch Hand

Joined: Apr 03, 2001
Posts: 178
I think you model should copy the data to a vector or an array and use the local copy of the data. (THe way to do that is to read all the records once and then display them)
Remember there is no requirement to make the system real time.
J Hartley
Ranch Hand

Joined: Mar 29, 2001
Posts: 52
Hi, its all become clear now
Thanks for you help,
Joe
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: jtable need some direction
 
Similar Threads
JTable
JTable...
JTable
JTable
JTable(!!!)