Tag: server

Set up Apache Tomcat8 and Eclipse on Arch Linux

Set up Apache Tomcat8 and Eclipse on Arch Linux

Here we are going to set up Apache tomcat and Eclipse on Arch Linux to JavaEE development. Before that take look at what are these tomcat and Eclipse.

tomcat .pngapache

Apache tomcat is a web server( can handle HTTP request and responses ) specially created to deploy JSPs and Java Servlets.

eclipse.png

Eclipse is an integrated development environment (IDE) used in computer programming, and it is the most widely used Java IDE. It contains a base workspace and an extensible plug-in system for customizing the environment.

Now on we discuss about how install and configure these tool. Continue reading “Set up Apache Tomcat8 and Eclipse on Arch Linux”

Advertisements
How create HTTP-Server using python Socket – Part II

How create HTTP-Server using python Socket – Part II

Hi guys, today i am going to show you hove add some extra features to our simple HTTP-Sever created using python socket module. So if you have no idea what is it please refer my previous blog post.

Previous post I describe you how send string as response. Here i will explain how send file. Yeh ! .html , .css , .jpg , .png and .js files can send. Again i want to say if you have no idea about this please first read this post.

First we should identify which file is client request. Then we can check whether its available in our container or not. If file exist we can send it and if not we should send error message saying file not exist.

Continue reading “How create HTTP-Server using python Socket – Part II”

How create HTTP-Server using python Socket – Part I

How create HTTP-Server using python Socket – Part I

Hi guys today I am going to give very brief introduction about how create web server using python socket. There are several ways to do that. But here i will explain how cover basic functionalities of server using python socket.

The SimpleHTTPServer module has been merged into http.server in Python 3.

  • First identify what is a server ?

A server is a computer program that provides services to other computer programs (and their users) in the same or other computers. ( The computer that a server program runs in is also frequently referred to as a server. )

If you want to know more about that use this links.  : What is server , How server works

Now I think you have understood about how server do its job and why we need server. Then start developments.First,

  • What is socket ?

Continue reading “How create HTTP-Server using python Socket – Part I”