Helpful Information
 
 
Category: Java Help
Newbie of Java?

I want to learn Java and I want to build a site with Java technology. However, I found lots of terms here!!! What all these mean and their RELATIONSHIP! Confusing!!!

1) JSP (Some Java Server Script??? Just like PHP/ASP?)

2) Java

3) Java Applet

4) Java Servlets

Thanx

To my limited understanding:

1) JSP (Some Java Server Script??? Just like PHP/ASP?)
Just an extension for Java Servlets

2) Java
The language itself, and use to develop standalone applications

3) Java Applet
Non-standalone, use for enhanced websurfing experience http://www.devshed.com/Talk/Forums/smile.gif I mean this is the web part of Java apps

4) Java Servlets
The new tech. that I don't know much! Server-side feature that allow you to write scripts/apps on the server and use for the web http://www.devshed.com/Talk/Forums/smile.gif

Beat me if I'm wrong http://www.devshed.com/Talk/Forums/smile.gif

------------------
Son 123finder.com (http://devshed.123finder.com/) - Free Domain Name Generator
ad-rotator.com (http://devshed.ad-rotator.com/) - Free ad rotator system for small businesses/sites

OK
JSP = java server script (online game)
Java = an awesome programing language the core of all Java
Applets = a form of java to display images/text/etc (you would use this for a web site)
Serverlets = ? I really just don't know.

These are the kinds of things when you must learn how to use google, or any other search engine, They will give you results much quicker than a forum. You should just ask for things that are specific to your problem on forums. Just a heads up :tbulb:

1) JSP - it stands for java servlet pages and they are a way to embed java code into html pages in order to make them dinamic,useful when creating websites. Works well in conjuction with java servlets.
2) Java - a programming language that its rather powerful yet simple to understand currently maintained by microsun systems. In order to make a program in java you first compile it into java bytecode and that is interpreted by the Java virtual machine at the moment of running. It's used for all the othe things in the list.
3)Java Applet - its basically a control that you place embedded into a webpage in order to add functionality.
4)Java Servlets- they basically create html pages when a request happens to them and its java's way of generating html responses.

here is a link for servlets and jsp somewhat old i think
http://www.coreservlets.com/

JavaServer Pages (JSP) is a Java technology that allows software developers to dynamically generate HTML, XML or other types of documents in response to a Web client request. The technology allows Java code and certain pre-defined actions to be embedded into static content.
The JSP syntax adds additional XML-like tags, called JSP actions, to be used to invoke built-in functionality. Additionally, the technology allows for the creation of JSP tag libraries that act as extensions to the standard HTML or XML tags. Tag libraries provide a platform independent way of extending the capabilities of a Web server.
JSPs are compiled into Java Servlets by a JSP compiler. A JSP compiler may generate a servlet in Java code that is then compiled by the Java compiler, or it may generate byte code for the servlet directly.

Java is an object-oriented programming language developed by Sun Microsystems in the early 1990s. Java applications are, in the official implementation, compiled to bytecode, which is compiled to native machine code at runtime. Sun Microsystems provides a GNU General Public License implementation of a Java compiler and Java virtual machine, in compliance with the specifications of the Java Community Process.
The language itself borrows much syntax from C and C++ but has a simpler object model and fewer low-level facilities. JavaScript, a scripting language, shares a similar name and has similar syntax, but is not related to Java.

An applet is a software component that runs in the context of another program, for example a web browser. An applet usually performs a very narrow function that has no independent use. Hence, it is an application -let. The term was introduced in AppleScript in 1993. An applet is distinguished from "subroutine" by several features. First, it executes only on the "client" platform environment of a system, as contrasted from "servlet." As such, an applet provides functionality or performance beyond the default capabilities of its container (the browser). Also, in contrast with a subroutine, certain capabilities are restricted by the container. An applet is written in a language that is different from the scripting or HTML language which invokes it. The applet is written in a compiled language, while the scripting language of the container is an interpreted language, hence the greater performance or functionality of the applet. Unlike a "subroutine," a complete web component can be implemented as an applet.

The Java Servlet API allows a software developer to add dynamic content to a Web server using the Java platform. The generated content is commonly HTML, but may be other data such as XML. Servlets with JavaServer Pages are the Java counterpart to dynamic web content technologies such as CGI/PHP or ASP.NET/VBScript,JScript,C#. Servlets can maintain state across many server transactions by using HTTP cookies, session variables or URL rewriting.

hope it helps...










privacy (GDPR)