What is the difference between Java,
JSP, Java-script, Java Servlet and JQuery?
Java
is an object oriented, concurrent, class based computer programming language
that implements the principle of Write Once, Run Anywhere. Programs written in
Java are typically compiled into bytecode, that runs on a Java Virtual Machine.
The JVM ensures you can run your Java program on any platform.
Java Servlet is
basically a server side program, that primarily respond to client requests.
They are deployed in a web container, and a servlet is an object that receives
a request and generates a response. Though they communicate with any
client-server protocol, they are used primarily with HTTP protocol.
JSP or JavaServer Pages is used to create dynamic web pages, based on HTML or XML. In a
sense JSP gets translated into Java Servlet at run time, and is cached to be
reused. It is primarily used as the view component of a typical MVC
architecture. Basically it combines dynamic Java code with static HTML pages,
and delivering the final web page.
This diagram
gives a good indication of relation between JSP and Servlets
JavaScript is a high level, dynamic programming language used primarily for client
side validations or functions. It has it’s own built in functions for arrays,
text, dates, but does not support any I/O or storage functions.
JQuery is
essentially a Java Script library that simplifies the client side scripting ofHTML. It is structured in such a way, that it simplifies selection of DOM
elements, creating animations, handling Ajax applications. It also enables
developers to create their own plugins on top of the existing library, which in
turn helps in creating powerful dynamic Web pages and applications.
No comments:
Post a Comment