This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
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

YAHOO...... I Made it.... 146/150

 
Ravikiran Choppalli
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
After waiting for two weeks, I got my result. Just checked.
I must thank each and everyone in the group who in one or other way helped me achieve this. I must also thank the moderaters maintaining this place very professional.
Here is the breakup.
Test: Sun Certified Developer for the Java 2 Platform (310-027)
Date Taken: 2001-07-18 09:31:07.717
Registration Number: g65dtt0525
Site: az28
Grade: P
Score: 146
Comment: This report shows the total points that could have been awarded in each section and the actual number of points you were awarded. This is provided to give you per-section feedback on your strengths. The maximum possible # of points is 155; the minimum to pass is 124. General Considerations(maximum = 58): 55 Documentation(maximum = 20): 20 GUI(maximum = 24): 22 Server(maximum = 53): 49
1) Used RMI
2) Used Custom Table Model extending DefaultTableModel
3) simple GUI everything in one page.
4) Modified Data Class.
5) Simple lock and Unlock / no tracking of client id.
Thank you all,
- Ravi.
 
Jane Griscti
Ranch Hand
Posts: 3141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations Ravikiran
Did you use the GUI to display application help?
 
Ravikiran Choppalli
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Jane,
I've used HTMLEditorKit to show the User guide file and About box information. Both can be seen from the GUI. I've provided Menu bar on the top.
Thanks,
Ravi.
 
Pervez Ahmed
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats!!!
I'm just now starting and i'm not sure how to go about designing my lock/unlock strategy. Can you or anybody else reading this please give me some tips to get started.
Thanks!
 
Luna Bora
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CONGRATULATIONS!! Did you define any timeout for the record lock? If so,what is the value of timeout? How did you shutdown your server? Can I use Ctrl+c to shutdown the server? Thanks for your time.
 
Ravikiran Choppalli
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pervez Ahmed
I'm just now starting and i'm not sure how to go about designing my lock/unlock strategy. Can you or anybody else reading this please give me some tips to get started.
>>> The strategy I used is to hold the locks in a container. whenever you try to lock a particular record number, check whether it is already in the container, if so, wait until it is not there and then lock it. Same way, when you try to unlock a particular record, check whether that record number is in the container if so, unlock it and if not, don't do anything.
If the case is to lock the whole database, put some -1 in the container and check for that. Before locking just make sure that there is no element in the container.
GOOD LUCK then...

Luna Bora
CONGRATULATIONS!! Did you define any timeout for the record lock? If so,what is the value of timeout? How did you shutdown your server? Can I use Ctrl+c to shutdown the server? Thanks for your time.
>>> No, I did'nt use any timeouts for the record locking. Make sure that you call your unlock (from client side) in the finally block so that even if your method fails due to any exception, you make sure that you unlock the record.
>>> Since I'm starting my server from a command line, I guess the only option to shutdown is using ctrl+c. This is how I used and I passed ;-) But if you are running on Unix, since it runs as a process, maybe you can write a shutdown script which checks for the process with particular name and kills it.
Thanks,
- Ravi.
 
pooja vij
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
congrats on your success
help me on below mentions
1.you use activation or unicast?
2.what had you written in security policy file?
3.had you given HELP option in your gui.if so what had you mentioned in it.
4.what were the question ask to you in written exam?
thanks
Pooja
email at:slovely20@rediffmail.com

 
Luna Bora
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ravi,
You got 20/20 in Documentation. What all documents did you include? Did you provide System Design documentation, with architectural diagrams? Did you generate javadoc on private methods also? Thanks for your input.
 
Ravikiran Choppalli
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pooja,
Thanks for your wishes ...
Here are my inputs for your questions ...
congrats on your success
help me on below mentions
1.you use activation or unicast?
>>> My RemoteDataAdapter extends UnicastRemoteObject. If this is not the answer you were looking, please mention your question more clearly...
2.what had you written in security policy file?
>>> It really does'nt matter. I gave all permissions in the security policy file. This is all I had in both client and server policy files.
grant {
permission java.security.AllPermission;
};

3.had you given HELP option in your gui.if so what had you mentioned in it.
>>> Yes, I've given, as I said earlier using HTMLEditorKit showing in a JEditorPane. You can pass any HTML file and it will display. I gave the overall description about the application and all the functions you can carry out using the application, how you can invoke using keyboard keys, etc...
4.what were the question ask to you in written exam?
>>> These were more general. You will have plenty of time. Mostly about the Major design decisions like RMI Vs Serialized Objects, Extending Vs Modifying Data Class and Your Lock Unlock Strategy.
thanks
Pooja
email at:slovely20@rediffmail.com

>>> Hope your preparation is going fine. Good luck and Best wishes with your work. Hope to c ur success post here.
- Ravi.
 
Ravikiran Choppalli
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Luna,
You got 20/20 in Documentation. What all documents did you include? Did you provide System Design documentation, with architectural diagrams? Did you generate javadoc on private methods also? Thanks for your input.
>>> I'm happy that I got 20/20 in documentation. Cos' I've put lot of effort to make all the documents very readable formatting the contents and editing the contents. Also, I've followed EXACTLY what was asked in the Instuctions.html to prepare the README.txt file. And for JavaDoc it was very simple. I was using KAWA IDE. I copied all the source files into one directory and ran JavaDoc command from the Kawa Ide. It created everything. I did'nt provide the Links to Java Classes like String etc... so I was sceptic whether I'll score cent on this part of the exam.... Finally I did ;-)
I've provided
1) Design Decisions Document.
2) Readme.txt
3) JavaDoc
4) User Guide Html ]
] - I was showing these from GUI.
5) About Box Html ]
Thanks,
- Ravi.
 
Ravikiran Choppalli
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Luna,
Sorry I missed the part you asked. I did'nt use any Class diagrams or Architectural Diagrams. Actually I've reverse engineered those things from my application code using Togethersoft. I had to do lots of modifications etc. And as I thought it would consume more time, I just skipped it.
- Ravi.
 
pooja vij
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HELLO
AS SUGGESTED BY YOU <IHAVE USED EDITOR PANE ><BUT FACING FOLLWING PROBLEMS:>
(1)receiving html parser Exception.
(2)has this problem to do with editor kit.
can you send me yu code related to the Editor pane.
thanks
pooja vij
 
Ravikiran Choppalli
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pooja,
You've to pass the html file to be shown in the editorpane in the following way :

JEditorPane editorPane = new JEditorPane();
String urlStr = "file:"
+ System.getProperty("user.dir")
+ System.getProperty("file.separator")
+ htmlFile ;

URL helpURL = new URL(urlStr);

editorPane.setPage(helpURL) ;
editorPane.setEditable(false);
Then you should add this editorpane to a scrollpane.
Hope this helps...
Thanks,
- Ravi.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic