Why web applications?
The kind of application we can develop using java SE are1. Stand-alone application
2. Distributed application
Stand-alone application are two types
1. Console application (GUI)
2. Desktop application (GUI)
Stand-alone application can provide service to one client at a time.
- To provide service to more clients, client/server model is introduced. This type of application in java are called distributed applications.
- In java socket programming is introduced (java networking) to create distributed application in java.
- In socket programming, client application is installed in multiple systems across network, to connect with a server application.
- In socket programming some problems are identified
- Client application is need to be installed at each client system. To take with a server.
- If a server location is changed then each client application is need to be modified separately.
- To run the client application client software is also need to be installed at client side.
In case of web application, we have the following advantages.
- No need to install client application of client-side just browser is enough.
- Even though a server location is changed but a client system can connect with the server.
- No special software is required at client-side.
What is web application?
- A web application is a server side application that runs on a server and provides services to client across the globe.
- A web application is a server and produces web pages onto a browser.
What a web Application contains?
A web application contains two types of resources1. Static or passive resources
2. Dynamic or active resource.
- Passive resource are the files which always run on a browser.
- Active resource are those files which always run on a server.
- A web application, which comprises only static resource are called static or presentation-oriented web application.
- A web application, which comprises both static and dynamic or only dynamic resource are called dynamic or service-oriented web application.
- For example : online tutorial contains only static resource. So it is a static web application.
- For example: gmail.com is a web application, which provides service like mailing and charting. So it is a dynamic web application.
- To create a dynamic web application both client side and server side technologies are used but to create a static web application only client side technologies are used.
- Client side technologies ate html, css, java script.
- Server side technologies are servlet, JSP, ASP, PHP, Cold fusion etc.
- A dynamic web application creation and execution need following
- A browser to send a request
- A client and server side technologies to create a web application.
- A serve to host a web application.
- A database for storing / reading data.
No comments:
Post a Comment