1-Basics of OOP and Java
1-Basics of OOP and Java
•4) JavaFX
•It is used to develop rich internet applications. It uses a
lightweight user interface API
Types of Java Applications
There are mainly 4 types of applications that can be created using Java programming:
1) Standalone Application
Standalone applications are also known as desktop applications or window-based
applications.
These are traditional software that we need to install on every machine. Examples of
standalone application are Media player, antivirus, etc.
2) Web Application
An application that runs on the server side and creates a dynamic page is called a
web application.
3) Enterprise Application
An application that is distributed in nature, such as banking applications, etc. is
called an enterprise application. It has advantages like high-level security, load
balancing, and clustering. In Java, EJB is used for creating enterprise applications.
4) Mobile Application
An application which is created for mobile devices is called a mobile application.
Currently, Android and Java ME are used for creating mobile applications.
• The latest version of java is Java SE 18
• J2SE:Java 2 standard edition( JRE, Packages)
• J2EE:Java 2 enterprise edition (J2SE+ JSP, Beans,
Framework, API etc)
• J2ME:Java 2 micro edition(for mobile and
portable devices)
• Java Features
a) Simple h)Interpreted
b) Secure i)High performance
c) Portable j)Distributed
d) Object oriented k)Dynamic
e) Robust
f) Multithreaded
g) Architecture neutral
Simple
• Java is very easy to learn, and its syntax is simple, clean and
easy to understand.
• High-performance
• Java is faster than other traditional interpreted
programming languages because Java bytecode is "close"
to native code.
• It is still a little bit slower than a compiled language (e.g.,
C++).
• Java is an interpreted language that is why it is slower than
compiled languages, e.g., C, C++, etc.
• Distributed
• Java is distributed because it facilitates users to create
distributed applications in Java.