Response - Write - ASP Access To The Response Output Stream., Whereas ASP Uses A Response Object Method
Response - Write - ASP Access To The Response Output Stream., Whereas ASP Uses A Response Object Method
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.
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.
First of all let us start with advantages of both Java applets and ActiveX
control.
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.
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.
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:
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.
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).