• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Passed with 150/155

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Had receive my result and pass with 150/155
General Considerations(maximum = 58): 55
Documentation(maximum = 20): 20
GUI(maximum = 24): 24
Server(maximum = 53): 51
Reading most of the posting in this group really helps. Thanks.
 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Rudy Sutjiato:
Had receive my result and pass with 150/155
General Considerations(maximum = 58): 55
Documentation(maximum = 20): 20
GUI(maximum = 24): 24
Server(maximum = 53): 51
Reading most of the posting in this group really helps. Thanks.


please share with us ur design patterns ans the problem areas of the project and how did you went around thoes problems
 
Rudy Sutjiato
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Below my approach:
- use RMI
- Modify lock and unlock method signature to include client ID
- Adapter pattern for the server
- Observer pattern for the GUI
 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Let me first Congrates u.
v. ood score.
Can u pl. tell me whether criteriaFind method need Syncronised or as it is.? i am worried on this as majority of methods in data class are Syncronised.
thanks in advance.
devu
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rudy, why did you use Observer pattern when the data is not required to be dynamically updated?
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats on your success.
I am trying to test my client/server jar files. I am facing a
peculiar problem.
I have packaged my classes in two jar files - server.jar and
Client.jar.
Server.jar contains among other classes Data and DataServer(RMI
server).
Client.jar contains all client classes.
While testing-
A. For RMI - 1. Run Server.jar
2. run client.jar
Everything is OK.
B. Local mode - Unable to run client.jar alone as it needs Data class,
which is in server.jar.
However even if I run Server.jar, client.jar still does not find Data
class and returns error 'Data class not found'
How you have addressed the issue.
regards.


 
Ranch Hand
Posts: 1874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
congratulations & all the very best for the future.
your Friendly bartender
Shailesh.
 
shailesh sonavadekar
Ranch Hand
Posts: 1874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Grant R , Welcome to javaranch.
PROPER NAMES ARE NOW REQUIRED
Please look carefully at official naming policy at javaranch & reregister yourself with proper first & last name. Please adhere to official naming policy & help maintain the decorum of the forum.
Waiting for your posts with proper first & last name. Once you have reregister , please let us know about that & then your previous account will be disabled.
Regards.

Your Friendly Bartender
Shailesh.
 
Rudy Sutjiato
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Devu:
I didn't synchronized my criteriaFind method since it only call other synchronized method to do the searching.
Grant:
As suggested by the Refactoring book, I use Observer pattern to de-couple the GUI and business logic at the client side.
Niharika:
For local access I am sure you need the Data class inside your client.jar
 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

<h2>Congratulations Rudy</H2>
------------------

Mahindrakar
IBM Application Server & Developer Forum Moderator

Consultant - Zensar Technologies ,Pune India.
SCJP2, SCJD2 & SCJEA (Part I)
 
Devu Shah
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks for your reply.
one more q (pl. dont mind)
how many files you created for client package?
(i just created 4 files for client... )
thanks
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic