0% found this document useful (0 votes)
62 views4 pages

Response - Write - ASP Access To The Response Output Stream., Whereas ASP Uses A Response Object Method

1. ASP is a server-side scripting technology developed by Microsoft that uses Visual Basic scripting language. JSP is a server-side technology developed by Sun that uses the Java programming language. 2. ASP typically runs on Microsoft technologies like IIS web server and Microsoft databases, while JSP is platform independent and can run on open-source technologies like Apache Tomcat and connect to any database. 3. A key difference is that ASP development requires paid Microsoft technologies while JSP is open-source and free to develop on.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views4 pages

Response - Write - ASP Access To The Response Output Stream., Whereas ASP Uses A Response Object Method

1. ASP is a server-side scripting technology developed by Microsoft that uses Visual Basic scripting language. JSP is a server-side technology developed by Sun that uses the Java programming language. 2. ASP typically runs on Microsoft technologies like IIS web server and Microsoft databases, while JSP is platform independent and can run on open-source technologies like Apache Tomcat and connect to any database. 3. A key difference is that ASP development requires paid Microsoft technologies while JSP is open-source and free to develop on.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

ASP:-

1-asp stands for Active Server Pages a server side scripting technology made by microsoft and it
use Visual Basic language. in short if you know how to program in Visual Basic then you can
easily makae asp pages.
ps. ASP .NET the new age of ASP work on several programming language. mostly on VB . NET
and C#

2-theoretically you can connect to any database through ADO if you used the required addon.
though asp fully supports connecting to access database (no server required) and support also MS
SQL connection.

3-mostly it works on Microsoft IIS server. other servers can support asp also but mostly it works
on IIS web server on windows machine.
so system,web server,DBMS and scripting language would be Microsoft product. in another
saying every thing would be Microsoft made bundle.

4-because neither windows now IIS is free, ASP is not a free language.
5- Response.Write - ASP Access to the response output stream. , whereas ASP uses a Response object
method.

6-ASP costs money


7- ASP code is interpreted , which means the code has to be read each time a page is called
8- ASP if there are fewer changes.ie it is slower some times

9- Majority of Windows users use ASP , has to rely on Active X, COM or other microsoft
technologies to really enhance functionality of the code.

JSP:
1-on the other hand jsp technology is not microsoft made thing. it stands for Java Server Pages.
and developed by Sun. it uses Java language as the scripting language. and accordingly if you
know Java then you can easily start creating your website in jsp

2-jsp is not known to be twined with any database. so you can connect to any database system
simply by loading the driver for the database then connect. I use mysql my self when coding in
jsp.

3-jsp website is mostly supported by Apache Tomcat web server and work mostly on Linux
based web server.But it also runs on JBOSS and IBM application servers. JSP is definitely best if
your running a linux or unix server, and should work more reliability over all. It can take a bit of
work to configure tomcat to work with Apache though.

4-because Linux, Apache tomcat is free, you can develop you own jsp website without having to
pay a dim.

5- out JSP - JSP provides a convenience object for direct output to this stream
6- JSP is free.

7- JSP code is compiled at run time, into java classes which makes for a much faster page
generation.
8. JSP code can run faster than
9- while users of open source operating systems like Linux use JSP among others. jsp can bring in
every java capability.

10-JSP technology is designed to be both platform and server independent, created with input from a
broader community of tool, server, and database vendors. In contrast, ASP is a Microsoft technology
that relies primarily on Microsoft technologies.

COMPARE ASP & JSP:


JSP and ASP are fairly similar in the functionality that they provide. JSP may have slightly
higher learning curve. Both allow embedded code in an HTML page, session variables and
database access and manipulation. Whereas ASP is mostly found on Microsoft platforms i.e. NT,
JSP can operate on any platform that conforms to the J2EE specification. JSP allows reusable
components by using Javabeans and EJBs. ASP provides the use of COM / ActiveX controls.

Features ASP JSP


