General discussion

Locked

web server

By fakafg ·
can you please tell me you can about web servers,their functions as per the internet and developing web applications in java.

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

web server

by eBob In reply to web server

The world-wide web (WWW) is one of several services available on the Internet. (The Internet is a collection of networks which span most of the world, and all run the TCP/IP suite of protocols.) The WWW is primarily made up of pages written in a text-based file format. These files include "markup tags" which can be as simple as formatting text (<B>bold</B> will print the word "bold" in bold-face on the user's screen), through calls to sophisticated back-end applications. This format is known asHTML (Hypertext Markup Language).

Typically, a single page will include links to other pages. This linking is the "hypertext" idea. The linking across the Internet is handled by a protocol called "Hypertext Transfer Protocol" which is a subset ofTCP/IP.

Very few (useful) "web applications" are written in JAVA. Most web content continues to be simple HTML. There is typically some client-side scripting, usually in JAVASCRIPT (which is completely different from JAVA!) that is used to dynamically adapt the page to the users' display devices, or other environmental concerns.

A very common situation is to have back-end applications written to comply with "CGI" (common gateway interface). These applications typically run on the server,and access databases, other applications and interact with the server systems and network. CGI can be written in virtually any programming language: Perl, C++, VB, to name a few.

...

Collapse -

web server

by eBob In reply to web server

...
Now: JAVA.

A person could start a fight by saying that JAVA has turned out to be a bit of a "dud" as far as writing web applications goes. It seems that it is not as simple as was once proposed. Most JAVA apps end up having very strict system requirements (not the "one piece of code runs on any box" we were sold a few years back). Most JAVA apps are very low to load up to the client system (for some strange reason - likely it has to do with the loading of the JAVA interpreter).

For this reason, you will find very few JAVA apps on the web.

For what it's worth, JAVA is an interesting environment for developing "appliances". In concept, it's possible to develop a little gizmo that you wear on your wrist that can be a watch and aPIM and a phone (a la **** Tracy, for us old folks!) and an interface for your microwave and so on, with much of the apps written in JAVA. (Something called BLUETOOTH would also figure into such a device, but that's another story...)

Since you ask about the basic functionality and role of "web servers" you are clearly new to this world (welcome - but watch out, it's habit forming). I'd recommend taking one step at a time. Try setting up a server on your PC at home. Apache or Microsoft Personal Webserver are a couple available. Then follow their tutorials and knock together some simple HTML pages. Get some good books (www.oreilly.com). The start exploring the truly useful: dynamic HTML, XML, CGI, ASP (as in Active Server Pages) and so on.

Good luck.

Collapse -

web server

by fakafg In reply to web server

The question was auto-closed by TechRepublic

Collapse -

web server

by Cedric King In reply to web server

Web servers are where websites are stored. This TechRepublic site is stored in a Web server.
Internet are mainly joined with Web Servers. Without Web Servers, you will not be able to surf websites. This is the function of them in the Internet.
Developing web application in Java usually creates Applets. Applets runs off HTML, or rather it is embedded into the web pages. Developing web applications and any other kind of applications in Java is the same, just that the target audience is different. Developing web applications in Java or any other language is the same too, just that the language is different.

Collapse -

web server

by fakafg In reply to web server

The question was auto-closed by TechRepublic

Collapse -

web server

by fakafg In reply to web server

This question was auto closed due to inactivity

Back to Web Development Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums