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

Passed 149/155

 
Trevor Dunn
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the break down
General Consideration 57/58
Documentation 20/20
GUI 21/24
Server 51/53
As for my design well it was really simple
1. Did not extend Data
2. Did not keep track of any client IDs for locks
3. Did not do anything about possible stale locks
4. Used RMI
5. Gui was simple, 2 JTextboxes a JToolbar and menus
Thats all I can think of now, I am to excited, if anyone has any questions I will be happy to answer.
Thanks to everyone wha participates in this group, it was really invaluable
Trevor
 
Fei Ng
Ranch Hand
Posts: 1245
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats Trevor ,
 
Siddharth Mehrotra
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can give a more detailed acount of your design.
also plaese tell how long did it take you to get through.
and last but not the least the places where u were bogged down (if u were)

------------------
Sid
 
reena kadam
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrates Dear!!
some questions if u dont mind.
How many panels did u use all togather in GUI ?
did u used box layout etc. ?
which layout did u used ?
How many pages of "design choice" papers.
thnaks in advance
reena K.
 
Trevor Dunn
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Siddharth
I actuall downloaded the assignment about 7 monts ago, but was so busy I went a couple of months without even looking at it. If I was to estimate I would say maybe two - three weeks of work to get a final polished product
My design, well without going into deep detail I used a separate class as Lockmanager and used RMI for server communication. I had a common interface in which a RemoteInterface was derived from it. THis gave me the advantage of coding to one interface on the client side. And I used the AdapterPattern to give Data its Remote functionality.
I was never really bogged down but the locking is by far the trickiest.
Reena
I have no idea on how many panels I used but I did use boxlayout to organize my GUI. This worked for me but some other may work for your design. My design document was not that long, just a couple of pages. It does not need to be in excrutiating detail, nor does it need every decision you made. Just make sure include the majors like, RMI or Sockets, Extend or modify, Searching Algoritim etc.
Trevor
 
Marco Barenkamp
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations,
good score!!
------------------
Marco Barenkamp
____________________________________________
L M I N T E R N E T S E R V I C E S AG
Senior Trainer & Architect,
BEA Certified Enterprise Developer
Sun Certified Programmer for the Java2 Platform
Sun Certified Web Component Developer for the Java2 Platform
Sun Certified Developer for the Java 2 Platform
Sun Certified Enterprise Architect for the Java 2 Platform Enterprise Edition (PI)
 
Shivaji Bhosale
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can u tell us, on which criterias you have implemented criteriaFind ?
This might be stupidest Qn to ask, since I am very much confused in Design Patterns. I hardly know patterns. So can you please elaborate, the way Adapter pattern used at server side ?
I'll just explain you what I am doing,
DataServerLocal extends Data - Responsible for Standalone operation
DataServerRemote extends Data implements RemoteInterface - Responsible for Distributed operation
These 2 classses individually have diff methods, but share functions from Data.
I feel whatever I am doing is adapter, since I feel I am adapting functionality of Data, but ur implementation is diff, can u please elaborate ?
waiting earnestly !
[This message has been edited by Shivaji Bhosale (edited November 24, 2001).]
 
Rasika Chitnis
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Trevor,
How did you indicate to the program if it is to be run in local or remote mode ?? Did you use command line parameter for mode ?
thanks
 
Trevor Dunn
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rasika
I determined local or remote mode by the number of command line arguments. One argument(db location) was local remote and two arguments (serverip and port) remote mode
Shivaji
I no pattern expert either, but what you are doing is definatley different from me. I tried to program to an Interface as a result I had an interface DataInterface that declared all the public methods of Data. I then made Data implement this interface. That essentially takes care of non-networked mode. For Remote I made an interface RemoteDataInterface that extended both DataInterface and Remote. I Then made my RemoteAdapterClass implement the RemoteDataInterface. Now for the adapting part. I actually put no code in my RemoteDataAdapter class. It only took an instance of Data as an argument so all methods actually called an instance of Data but it has been adapted to be remote without actually changing data to include remote code.
if you want more on design patterns I found the following pdf quite useful
<url>www.patterndepot.com/put/8/JavaPatterns.htm</url>
Trevor
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic