Java Application
- Using the Java programming language, we can create two main types of Java applications: standalone applications and Enterprise applications.
- If we design and execute any java application without using client-server architecture than that java application is called as Standalone application.
- Two types of Standalone application
- CUI Application (Characters User Interface)
- It will be designed in such a way to take input data from users through command prompt and to provide output data to the user through the same command prompt, where the command prompt is acting as an user interface.
- It is supporing characters data.
2. GUI Application(Graphical User Interface)
- It is standalone application, it will be designed such a way to take input from users through the collection of graphics component and to provide out data to the users through the same collection of graphics components.
- It is supporting graphic data.
- To prepare applications, java has provided some core libraries
- i.e: java.lang, java.io, java.util, java.awt, javax.swing etc.
- If we design execute any java application on the basis of client-server architecture or by distributing application logic over multiple machine then that java application is called as Enterprise Application.
Two types of Enterprise Application
- Web Application
- It is a client-server application, where the complete application logic will be distributed over server machine.
- In web Application client must be browser.
- JVM is required for server side.
- Distributed application is a client-server application, where the complete application logic will be distributed over both client and server machine.
- In Distributed application client may be a java program servlet, JSP Page framework, structs, spring application.
- JVM is required for both client-server side.
- The purpose of distributed application is to establish communication b/w local machine & Remote machine services from Remote machine to local machine.
In Web application , there are Two types of Response
- Static Response
- Static response is the response generated from service without executing any resource from server machine and without performing any action at server machine.
2. Dynamic Response
- If we generate any resource from server by executing a particular resource or by performing an action at server machine than that response is called Dynamic Response.
- To generate dynamic response server has to execute an application at server machine called as web application.
- To prepare web applications at server we have to use a set of tech called as webTech.
- for eg:- CGI, Servlets JSP etc.
Matri Sharma