Hemant Bhaiya

Greenhorn
+ Follow
since Nov 01, 2000
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 Hemant Bhaiya

I am trying to start weblogic server in debug mode through JBuilder but when weblogic server starts up,on the console it prints a message that "server is started in RUNNING mode". How can I make sure that the weblog server is started in debug mode when using with JBuilder?
Thanks in advance.
Regards,
Hemant
20 years ago
Hi Friends,
I am executing some code from the command promp using a batch file and in weblogic server. I wish to debug this program using JBuilder. If somebody can please help me regarding how to do the remote debugging from Weblogic server run in a command prompt to JBuilder?
Thank you.
Regards,
Hemant Bhaiya
Mumbai
21 years ago
Hi All,
I am new to EJB.
Can you please suggest me the best book for learning EJB? How is Ed Roman book? Which other books are available online?
Thanks in advance.
Hemant Bhaiya
Sun Certified Java2 Programmer
Hi Friends,
one of my friends has the SCJP coupen with him and it is valid upto 31st Jan 2002 but due to some compultions he will not be able to appear for the exam.So if you or any of your friend is interested in purchasing the coupen he is ready to give a very good discount and lots of thanks for helping him.
So if anybody is interested please contact me ASAP.
I live in Mumbai,India.
Ph. No. 022-8292669
or mail me.
Thanks in advance.
Regards,
Hemant Bhaiya
Hi Friends,
one of my friends has bought a SCJP 2 exam coupen from Bombay.
Actually he was expecting a Java project in his company but unfortunately it didn't turn out and so he has not got a chance to work on Java much.Now, he is not much interested in giving the certification exam.So if anybody of you or your friends want it then please mail me at hemantbhaiya@hotmail.com .In this way you will help that poor chap.
He has purchsed that coupen for 7,000 Rs and if you are interested in buying it then you can get it at discounted rate.It is valid upto 31st January 2002.
Thanks & regards,
Hemant Bhaiya
P.S. You should be in or around Mumbai,India so that I can get in touch with you as I am in Mumbai.
[This message has been edited by Hemant Bhaiya (edited August 24, 2001).]
Thanks Ajith & Tom for your efforts.
But I would really appreciate if you can send me some actual program (as Tom has said) and the steps needed to run that e.g.installing some package or downloading some stuff(as asked by Ajith).
So can you please help me this way?
Thanks & regards,
Hemant Bhaiya
Hi All,
can anybody tell me a simple program that uses xml with Java including the XML DOM?
What are the things I need to do other than installing JDK to run my program with XML DOM?
Thanks & regards,
Hemant
You want to know Applet-Applet communication or Applet-servlet communication?
Please clarify.
Luv,
Hemant
22 years ago
In Servlets, we can override the service() method or doGet()/doPost() to get the work done.But what is the criteria for selecting whether to use the service() method or any of other two methods?Is there any performance improvement when we use service() method directly?
22 years ago
Hi,
I assume that there will be a primary key field in your XML structure so as to retrieve record on that basis.
Here's what you can do:
Var node
node = DOM.getElementsByTagName(Primary Key Tag Name)
for (int i=0;i<node.length;i++)
{
if(node.text = "The value for the record you want to retrieve" )
{
//Now you are on the desired record and can get the contents.
}
}
I hope this works.
Thanks.
Hemant
Hi Friends,
thanks a lot for your wishes.
About threads :
Yes threads is the section which should be given more attention.I got seven questions on threads and got five correct(i.e. I missed 5 questions in the total exam out of which 2 were from threads).Questions on threads were somewhat length i.e. 3 questions were 17-19 lines long.And all were using wait(),notify frequently.This does mean that you should have a good understanding of synchronization concepts as well as you should have time to think over them as they are long and they will consume more time(If I would had got 5 more minutes I may got 1-2 correct answers more).
So I would suggest that if the thread question is much long i.e. nearly 20 lines and including wait() method,you should not try to crack your brains only on that question.Instead leave that one for a while,go ahead and solve other questions as the other questions on the other topics are quiet easy and you can get through them easily and quickly.Try to finish these remaining questions as early as possible (but carefully) then at last come back to thread questions and try to solve them.
Three or four questions on threads (i.e. out of total seven) are easy i.e. asking for which run() method will run or writing run()as taking string parameter i.e. run(str) which will give compiler error,are easy and you can try them solving in the first attemt itself as then can be done easily.
About IO : IO is easy.I got five question.Four of them were on constructors i.e. if you want to append to file which constructor will be used i.e. FileOutputStream(String "FileName",boolean append) or constructor used for specifying character encodin i.e. InputStreamReader and OutputStreamWriter.One question was on a method of File class i.e.testing the functionality of isDirectory() function of the File class.
Other sections were also very easy and are more or less same as described by the fello Javaranch people who has passed this exam earlier.
Best of luck for all who are going to appear for the test.Believe me it's really very easy to pass if you are well prepared (If you want to score good % i.e. above 80-85 % then you should study hard.).
Regards,
Hemant

[This message has been edited by Hemant Bhaiya (edited December 04, 2000).]
23 years ago
Hi Santosh,
passing % has been changed and it has come down to 61%.
(I passed the exam on the last thursday itself with 91%.My scoresheet mentions that passing % is 61%).
Regards,
Hemant
Hi Friends,
I am not a quiet active participant in the Javaranch discussions(though I participated in some and posted some queries also,for which I got good replies also).But I am a regular visitor to this site and I liked this site very much.
I personally feel that this is the best site for SCJP I have ever seen (I don't know about other certication programmes much).
The discussion,material,links and all otherthings which this site privides is really great.
I would like to thanks Ajit and all other for their good replies and really nice discussions.
I would also like to thanks Mapraputa,because after 4 th Oct i.e.when the exam pattern changed,I was very much uncertain about the new exam and very nervous also.But then I saw a posting from Mapraputa,that he has scored 93% with new pattern and that assured me and gave me an inspiration.
Today morning I appeared for the "SUN Certified JAVA 2" examination.I passed the exam with 91% marks.
The exam co-ordinator told me that this is the highest score anybody has scored from the center since the exam pattern is revised.It thrilled me.
The exam was easy and I found that just 4-5 questions were difficult(3 of them were from threads).I got one question which was having only one option correct but it said me to select two and so I have to select the second me which was not correct but was comparatively closer one and I selected it and I got that question wrong.That question was very easy (about a constructor for FileOutputStream which will append to a file but the otions were not correct.Ajit,please let me know that can I contact to SUN about this?
So if anybody of you wants any info regarding the new pattern exam then they are most welcome.But please give me some time i.e. upto monday to recollect the things as I am little busy today with some other things.
I am feeling very happy and much relieved.
Thanks a lot to all of you for reading this long post patiently.But this patience will definitely help you in preparing and appearing for SCJP. .
I will be coming here regularly as this is my one of the most favourite site.
Thanks a lot again.
Regards,
Hemant Bhaiya
23 years ago
Hi Ajith,
I read the explanation given by you about immutability.It's nice.
But I am still confused whether Math class is immmutable or not.
Immutable means once assigned a value in a constructor then it can't be changed.In Math class we can't invoke a constructor and so there is no question of changing it.
Is Math immutable.
Hi All,
if I get a question with depricated method as an option then what should I do?
e.g. if the exam asks for a method that will stop the thread and the options include stop() method.
What should I do in such situations?
Please reply soon as I am giving the exam in the next week.
Regards,
Hemant