• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Passed 149/155

 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1246
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats Trevor ,
 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).]
 
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Our first order of business must be this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic