Qi Chen

Greenhorn
+ Follow
since Dec 13, 2000
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 Qi Chen

Hi Balaji,
Thanks for your response.
I understand your opinion and I agree with you that the specs can be implemented in different ways, but do you really think your approach implemented the requirements I quoted?
More specifically, notice the word "by this connection" in (1), and the word "the caller" in (2).
I guess in your approach, a record locked by one caller of the method lock(int) can be unlocked by another caller of the method unlock(int).
Congrats, Balaji.
Since you said for locking you did not use any client id, I
am wondering how you achieved the following:
(1) from instruction:
If an attempt is made to unlock a record that has not been locked by this connection, then no action is be taken.
(2) from code comment of the unlock method:
Ignore if the caller does not have a current lock on the request record.
Thanks.
Vladan,
Thanks for your information.
Regarding my question 1, I just found out J2EE contains a
server engine. Run
C:\j2sdkee1.2.1\bin\j2ee.bat
starts the server at port 8000, assuming default setting.
19 years ago
I have two questions:
1) I just installed J2EE, I am wondering if it contains a servlet engine, or I need to get a servlet engine/web server
seperately?
2) Is J2EE a prerequisite for installing Tomcat web server?
Thanks.
19 years ago