Ravikiran Choppalli

Ranch Hand
+ Follow
since Nov 18, 2000
Merit badge: grant badges
For More
http://i.am/RaviKiranC
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Ravikiran Choppalli

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.
I got my certificate today. YES, we get a new Logo with it.
- Ravi.
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.
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.
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.
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.
Graphic Java I and II are authentic books on swing. You may try them too.
Good Luck.
- Ravi.
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.
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.
Dilip,
Congratulations on a very good score.
I've seen you very active in these groups for some time. Keep doing the good work.
Actually, I've given the written test on 5th july, and am still waiting for the result.
Already started preparing for SCJEA ??
Bye
Ravi.
Hi,
Hearty congratulations on your success.
I want to prepare for partI. I just completed my SCJD. Waiting for the result !!!
Could you please guide me thru, by giving the overall idea about how u proceed to take this exam ?
I'm currently rummaging thru other questions already posted, but your advice could help me. where to start with, what to do etc.
Thanks,
- Ravi.
Hi,
I'm little bit confused now. I've already submitted by assignment on thursday. But I used KAWA IDE to generate javadoc. I just placed all the java files in a folder and ran Javadoc from the IDE. It created all the HTML files including index etc. But I don't have HTMLS on Packages. Is that OK ? If anyone knows that is O.K. please reply back. That would be GREAT.
Thanks,
Ravi.
For your First Question, I too had some difficulty, so I changed my implementation to Default Table Model. It was quite easy using that. Just needs to update the vector using setDataVector, and then call fireTableDataChanged() method.
For the second question, I feel that the BackSpace keyevent is also getting consumed since it does not fall between '0' and '9'. May be you should not let backspace event to get consumed.
Thanks,
Ravi.
Thanks for the reply.
One more question is :
If I run my client on Linux, it gives me bunch of errors like this.
I tried setting the default lookandfeel. but no use..
Will this be of any hindrance for the exam ?
Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Thanks,
Ravi.
My Congratulations on your achievement.
I have a small question. What are the permissions you set in the server policy file ? did u give all permission ?
Thanks,
Ravi.