G Nair

+ Follow
since Sep 28, 2009
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 G Nair

Is there any function in Java for the following scenario ?

User will enter day and time range for example : MON to FRI 0800 AM to 0500 PM which has to be converted from that local TimeZone to GMT TimeZone with this range to be converted into GMT ?

Can some one help me for this please ...
12 years ago
Thank you so much Rob , These kind of questions have been asked for interviews wherever i go , so would like to know more about the which book from the following can help me

1.Complete Reference Java
2.Head First Java
3. SCJP book by cathy

Please let me know if you have any like for the same .
12 years ago
I have some of the doubts for OOPS concepts of Java , need more clarification about what happens in the background

1. Why cant we assign a super class object to sub class refrence ?
2. why its not necessary to have a same return type for overloaded methods and overriden methods ?
3. when (compile/run time) is it getting decided that which overladed / overriden method has to be called and why ?
4. exact diffrent between compiler and interpreter and how do they work in the background ?
5. what is Java compiler ? compiler + interpreter ? or only interpreter ? need more clarification on this ?

Please provide me the link or clarification on this above ... and also it will be great if i get alink for such kind of basic details ...
12 years ago
Even me too want book for spring ............

please mail us about this , if any new book is released by you ppl will definetly buy one copy of it ...
12 years ago
Hi as there was a practical question asked to me in to create multiple instances of tomcat on single server , after reading lot of article in google and then carried following steps , but cant access other two instances created for tomcat.

1.Have actual tomcat directory at C:\Program Files\apache-tomcat-6.0.20 which has bin directory

2. created two instances of tomcat server under path
C:\Program Files\Tomcat\server1 and C:\Program Files\Tomcat\server2

3. copied log, conf , webapp,temp and work along with server.xml from tomcat at step 1

4. changed port numbers in server.xml to diffrent and unique in each instances server.xml
e.g. for server1
<Server port="8004" shutdown="SHUTDOWN">

<Connector port="8079" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />

<Connector port="8008" protocol="AJP/1.3" redirectPort="8443" />

similarly for server2 and diffrent and unique ports

5. I set environment varibles as CATALINA_HOME =C:\Program Files\apache-tomcat-6.0.20 and JAVA_HOME = C:\Program Files\jdk1.5.0_06

6. then i started tomcat by following command at command prompt
C:\Program Files\apache-tomcat-6.0.20\bin>startup.bat

7.Opened IE and hit all the following site in diffrent tabs of IE

http://localhost:8080/ -- For C:\Program Files\apache-tomcat-6.0.20 -- worked fine

http://localhost:8079/ -- For server1 -- did not open required tomcat site

http://localhost:8078/ -- For server2 -- did not open required tomcat site

Can some one help me in identifying the mistake i have done and guide me the right way to do this
12 years ago
I am SCJP certified and never worked for this before . But really the work suddenly has demanded for the same and urgently ...

I need your help friends about how and which book will give me the basic knowledge about the same (spring) . need book like Head First which can be downloaded at free of cost in the office so that i can study in my office hours too ...

Let me also know if you people have any link for the PDF book .............
12 years ago
yes I downloaded and go it , but is that the same document which can e found at C:\Program Files\apache-tomcat-5.5.28\webapps\tomcat-docs ??? or is there any other path for it ??
12 years ago
I am SCJP certified and planning to give SCWCD Exam too .

but would like to know more about tomcat server , can some one give me the link for Tomcat user guide / best book to download to understand about Tomcat server configurations and other related files in and out so that if I face interview tomorrow I will be in a position to answer all theoretical and practical answers .
12 years ago
Bharat ,

Please do write some tips how did you prepare for this exam? for those people who will be giving in future .
12 years ago
Thank you Tanya for your great words !
Hi Adi

Can you give me some idea about the fees structure for SCJP-5 and SCJP-6 ?

I stay in Thane ... so I think Ghatkopar will be the better place for me to give the exam ...

do you know any other center which will be near to me ..... I have already mailed about this to NIIT people but haven't got any reply yet
I think now I am on right track ...

cold you help me now !! please !!
I am extremely sorry for using abbreviations ... This will not be repeated again !!