Help coderanch get a
new server
by contributing to the fundraiser

ushma agarwal

Greenhorn
+ Follow
since Sep 22, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by ushma agarwal

hello Himanshu,

well i need to use both in this project. jsp for view purpose and servlet for business logic. see so far i have designed html pages using MS FrontPage with validation�.actually this my first project so I need lots of guidance�

I will be grateful for your help.

thanks
Hello all,

I need to develop a project on Online examination system. I have installed netbeans 5.5 and oracle 10g. my problem is this I have no idea how to use netbeans, I read Netbeans help and NetBeans Tutorial for Web Applications but still things are not clear.please somebody tell me what all steps I need to take or some resource/website where I can find help.

Thank you all in advance
I was going through a DD there were few elements, which I don�t know, please explain their purpose.
1.<realm-name> under <login-config> like this

<login-config>
<auth-method> BASIC</auth-method>
<realm-name> LDAP REALM </reaml-name>
</login-config>

2.there are few related with EJB/JNDI configuration but I don�t know their purpose
<env-entry>
<env-entry-name></env-entry-name>
<env-entry-type></env-entry-type>
<env-entry-value></env-entry-value>
<env-entry>

<resource-env-ref>
<recource-env-ref-name>jms/stockQueue</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
</resource-env-ref>

<resource-ref>
<res-ref-name>jdbc/EmpDB</res-ref-name>
<res-type>javax.sql.Datasource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</rersource-ref>

3.this one in TLD <variable> and <dynamic-attributes> under <tag> element:

<tag>
<name>custom</name>
<tag-class>com.example.TagHandler</tag-class>
<body-content>empty</body-content>

<attribute>
<name>age></name>
<required>true</required>
<type>java.lang.String</type>
<rtexprvalue>true</rtexprvalue>
</attribute>

<variable>
<name-from-attribute>var</name-from-attribute>
<scope>AT_BEGIN</scope>
<variable>

<dynamic-attributes>true<dynamic-attributes>
</tag>
i want to thank javaranch. this forum helped me a lot in my preprations. you know i have suggested my friends to join this forum. good luck everybody.
16 years ago
Kelvin, please explain in detail why the following code is illegal:



is it because we are not initializing final instance variable in the overloaded constructor?

And in the following code is it just because we are initializing final instance variable in a method and not within a constructor?
Thanks a lot Kelvin and nico for explaining it so nicely
please tell me why the output of the following code is T1T1T3.



why not T1T2T3.

new Thread(new A(),"T2").run();
here we are creating a new thread "T2" and on this thread we are invoking run() method directly.
GC
somebody please tell me what are correct options and why?



thank you in advance!
thanks deepak
now i got the point.
somebody please tell me why //line 2 is giving compiler error?
GC
programmer has written the following class to prevent garbage collection of the objects of this class. Is he mistaken?



and the answer is TRUE.
but i m unable to underttand why its ture. somebody please explain how can we prevent garbage collection.
Hi nikunj,

thanks. i wish you good luck the exam.
hello all,
i am new in this forum. i got to know that javaranch is the best forum for those who are into java. well i need to clear SCJP in one month time that to with good grades ceriously.
i have one book THE COMPLETE REFERENCE JAVA 2 fifth edition --by H.Schildt
and
online documentation of SCJP SUN CERTIFIED PROGRAMMER FOR JAVA 5 SYUTD GUID (EXAM 310-055)--- by Katherine Sierra and Bert Bates
please tell what else i need and how i should proceed.
i am not in a position to buy any mock exam kit so kindly suggest some free links also.