Sunday 20 July 2014

Why java is secure portable and platform indepndent????

Java is platform independent because code is compiled into an intermediate language, called "byte code", which is then compiled into native machine code on the system that runs the byte code. In this way, any system that supports Java can run any Java application (well, almost, there are ways to break this mechanism with the "native" keyword). "Portable" is just another term for "platform independent". Finally, Java is claimed to be secure because it runs inside a protected environment, called the JVM (Java Virtual Machine) that stops a program from doing things that the Security Manager has been told should not be allowed (such as modifying or deleting some files, etc). Recent exploits have proven that Java may not be as secure as previously claimed by Oracle.

No comments:

Post a Comment