INFO 6250 Lecture Notes - Lecture 2: Alexa Internet, Java Servlet, Web 2.0

74 views3 pages

Document Summary

Info 6250 - lecture 2 servlets introduction. Users are consumers of these static pages. Users are consumers and producers of the pages. Alexa. com ranks other websites, google is the no. Advantages of servlets over cgi (common gateway interface). Cgi is an interface for c, c++ etc. not a programming language. Perl is a good language for unix platform. Connect to that network (client server model)- Client has the browser and the server has the web server. Created a process to handle each request. Cannot be used by high traffic sites. It is easier to start to a thread. No. of threads are limited by cpu. (2 ghz cpu) -> concurrent. Fast is cgi but came to late now. Use threads not processes for higher efficiency. Use the complete packages you have to use. Import javax. http. httpservletrequest; public class helloworld extends httpservlet { private string message; public void init() throws servletexception.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents