Sabtu, 07 April 2012

java application

Java is a programming language that can run on various computers, including mobile phones. The language was originally created by James Gosling at Sun Microsystems is still joined at today is part of Oracle and released in 1995. These languages ​​are adopting syntactic contained in C and C + + syntax but with a simpler object model and support a lower-level routines is minimal. Java-based applications are generally compiled into p-code (bytecode) and can run on different Java Virtual Machine (JVM). Java is a programming language that is general / non-specific (general purpose), and is specifically designed to utilize minimal implementation dependencies. Because the functionality that allows Java applications can run on several different operating system platform, java also known as its slogan, "Write once, run anywhere". Java is currently the most popular programming language used, and is widely utilized in the development of various types of software applications or web-based applications.Historical development of JavaJava programming language is born of The Green Project, which runs for 18 months, from early 1991 until the summer of 1992. The project is not using a version called Oak. The project was initiated by Patrick Naughton, Mike Sheridan, James Gosling and Bill Joy, along with nine other programmers from Sun Microsystems. One result of this project is the Duke mascot created by Joe Palrang.Project meeting took place in an office building on Sand Hill Road Menlo Park. Around the summer of 1992 the project was closed by generating a Java program's first Oak, which is intended as a hardware controller with touch screen technology (touch screen), such as the PDA is today. This new technology called "* 7" (Seven Star).After the era of Star Seven completed, a subsidiary of Cable Tv interested plus some of the projects The Green Project. They focus their activities on an office space at 100 Hamilton Avenue, Palo Alto.The new company look up: number of employees increased in a short time from 13 to 70 people. At this period also specified the use of Internet as a medium that bridges work and ideas between them. In the early 1990s, the Internet is still a stub, which is used only in academic circles and the military.They make the browser (browser) Mosaic as an initial basis for making the first browser, called Java Web Runner, inspired from the 1980 film, Blade Runner. In the development of the first release, the Web Runner renamed Hot Java.In about March 1995, for the first time the Java source code version 1.0a2 opened. Their success was followed by coverage for the first time in the newspaper San Jose Mercury News on May 23, 1995.Unfortunately discord among them one day at 04.00 in a hotel room Sheraton Palace. Three of the main leaders of the project, Eric Schmidt and George Paolini from Sun Microsystems along with Marc Andreessen, Netscape form.Oak's name, taken from an oak tree growing in front of the workspace window "Mr Java" James Gosling. Oak's name is not used for the release version of Java as an other software has been registered with the trademark, thus retrieved the name of his successor to "Java". The name is derived from pure ground coffee directly from the seeds (black coffee) Gosling's favorite. It is said that this coffee comes from Java. So the name of the Java programming language comes from none other than Java (Java is the English language for Java).
                                                                    
Early versions ofEarly versions of Java in the year 1996 is already a version of the release so-called Java Version 1.0. This version of the Java standard package includes a number that continues to be developed early in the next version:

    
java.lang: Appropriation basic elements of the class.
    
java.io: Appropriation input and output classes, including the use of the file.
    
java.util: Appropriation complementary class of data structures such as class and class calendar class.
    
java.net: The Allocation class TCP / IP, allowing it to communicate with other computers using a TCP / IP.
    
java.awt: The base class for applications with a user interface (GUI)
    
java.applet: The base class application interface to be implemented on a web browser.

 
Excess

    
Multiplatform. The main advantages of Java is able to run on multiple platforms / operating system computer, in accordance with the principle of write once, run anywhere. With these advantages programmers simply write a Java program and compiled (converted, from which to understand human language into machine language / bytecode) once and then the results can be run on multiple platforms without changes. These advantages allow a java-based program is done on the Linux operating system but runs well on Microsoft Windows. Supported platforms to date is Microsoft Windows, Linux, Mac OS and Sun Solaris. Penyebanya are each operating system uses its own program (which can be downloaded from Java) to meninterpretasikan bytecode.

    
OOP (Object Oriented Programming - Object Oriented Programmers)
    
The Complete Class Libraries, Java is famous for its completeness of the library / library (a collection of programs that are included in the Java programming) is very easy in use by the programmers to build applications. Completeness of these libraries coupled with the existence of a large community of Java that continuously create new libraries to cover all application development needs.

    
C + + style, has a syntax such as C + + programming language to attract a lot of C + + programmers moving to Java. Currently Java is a lot of users, most of the C + + programmers moving to Java. Universities in the United States also began to migrate to teach Java to the new students because it is more easily understood by students and can be useful also for those who are not majoring in computer.

    
Automatic garbage collection, has the facility of setting memory usage so that the programmer does not need to perform direct memory settings (as in C + + is widely used).Shortage

    
Write once, run anywhere - There are still some things that are not compatible between the platform with other platforms. For J2SE, for example SWT-AWT bridge which until now does not work on Mac OS X.

    
Didekompilasi easy. Decompilation is the reverse of the code so it becomes the source code. This is possible because the code is Java bytecode so that saves a lot of the attributes of high-level languages, such as the names of classes, methods, and data types. The same is true of Microsoft. NET Platform. Thus, the algorithm used the program would be more difficult to hide and easily hijacked / direverse-engineer.

    
A lot of memory usage. The use of memory for Java-based program is much larger than the previous generation of high-level language like C / C + + and Pascal (more specifically, the Delphi and Object Pascal). This is usually not a problem for those who use the latest technology (due to trend more and more expensive on-board memory), but a problem for those who still have to stick with machines older than 4 years.Examples of Simple Program In Java Code Examples Hello world program written using the Java programming language is as follows:/ / Outputs "Hello, world!" and then exitspublic class HelloWorld {
   
public static void main (String args []) {
       
System.out.println ("Hello, world!");
   
}}
DynamicOxygen.com - Enjoy High eCPM Rates!