Amit Kumargupta

Ranch Hand
+ Follow
since Apr 13, 2007
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 Amit Kumargupta

I question was : what would happen if someone puts a login module after the subject is made read only (by editing the configuration as the login module are very modular . May be written by a login module developer and various login modules may be plugged during the install time ) and I think it has been answered by Rahul.
15 years ago

Originally posted by Rahul Bhattacharjee:
you might want to call setReadOnly() on the Subject , to make that unmodifiable .



If I have somemore login modules in that stack and after the subject is made readonly whether will it be possible to again set that to read write mode.

If there is someother login module trying to set some principal , then it would not work as the subject has been made readonly before.
15 years ago
Hey Rahul ::

What happeds if I add some more princlapals to the subject after the completion of the login process.
15 years ago
In Marker Interface there are no method so Why we are implements marker interface in the class if there no method in marker interface.

Can anybody clear my this doubt
15 years ago
Its depends on the what kind of data you storing....
16 years ago
Java Interview




Q. What is the difference between an Abstract class and Interface?
A. Terms are different ... Nothing more

Q. What is JFC ?
A. Jilebi, Fanta & Coffee

Q. Explain 2 tier and 3 -tier Architecture ?
A. Two wheelers like scooters will have 2 tyres and autorickshaws will have 3 tyres.



Q. I want to store more than 10 objects in a remote server ? Which methodology will follow ?
A. Send it through courier.

Q. Can I modify an object in CORBA ?
A. As you wish , I do not have any objections.

Q. How to communicate 2 threads each other ?
A. Non living things can't communicate.

Q. What is meant by flickering ?
A. Closing and opening of eyes at girls.

Q. Explain RMI Architecture?
A. I am a computer professional not an architect student.

Q. What is the use of Servlets ?
A. In hotels, they can replace servers.

Q. What is the dif ference between Process and Threads ?
A. Threads are small ropes. Make a rope from threads is an example for process.

Q. When is update method called ?
A. Who is update method?

Q. What is JAR file ?
A. File that can be kept inside a jar.

Q. What is JINI ?
A. A ghost which was Aladdin's friend.

Q. How will you call an Applet from a Java Script?
A. I will give invitation.

Q. How you can know about drivers and database information ?
A. I will go and enquire in the bus dep to.

Q. What is serialization ?
A. Arranging one after the other from left to right.

Q. What is bean ? Where it can be used ?
A. A kind of vegetable. In kitchens for cooking they can be used.

Q. Write down how will you create a binary Tree ?
A. When we sow a binary seed , a binary tree will grow.

Q. What is the exact diffe rence between Unicast and Multicast object ?
A. If in a society, if there is only one caste, then it is Unicast, else it is multicast
16 years ago
Doctor: I regret to tell you that you have a brain tumor.

Mr. Bean: Yesss!!! (jumps in joy)

Doctor: Did you understand what I just told you?

Mr. Bean: Yes of course, do you think I'm dumb?

Doctor: Then why are you so happy?

Mr. Bean: Because that proves that I have a brain!


============================================================ ===============

Teacher: What is 5 plus 4?

Mr. Bean: 9

Teacher: What is 4 plus 5?

Mr. Bean: Are you trying to fool me, you've just twisted the figure, the answer is 6!!


============================================================ =================

Friend: How was the tape you borrowed from me, is it Ok?

Mr. Bean: What do you mean ok, I thought it's a horror film. I didn't see any picture.

Friend: What tape did you took anyway?

Mr. Bean: Head Cleaner.
16 years ago
OOOPS! Sorry
16 years ago
Ultimate Comdey


[ August 29, 2007: Message edited by: Ernest Friedman-Hill ]
16 years ago
Its looking superb

16 years ago
Partyyyyyyyyyyyyyyyyyyyyyyy

16 years ago
I am not sure this is correct information or not....

Web applications use a standard directory structure defined in the J2EE specification.
Each Web application contains WEB-INF directory.This directory, created automatically during application creation, contains metadata about the application.

A web.xml deployment descriptor, which is a J2EE standard XML document that describes the contents of a WAR file.
16 years ago