This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Hey Guys...Just wanted to share the good news: Grade: P Score: 141 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 information is provided in order to give you feedback on your relative strengths on a per-section basis. The maximum number of points you could have received is 155; the minimum to pass is 124. General Considerations(maximum = 58): 58 Documentation(maximum = 20): 20 GUI(maximum = 24): 14 Server(maximum = 53): 49 It's funny, I thought my GUI was one of the strongest points but there were several issues with it. Anyway, I'm not complaining, I'm very pleased. Just a few notes: 1.) Used RMI 2.) Did NOT track client ID. 3.) called lock/unlock from client code. 4.) provided a policy file with all permissions. 5.) spent a ton of time on documentation and testing...I was lucky enough to be able to test on Solaris. I will stick around and answer questions. Not sure what's next. The UML of the Architects does not interest me too much. I'm VERY interested in the Java Web Develeper's or whatever that new one is. I will probably pursue that when it becomes generally available. I very pleased and excited. All the hard work has paid off. Thanks to everyone on here for their contributions. I think it's probably pretty safe to say if you're reading this now, you more than l;ikely helped me in this quest. Thanks very much.
Matt, Congradulations! Great score and success! Would you please comments on: 1) When we use network mode we need to hand DatabaseException and RemoteException at the same time. How to do this ? 2) WHen you treat Local and Newwork operation mode, do you use a different Data class or use a wrap class? Thanks, Ruilin
<h2> Congratulations Matt </H2> Matt, How much time did it take for you to get the results.
Matt DeLacey
Ranch Hand
Joined: Oct 12, 2000
Posts: 318
posted
0
OK: One at a time. Rahul-- 10 or 11 business days after I had taken the essay exam, I saw results in JCert. Dilipkumar -- I had help available for the user within the program, I had a help file for how to use the server, and ofcourse, I also had the design choices document and javadoc stuff. ruilin-- 1.) Not sure about the question, but if you want to throw them both, just throw them both. 2.) I had one Data class for both. Good Luck Everyone! With Respect, Matt DeLacey
Matt -- Congrats. It is a hard test. One question: I am having difficulty with dynamic classloading. Did you have a codebase or did you simply put your stubs on the client side?
Matt DeLacey
Ranch Hand
Joined: Oct 12, 2000
Posts: 318
posted
0
I did not support dynamic class loading...just put the needed files on client side...but obviously, this is something I addressed in the design choices... With Respect, Matt DeLacey
Rahul Mahindrakar
Ranch Hand
Joined: Jul 28, 2000
Posts: 1831
posted
0
Matt JCert??? The results are supposed to be posted in www.galton.com/~sun. Where exactly in JCert did you see the results. I have visited JCert but there is no place where one can view ones results. I mean www.Jcert.org ------------------ Mahindrakar IBM Application Server Forum Moderator Consultant - Zensar Technologies. SCJP2 & SCJEA (Part I)
Hi, Matt Congrats first! My question is no support for dynamic class loading of RMI, how did you justify it in your document, just for simplicity reason? Thanks in advance! Zhi
Originally posted by Matt DeLacey: I did not support dynamic class loading...just put the needed files on client side...but obviously, this is something I addressed in the design choices... With Respect, Matt DeLacey
Matt, I'm finishing up my project now. The only major task left undone is the user documentation. You mentioned that you had user documentation available inside of the client application. How did you accomplish this? It doesn't look like it would be too hard to use an editor toolkit to display HTML help, but I'd just as soon not mess with this if I can avoid it. I've spent way too much time on this so far.
Matt DeLacey
Ranch Hand
Joined: Oct 12, 2000
Posts: 318
posted
0
Cleland: I know what you mean. I was so sick of the whole thing when it was time to submit. Intially, yes, I used a JEditorPane and used setPage, but I later changed it. I used JTabbedPanes and I made one of the tabbed panes a help pane. You can do it however you like I firmly believe, just so long as you have something. With Respect, Matt
Cleland Early
Ranch Hand
Joined: Apr 16, 2001
Posts: 38
posted
0
I keep thinking I've overlooked something. The RMI server piece turned out to be pretty trivial, as did the locking mechanism in the database code; yet, these two items get more emphasis in the grading than the user interface on which I've spent far more time. Everyone talks about thread safety, but it seems to me that the server code as provided was pretty thread-safe. An there's a lot of talk about policy files, but mine allows everything. My assignment doesn't talk about security at all.
Because the assignment is purposefully vague, I worry that my interpretation is off-base. And, I'm not exactly sure what I need to cover in the design choices document. It never occurred to me to talk about including the stubs in the client jar file, for example. I worry about getting marked down for having an elaborate interface.
I'm probably sweating it too much. The server has worked flawlessly so far. Everyone to whom I've showed the client application has liked it. And, I've looked at the client application on a couple of different platforms. It works fine on both. And simultaneous requests from two different computers produced the expected result.
[This message has been edited by Cleland Early (edited May 16, 2001).]
Matt DeLacey
Ranch Hand
Joined: Oct 12, 2000
Posts: 318
posted
0
Yeah, you're definately sweating it too much. I can appreciate it though, because I did too...but I basically took the path of least possible resistance on all things and I got a 91%, so it sounds like to me you will be just fine.
Matt, Congratulations, Two quick questions .... Did you rely on the client locking/unlocking the record before performing the update - rather than trying to determine the identity of the client? Did you remove the syncronization from the Data class mathods? Thanks in advance Conor
Conor: To answer your questions: Yes, I relied on the client to call lock and unlock. Obviously, there are problems associated with this, but I documented them. No, I didn't change any method signatures. With Respect, Matt DeLacey
Conor Allen
Ranch Hand
Joined: Apr 27, 2001
Posts: 32
posted
0
Matt, Another question ... did you use the default encoding for your reads/writes from/to db.db? Thanks in advance Conor [This message has been edited by Conor Allen (edited May 22, 2001).]
So how many classes do you have, less than 10? And how long did you take to complete the whole thing? Thank You
Matt DeLacey
Ranch Hand
Joined: Oct 12, 2000
Posts: 318
posted
0
I believe I had about 14 classes. I downloaded the project at the beginning of February of this year. I think all total it was somewhere in the neighborhood of 120 hours of work. But a LOT of that was testing and documentation and tweaking. With Respect, Matt
Excellent grade : ) I wonder if you used executable jar files and if so could you help me our with this problem? Using Main-class attribute I try to run server app with this java -jar server.jar textFile.txt but I get the error that the file suncertify\db\Data\binaryDb.dat can not be find. I have the binaryDb in directory suncertify\db\Data, in the whole file hierarchy in included in the server.jar.
Matt, A small question ! How important is it to select appropriate data structure for storing the locked record information. Which one did you use? Thanks, - Ravi.
Thanks,<BR>Ravikiran<BR>rkchoppalli@yahoo.com
Ravikiran Choppalli
Ranch Hand
Joined: Nov 18, 2000
Posts: 49
posted
0
Matt, One more ! I'm wondering how the performance would be affected in using a Vector to a HashSet or Hashtable for storing the locked record numbers. Advice. Thanks, - Ravi.
Matt DeLacey
Ranch Hand
Joined: Oct 12, 2000
Posts: 318
posted
0
Mohammad: I didn't use executable .jar, sorry, I required the evaluator to unjar everything and run in a very specific way.
Rav: I just used a Vector to store locks. I think weighing all the factors is part of the assignment. There is not a wrong way to do any of it, you just have to justify WHY you did something as you did and it has to be somewhat plausible.
Ravikiran Choppalli
Ranch Hand
Joined: Nov 18, 2000
Posts: 49
posted
0
Matt, Thanks for that. Since sun has mentioned : public DataInfo[] criteriaFind(String criteria) is it advisable to change the definition to throw a user defined exception ? or would u leave it just giving some System.out.println stmts ? Ravi.
Matt DeLacey
Ranch Hand
Joined: Oct 12, 2000
Posts: 318
posted
0
Rav: Not sure what you are talking about, but I will say it's probably not appropriate to do system.out.println's anywhere in THIS particular project. Just my humble opinion. With Respect, Matt
Ravikiran Choppalli
Ranch Hand
Joined: Nov 18, 2000
Posts: 49
posted
0
Thank you matt. I'll try to handle all the problems as exceptions instead of giving system.out.println statements. Ravi
Hey Nathan Have u submitted yet? talking about swing thread, my implementation is just created my own thread without relyin on the developed method
Nathan Daniels
Greenhorn
Joined: May 03, 2001
Posts: 21
posted
0
No, I haven't submitted yet. I am having last minutes doubts on my gui. I was stress testing and something weird happened after I had done many searchs and booking. I also many clients up and running. One of my guis suddenly froze. The cursor was blinking in one of the fields but I couldn't enter anything in that field. Can you elaborate a bit more on your custom thread? I am planning to use the SwingWorker thread, but haven't gotten around to it yet. BTW, did you use a security manager on the client side? Right now, I only have the security manager on the server. I had tried putting on the client, then something weird happened with my file chooser. (refer to my file chooser post) Thanks, Nate [This message has been edited by Nathan Daniels (edited May 27, 2001).]
Alex Zhang
Ranch Hand
Joined: Apr 19, 2001
Posts: 68
posted
0
actually I don't think we should we the SwingWorker as it is not the official API from Sun it is only free-use API or marks may be deduced... As I have not used TableSorter, I wrote my Sorter instead...