Narayan Veeramani

Greenhorn
+ Follow
since Jun 06, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Narayan Veeramani

Took me about about 10 days for the result.
The Adaptor pattern was used on the client side to wrap remote/local Data class. Factory was used to create a singleton instance of the server object. I don't think that the factory is needed.
1.) Used RMI over serialization
2.) did not use client id for tracking the client - so did not change the lock signature
3.) Provided online help
4.) JTable - using AbstractDataModel
5.) For the GUI layout, used a GridBag Layout
6.) Used the Adaptor pattern and Factory pattern
7.) Had a business booking tier sitting between the client GUI and the remote database server
The written exam is trivial and just took about 20 mts.
I would like to thank this forum participants for helping out.
Let me know if you have any questions and Good luck!

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): 51 Documentation(maximum = 20): 18 GUI(maximum = 24): 20 Server(maximum = 53): 49
I submitted / uploaded my exam yesterday. But I have not received any acknowledgement email from Sun. Do I need to contact Sun and find out whether they received the exam?
One approach is to extend JTextField and create your own
MaskEdit Field which only accepts numeric values. For this
you will need to override createDefaultModel() method &
return your own Document object.
Congratulations! death pac.
I would appreciate if you could answer this question.
Did you include the server stub in the client jar file?
Or did you use the rmi.server.codebase property to dynamically
download it from the server machine?
Also for the policy file, did you grant all permissions?
Further did you test the project on both Unix and Windows platforms?
[This message has been edited by Narayan Veeramani (edited July 17, 2001).]
Thanks Akanimo and Doug for your feedback. I am planning on making these changes and see whether it works.
Is anyone downloading the server stub from the server machine.
I am running into unmarshal exception and it is unable
to find the stub classes.
When I have the stubs on the client side, it runs fine.
I am setting the java.rmi.server.codebase property, unless
I am doing it the wrong way. Further it seems to be able to
locate the policy file. Has any one run
into similar problems.
[This message has been edited by Narayan Veeramani (edited July 11, 2001).]
With Corba, u can have heterogenous platforms, for example
C++ client and java server. With RMI, both clients and server implementations are in Java. Further Corba interfaces are written
in IDL. For RMI, u can just write usual
Java interfaces.
[This message has been edited by Narayan Veeramani (edited July 10, 2001).]
22 years ago
I am planning on having a single Jar file which contains other
Jar files as well as documentation plus source code. So they
will need to unjar only once. But it does not matter as long
as you clearly specify the installation instructions in
the README file.
Congrats! and thanks for explaining your design.
Good luck with your UML exam.
Congrats for passing the exam!
You mentioned that
"I spent a day at the end working to greatly simplify my command lines, using executable jar files. The command line entry for my client application took no parameters. The command line entry for the server only took a couple."
Can you please elaborate on this and give some hints regarding
how u did this?
[This message has been edited by Narayan Veeramani (edited July 03, 2001).]
I presume that you have the vector locally declared within
the method (not a member variable of the class). In this
case, there won't be any problem with multiple threads
accessing the criteriaFind method.
But still I am declaring this method as synchronized because
the method uses the file pointer to iterate through the database file. So if multiple threads are concurrently allowed to execute this method, the file pointer (of the member variable RandomAccessFile) may get messed up.
Interesting observation, Thomas.
It is bizzare that the readRecord() method is synchronized while
the writeRecord() has not been declared synchronized.
Further within the criteriaFind() method,
I am calling the seek() method to loop through the records in the file. Is it required to make this method synchronized as well for preventing the file pointer from
getting messed up by multiple threads?

[This message has been edited by Narayan Veeramani (edited July 01, 2001).]