Keyur Shah

Greenhorn
+ Follow
since May 31, 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 Keyur Shah

Thank you very much Sahir and to you Sanjib.
Sahir, the program you've given is for JDK1.1.5 and I doubt if it works with JDK1.2 or not. JNI_GetDefaultJavaVMInitArgs is not needed with JDK1.2. I am sorry I was out of town and got your message late. I will try it today and would let you know.
Thanks once again - I am hihgly obliged.
- Keyur
23 years ago
Thanks Sahir !
Well, I need to cast it by (void **) and it gets compiled. But I am getting runtime error!
Thanks once again!
- Keyur
23 years ago
I am trying to invoke a simple java application from native side. While creating a JVM I am getting following error. I shall be higly obliged if I get any suggestions / comments - Thank you.
I am using VC++ 5.0 IDE to compile my natice 'C' program. I receive an error at following line :
/* Create the Java VM */
res = JNI_CreateJavaVM(&jvm, &env, &vm_args);
And the error is :
Error C2664: 'JNI_CreateJavaVM' : cannot convert parameter 2 from 'struct JNIEnv_ ** ' to 'void ** '
23 years ago
I am trying to invoke a simple java application from native side. While creating a JVM I am getting following error. I shall be higly obliged if I get any suggestions / comments - Thank you.
I am using VC++ 5.0 IDE to compile my natice 'C' program. I receive an error at following line :
/* Create the Java VM */
res = JNI_CreateJavaVM(&jvm, &env, &vm_args);
And the error is :
Error C2664: 'JNI_CreateJavaVM' : cannot convert parameter 2 from 'struct JNIEnv_ ** ' to 'void ** '
23 years ago

Originally posted by helloman:
Congrats!
Can u tell us what exam guides u used, how u prepared for the exam and what to watch out for in the exam , etc...?? It would greatly help those who are preparing.


Thanks !
Javaranch has started a separte thread to pinpoint the things which should be taken care of. Try mockexams and clear your concepts - thats needed !
Wish ya all the very best.
- Keyur
Hi Shiva !
Inner classes are something that has tempted me a lot ! And are very very interesting and very powerful if used rightly !
A tutorial for inner classes is availabe on Javaranch ! Try with that ! All the best.
Regards
Keyur
------------------
Hi !
I have cleared my Sun Certification with 85% marks ! Thanks to Maha Anna and to all those who have contributed to Javaranch - from the bottom of my heart !
Regards,
Keyur
------------------
Hi friend !
I wish to appear in the next week. Which mock exams you find best to try with ?
Thanks.
Regards,
Keyur
Hi Friends !
I am trying to retrive data in Applet from a webserver using RMI. The webserver itself has got database. It works well with appletviewer.. but doesn't work with anyof the browser.
What should I write in an applet to inform that I am connecting (creating socket) to a webserver from where it has come from !!! The applet has sandbox restriction.. and it can connect (create a socket) to a webserver form where its loaded !
Can anyone please justify - how to do this !?
Thanks.
- Keyur
23 years ago

Well.. I don't think answer 'c' could be right. Class B & Class C can directly refer member varible (nonstatic) of Class A and member methods (which is not there in this case )
So the point is - without creating an instance of inner Class - B we could not call the method defined inside the class on Class - C.
- Keyur
In my opinion WebLogic is suppose to be the best. I've not used any of these products - but what I've understood from market is yes - WebLogic !!
Wish you all the best.
- Keyur
I am trying to connect to the database(MS Access) which is on the same web-server (Microsoft's personal web server)- but it doesn't work with IE5.
------------------
24 years ago
Hi friends,
Thanks for your time to read and reply.
I am trying to connect the MS ACCESs database on PWS using applet. It works fine with appletviewer but not with IE5. Can anyone help, please ?
-Keyur
------------------
24 years ago

Originally posted by rajapratap:
Can anyone tell me the exact difference between interface and abstract class?


To be little precise with..
Interface are the most beautiful and powerful component provided by Sun people.
To get the utility of an Abstract class one has to extend it.. and that forms a heirarchy. Usually the utility of an abstract class persist with one heirarachy... (or we can abstract out the common functionality of a perticular heirarachy and put it in abstract class).
Where in case with Interface.. it has nothing to do with any class heirarachy.. things which you find common amongst all heirarchy can be put in interface.
Thats the greatest thing I belive. !!!
- Keyur
Adding something with what Milind has said..
the abc method you are calling from the same class hence no need to give a class name.. and Math's method we call from outside the Math class so we have to specify the class name and method name.
- Keyur