Prasad Subramanian

+ Follow
since Aug 24, 2000
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Prasad Subramanian

Taglibs are a collection of Java Classes that follow the Java Beans model ,and implement a particular function ( like iterating thru a collection or a recordset).These functions are accesible in JSP using custom tags.
Custom tags are similar to ordinary tags in HTML like <HTML>/<HTML> , <BODY>/<BODY>.
You can specify your own name for these with a set of attributes foe each tag. Each tag would have a TagHandler class ( the Java Class I mentioned above), that would implement a Tag Interface or
derivative of it (javax.servlet.jap.tagext.*). The TagHandler would need to have a setter method for each of the attributes.
The Tag Handler would implement the exact function of the Tag and a TagLibraryDescriptor (which is a XML file) would create a mapping between the tag handler class and the tag name.
It would also contain additional details on the attributes, their types,variable defined by the tag if any ,and auxiallary calsses to validate the tags.
<foo:customtag attri1="val1" attr2="val2">
//Body of the tag
19 years ago
I have a few doubts :
when does the JVM exit ?
a) when all the non -daemon threads are dead ?
b) when all threads incl. daemon are dead ?

What happens to the threads when the executing program terminates ?
I guess the non daemon threads terminate , but what abt non daemon ?
What does one mean by "stopping a thread "
does it imply :
stop "running " and get inyo waiting /sleeping
or "stop" altogether itself !!
Pls help !!
I have been taking a few mock test and took a SCJP ( the real one !! :-( ) and found a few ques on Garbage collection. I referred to RHE as well as few sites .I could not find anything that is explains garbe collection with clarity.
Can anyone help me?