Java is an object-oriented programming language developed by Sun Microsystems back in 1995. The syntax is very similar to C and C ++. All Java programs are compiled into a byte, which, when executed, is interpreted by the platform-specific virtual machine. The advantage of this type of code is its portability.
Instructions
Step 1
Programmers strive to make their creation work faster and more efficiently. They often face the problem of the speed of their programs. These problems lie in different planes, from the weak hardware on which the program is running, to the complexity of the algorithm itself. It's worth understanding the details.
Many people complain that there are a lot of database requests coming from the applet, and the gui is updated slowly, although the requests themselves are processed quickly. The suspicion falls on the web server itself or on the client's applet. But the gurus answer that if it is "Oracle", then there is a tool for catching the most frequent and weak requests. Also filter the code itself and ping the network. And to find out exactly where the program slows down, draw a simple trace using the currentTime command.
Step 2
Solve the problem of accelerating program execution by hardware. BEA recently announced that it could speed up its own version of Java for servers by running software directly on processors. They claim to be working on the JRockit project, a version of their own virtual machine software that runs Java programs that run directly on the computer's hardware. While most Java versions run on top of an operating system like Windows, Linux, or Solaris.
Step 3
Use other tips, which are numerous on the forums for IT specialists, but know that each program is unique and it all depends on the programmer's ability to write such code that would be quite concise and at the same time perform the functions that are expected of him.
Step 4
In this language, they took the C ++ object model as a basis, and also dismantled some conflict situations that could appear through the fault of the programmer. If we go deeper into history, the idea itself was born back in 1991, and the project was supposed to be called oak - oak, but since this name was already used by another company, we decided to call the Java language. Soon, most of the popular browsers started using Java applets inside their web pages.