BCA TU Web Technology Chapter 4 The Server Tier Introduction

Unit 4: The Server Tier-  Introduction:

BCA TU Web Tech Chapter 4 The Server Tier Introduction

So, in Chapter one (HTML and CSS), two (Issues of Web Technology) and three (The Client Tier) we studied all about the client tier and frontend. So, by now you must be able to differentiate between client tier and server tier. Client tier is nothing but all the aspects related with the client. What does that include? Everything that can be seen from client side such as HTML, CSS and XML. All these things can be inspected from client device. Now what’s next?

The next thing to study is the client tier: Chapter 4.

In this chapter we will use JSP and apply the concept of backend to see how the full web works. What we have studied earlier is called frontend and now we will be studying backend. We can use many scripting and programming languages to implement/ build the backend of a website but for now we will use JSP.

Then what is JSP?

JSP is stands for Jakarta Server Pages or Java Server Pages. It is a collection of HTML, XML and other document which is used to create dynamically generated webpages.

There are two types of websites.

Static and Dynamic: Static pages are those pages which does not change frequently or fixed most of the time. Such as if you visit any website of a company it will show the same information most of the time, so it is static website. On the other hand, if you visit a news website or blog you will see the content is getting changed in a certain interval of time.

Another example can be of Facebook. The Login page can be taken as static as it is always same and the Home page can be taken as dynamic page as it changes every time and for every user it is different.

Now to learn the JSP we need to install a server on our computer.

A web serer is a computer software or hardware that accepts requests via HTTP or HTTPs (the network protocol use to distribute web pages from Internet) for web pages (Html, JSPs, Php etc. files)

Some of the top web sever are Apache, Microsoft’s Internet Information Services (IIS) and Nginx pronounced as engine-X.

 

Today we will be installing and testing Apache server on our computer. To download visit the link below and download as per your requirement.

https://downloads.apache.org/tomcat/tomcat-9/v9.0.53/bin/

For now, I will be guiding to install for windows OS since most of the people use Windows. Download the file with .ext extension and install it. After installing go into the Root folder of downloaded location and paste a file with following code and save it with ‘test.jsp’

If installed successfully if you type in “localhost:8080” then you will see the following page.

Tomcat Apache Server


And if you add the filename you just added in the root folder you will see something like this.

Tomcat Apache Server

That’s it for today we will continue learning in next tutorial.



After getting few good response from this site, we decided to extend our service and thus developed an app called BCA Guides Nepal. The app has been published on play store. This app provides features like 
  • Downloading Notes
  • Downloading Syllabus 
  • Downloading Question papers
  • Downloading Books
  • Downloading Notices
  • Checking Results within the app
App Download Link : https://play.google.com/store/apps/details?id=com.skthakur.bcaguidesnepal

 

Post a Comment

0 Comments