CSCP 363: Object Oriented Programming in Java I
CSCP 363: Object Oriented Programming in Java I
KUMASI
CSCP 363
Mr Evans Obu
Content
• What is Java?
• History
• Application of Java
• Object Oriented Programming
• Tools needed for the course
What is Java?
• Java is a programming language and a platform.
• Features
• The principles for creating Java programming were "Simple, Robust, Portable, Platform-independent, Secured,
High Performance, Multithreaded, Architecture Neutral, Object-Oriented, Interpreted, and Dynamic“
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. AWT and Swing are used in Java for creating
standalone applications.
Types of Java Applications cont…
2. Web Application
• An application that runs on the server side and creates a dynamic page is called a web application. Currently,
Servlet, JSP, Struts, Spring, Hibernate, JSF, etc. technologies are used for creating web applications in Java.
3. Enterprise Application
• An application that is distributed in nature, such as banking applications, etc. is called enterprise application.
It has advantages of the 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.
JAVA PLATFORMS/EDITIONS
• There are 4 platforms or editions of Java:
1. Java SE (Java Standard Edition)
• JSE includes Java programming APIs such as java.lang, java.io, java.net, java.util,
java.sql, java.math etc. It includes core topics like OOPs, String, Regex, Exception,
Inner classes, Multithreading, I/O Stream, Networking, AWT, Swing, Reflection,
Collection, etc.
4. JavaFX
• It is used to develop rich internet applications. It uses a light-weight user
interface API.
OBJECT ORIENTED PROGRAMMING (OOP)
• Java is an object-oriented programming language. Everything in Java is an object. Object-oriented means we
organize our software as a combination of different types of objects that incorporates both data and
behavior.