Use with multiple servers No Yes
Use with multiple platform No only Microsoft Windows Yes (Solaris operating
environment, Windows NT and
other Microsoft Windows
platforms, Mac OS, Linux, etc)
Customizable Tags No Yes
Re-usable components No Yes
across platform
Java Beans component
architecture
Open standard industry No Yes
collaboration and support
Security No  Yes
Ability to separate content Yes Yes
generation from content
presentation. Using COM object
Programming language VBScript, Jscript Java
supported
Dynamically generates Yes Yes
HTML
Applet Vs ActiveX control

First of all let us start with advantages of both Java applets and ActiveX
control.

Advantages of Java Applet:

 The same applet can work on “all” installed versions of Java at the same time,
rather than just the latest plug-in version only
 Supported in almost all browsers like Google chrome, Internet explorer and
Mozilla Firefox etc.
 Can fully access memory if user agrees to do so.
 It supports cross platform compatibility. That means it is easier to work with
applets on any platform.
 Can run at a comparable speed to other compiled languages such as C++, but it
can run many times faster than JavaScript.
 It can move the work from the server to the client.
 It can make web solution more scalable with the number of users/clients.
 Caches in most web browsers to load quickly when returning to a web page.

Disadvantages of Java Applets:

 It requires the Java plug-in, which isn’t available by default on all web browsers.
 An implementation of the Sun Java plug-in does not exist for 64-bit processors.
 Some organizations only allow software installed by the administrators. As a
result, many users cannot view applets by default.
 Applets may require a specific JRE
 It cannot start until the Java Virtual Machine is running, and this may have
significant startup time the first time it is used.
 It is considered more difficult to build and design a good user interface with
applets than with HTML-based technologies.
 If entrusted, it has severely limited access to the user’s system – in particular
having no direct access to the client’s disk or clipboard.

Advantages of ActiveX control:

 ActiveX allows the creation of web pages having active content which will attract
and hold users.
 ActiveX components can be created by using Visual Basic, Visual C++, Borland
Delphi, Borland C++, Java, and Java-enabled tools.
 There are many tools available in market for its use without any changes.
 ActiveX components are automatically downloaded from the specified server
when the page is opened. We can avoid repeated download of same ActiveX
content if the ActiveX control has already been downloaded and the version of
the control is the same as the one specified in the web page.
 ActiveX controls can be re-used in other applications, or can be used to create
new controls with extended functionality.
Disadvantages of ActiveX control:

 ActiveX is not compatible as it is supported on Intel architectures. Also it is


supported in Internet Explorer (version 3.0 and above),
 Security is a major disadvantage with ActiveX controls. ActiveX has no
restrictions to prevent controls from using resources on the user’s computer.

Similarities in Java Applet and ActiveX control:

 Both look very similar when running in a browser window and are
indistinguishable while running.
 A Java Applets and ActiveX control allows you to create a mini-program that will
run at client side.

Difference between Java Applet and ActiveX control:

 ActiveX has some advantages over Java. ActiveX controls have full access to the
Windows operating system, which gives them much more power than Java
applets. Also, the controls you download are saved to your hard drive every time
you visit a different web page. Java, on the other hand, requires you to download
a Java applet each time you visit a page because applets are not cached. Also,
Java applets are limited in function since they cannot interact with a user’s
machine outside of a specified “sandbox”, which is a barrier between the applet
and the rest of the user’s computer.
 Java applets cannot start events and ActiveX controls can.
 ActiveX control needs some DLL to run on client side if these file are not present
at client side then they are downloaded from Internet. On other hand Java
Applets are only needs to be downloaded at client side without need of any other
files to run them.
 ActiveX controls are installed on the user’s machine and added to the Registry.
This means that the second time the user accesses a control, there is no
download time at all, it just starts running
 Java applets do not have the same licensing support, or a distinction between
runtime and design time use, as ActiveX controls. That makes it harder to retain
exclusive use of your applets.
 ActiveX controls run much faster (about ten times) than the Java applet.
 Applets are more cross plat formed than ActiveX controls.
 ActiveX controls generally require user permission before coming up; Applets just
instantly start.
 An ActiveX control has total access to your system; an Applet runs in a
“sandbox” and cannot access anything outside of the browser. ActiveX controls
can be in nearly any language (including Java). Applets must be written in Java
(there are rare exceptions to this).

You might also like