a) Web Application - Java is used to create server-side web applications. Currently, Servlet, JSP, Struts, JSF, etc. technologies are used.
b) Standalone Application - It is also known as the desktop application or window-based application. An application that we need to install on every machine or server such as a media player, antivirus, etc. AWT and Swing are used in java for creating standalone applications.
c) Enterprise Application - An application that is distributed in nature, such as banking applications, etc. It has the advantage of high-level security, load balancing, and clustering. In Java, EJB is used for creating enterprise applications.
d) Mobile Application - Java is used to create an application software for mobile devices. Currently, Java ME is used for building applications for small devices, and also Java is a the programming language for Google Android application development.