Applet:
23/4/17
- Applet is an Java program designed to transmit on internet.
- It extends java.lang class and viewed by JVM.
Features of java:
Security:
- Protection is enabled by confining an Applet to the Java execution environment and retain access to other parts of computer.
Portability:
- It can run Java Bytecode (0 and 1 that represents instruction) on any hardware that has complaint JVM.
- It also makes portable independence platform.
Bytecode:
- special features of java to make simple execution.(one or more byte )
Servlets:
- It extends the capabilities of the server
- It compiled into bytecode and executed by JVM.
Simple:
- Java derived from C and C++.
Object Oriented:
- It easy to take input to process and produce output.
Robust:
- To create high priority in design of Java.
- Memory Management makes garbage collections by JVM.
Multithreaded:
- Its the process of executing threads simultaneously.
Architecture neutral:
- At the time of Java creation if you wrote a program today it will run on next day.There is no time guarntee on same machine.
- Continuous upgrades makes program malfunction.
- JVM obtained a solution for the issue.
Distributed:
- TCP/IP protocols helps in handling the environment of internet
- Create distributed applications in Java by RMI(Remote Method Invocation) to access file in any system of internet.
Interpreted and high performance:
- same as JVM
Dynamic:
- Dynamic changes in bytecode by JVM.
Evolution of Java:
- Java 1.0 , Java 1.1 basic features like libraries.
Java 2 or Java 2 platform Standard Edition or J2SE:
Swings
Collections
Framework
All above are enhaced by JVM
J2SE 1.3, J2SE 1.4:
more than three changes were obtained in J2SE 1.3
Assert keyword
Networks
J2SE 5- 1.5 developer version, 5 is product version:
Generics
Static for packages
Enhanced each style of loop.
Enums
Auto boxing and auto unboxing
Java SE 6:
- New API packages(Application programming interface)
Java SE 7 – project icon:
String in switch
Binary literals
Underscore in literals
Multi-catch
Java SE 8:
Lambda expressions- anonymous classes
Java.util.stream – support pipeline operations for LE.
Java.util.function – provides functional interfaces for LE.
Default for interfaces
GUI applications