what is jvm? how can it is useful in java?
Answers were Sorted based on User's Feedback
Answer / msandeepk
jvm stands for Java Virtual Machine. It is the program
which runs java programs. We can define heap size of jvm.
In java garbage collection is taken care by jvm. Hence user
need not concentrate on garbage collection. The default
algorithm jvm uses is mark and sweep algorithm. We can even
change the algorithm.
jvm is considered very useful because jvm can be hardware
and o/s dependent. But the compiled class file is
independent to be run on any platform. All this is possible
because of JVM's capability and features.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / ashok ramchandnai
JVM is used to run java byte code. JVM is the one that takes java byte code and converts into machine specific instructions.
User compiles a java program and creates .class file that is nothing but the byte code and can be run on any of the machine that contains a jvm.
JVM takes this byte code and execute the programme.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / elancheliyan rajendran
jvm is Java Virtual Machine.when you compile the java
program the jvm is creates byte code.Then we can run any
other platform.
| Is This Answer Correct ? | 1 Yes | 0 No |
Define the struts in the j2ee framework?
What is the difference between session bean and entity bean ?
What is java 2 platform, standard edition (j2se)?
What is the J2EE module?
What is java gui?
What is create method?
What are the main components of the j2ee application?
i developed a Stateless Session bean program.And created a client by a common java class as class m {p s v m(String s[]){....}} And i called the bean deployed in weblogic.from cmd prompt And that run. mind it i have to set setenv,seting classpath for that bean jar file before compile and run it. ok when i do a servlet programme deployed in tomcat and call that bean then it give classdefnotfoundException and NoInitialContext like this.So how i sucessfully do this? Ok when i call that bean from java class from the console like i previously told, if i don't set setenv i found the same error on the cmd prompt. pls help to get out of it
Is java safe to download?
On which platform j2ee is based?
Which software is used for java?
What is ejb jar file?