Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Difference between Servlet & ASP

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 05-02-2010
Member
 
Join Date: Dec 2009
Posts: 32
Difference between Servlet & ASP
  

Hi Friends,

I am learning the advanced java programming. In which the servlet concept is going on. But I am quit getting confused between Servlet and ASP. Both these used for the same purpose and having similar functionality. I have referred various books for this issue, but haven't got proper details. Please let me know some differences between Servlet and ASP. I would greatly appreciate your any help.

Reply With Quote
  #2  
Old 05-02-2010
Member
 
Join Date: Apr 2008
Posts: 2,000
Re: Difference between Servlet & ASP

Servlet require a JVM to run. So it is necessary to have a Java virtual machine, an engine that implements the Servlet API Servlets and possibly a Web server. These various components involved in the delivery system Servlets cooperate in a well determined. The Java virtual machine can be connected in many ways the Web server that handles requests from the user, this depends on the type of solution chosen. In this case the integration of Servlets in the Web server is important .
Reply With Quote
  #3  
Old 05-02-2010
Member
 
Join Date: May 2008
Posts: 2,290
Re: Difference between Servlet & ASP

A servlet is a Java program running within a server and responding to customer requests. The servlet is deployed in a container. The container provides a runtime environment for the servlet and manages its lifecycle. In virtually all cases, it is in the context of the Internet or an intranet and client requests are requests HTTP. The container is then a web container and the servlet is part of a web application. "Web Container" is the new name "servlet engine".
Reply With Quote
  #4  
Old 05-02-2010
Member
 
Join Date: Oct 2005
Posts: 2,389
Re: Difference between Servlet & ASP

The ASP language is a programming language created by Microsoft in order to boost Web sites, it does not work in fashion, native only on Windows platforms. The ASP language, has its own file extension (*. asp). This means that when you surf the web and you can see in the url default.asp example, you know that the site is hosted Windows NT and uses asp technology. The ASP runs server side, this means that scripts you write will never be visible in a customer browser.
Reply With Quote
  #5  
Old 05-02-2010
Member
 
Join Date: May 2008
Posts: 2,382
Re: Difference between Servlet & ASP

Hi friend,

The advantage of ASP is that it can be used with various scripting languages such as VBScript or JavaScript. The file is a file asp htm evolved in which one integrates scripts. Each of these scripts is framed by tags: <% And%> to separate other tags of ASP. ASP means Hasctive Server Pages (active server pages), this term means not much except that it emphasizes the active character and dynamics of a page written.
Reply With Quote
  #6  
Old 05-02-2010
Member
 
Join Date: Feb 2008
Posts: 1,845
Re: Difference between Servlet & ASP

Once the servlet code written and compiled, the servlet must be deployed within a web container. Initialization parameters for servlets and applications minimizes the initialization code (hard code). For example, if a servlet requires access to a database, the best place to put the details on this database (URL the database and pilot channel) is the deployment descriptor. This will change the configuration of the database without having to recompile the servlet. The process of deploying servlets and web application is standardized.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Difference between Servlet & ASP"
Thread Thread Starter Forum Replies Last Post
JSP and Servlet problem Devabrata Software Development 5 21-07-2010 12:12 AM
Servlet static variable Sheenas Software Development 5 06-03-2010 10:24 AM
Logging a Message in a Servlet D_chapple Software Development 5 20-02-2010 08:21 PM
What is Servlet container? Sonam Goenka Software Development 5 05-02-2010 07:13 AM
Invoke servlet from EJB components? Nurhan Software Development 3 01-04-2009 09:59 AM


All times are GMT +5.5. The time now is 05:24 PM.