Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Overall design of SCJD assignment

 
Niall ORiordan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the following as an overall design.
Would anyone like to comment?
GUI
|
PROXY
/ \
CLIENTSOCKET CLIENTSTUB
| |
NETWORKSOCKET PROTOCOL
| |
PROTOCOL DATABASE_MODEL(IN JVM)
| |
DATABASE_MODEL(IN JVM) DATAFILE
|
DATAFILE
Every time a query is posted to the database that changes the contents (except for a lock/unlock) this change is commited to the DATAFILE.
What do you guys think?
 
Bob Reeves
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Niall:
I think that you need to clarify what you mean by the forward/back-slashes (from Proxy) and the doubled lines.
The backslash might indicate that your diagram recognized the need for a local and remote architecture. Even if the local branch was omitted, the branch must reenter the database somewhere.
The double lines might indicate bi-directional, or it might indicate multiple worker threads. I think you need a task manager on the server, positioned below the server socket class, that manages the database worker threads.
Anyway, that's my line on it _ _ _
Tx
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Niall
Welcome to JavaRanch
If you put your design inside code blocks (see the instant UBB buttons below the text box when you are writing your post) then it will be much easier to see what you are suggesting.
Regards, Andrew
[ July 22, 2003: Message edited by: Andrew Monkhouse ]
 
Burk Hufnagel
Ranch Hand
Posts: 814
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Niall ORiordan:
I have the following as an overall design.
Would anyone like to comment?

Every time a query is posted to the database that changes the contents (except for a lock/unlock) this change is commited to the DATAFILE.
What do you guys think?

Like this?
[ July 23, 2003: Message edited by: Burk Hufnagel ]
 
Niall ORiordan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
Cheers for the responses.
However the lines are simply meant to signify interface between classes (or a group of classes).
This is mean to portray an overall architecture of the SCJD not anything else.
Thanks,
/Niall
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic