Home > Java > Java Tutorial > body text

What is the relationship between jsp and java

(*-*)浩
Release: 2020-09-15 16:34:37
Original
10172 people have browsed it

jsp can be understood as a script, and java can be understood as an object-oriented language; then jsp is mainly responsible for page presentation, while java is responsible for logic and business processing; in fact, jsp is essentially a servlet, and servlet is essentially a java class.

What is the relationship between jsp and java

This article will give you a relationship between JAVA and JSP, as well as a complete understanding of JAVA

Recommended courses: JavaTutorial.

JAVA is divided into J2EE, J2SE.J2ME. The following are introduced respectively:

1. J2EE: Java 2 Platform Enterprise Edition Enterprise Edition, Used for enterprise applications and supports distributed deployment.

The J2EE platform consists of a complete set of services (Services), application program interfaces (APIs) and protocols.

It provides functional support for the development of multi-tier Web-based applications. . It contains 13 core technical specifications:

(1) Java Database Connectivity (JDBC)

Use a unified way to perform various database operations Access

(2) Java Naming and Directory Interface (JNDI)

is used for naming and directory services, which provides a consistent model to access and operate the enterprise Level resources such as DNS and LDAP, local file systems, etc.

(3) Enterprise Java Beans (EJB)

Provides a framework to develop and implement distributed business Logic, significantly simplifying the development of scalable and highly complex enterprise-level applications

(4) JavaServer Pages (JSPs) This is what you call JSP!!!!!!

Used to create dynamic web pages

(5) Java servlets

The functions provided by Java servlets are mostly similar to JSP, but the implementation methods are different

(6) Remote Method Invocation (RMI)

Call some methods on the remote object, using a continuous sequence method to transfer data between the client and the server

(7)Interface Description Language (IDL)

Integrate Java and CORBA

(8)Java Transaction Architecture (JTA)

Can access various transactions

(9)Java Transaction Service (JTS)

Specifies the implementation method of the transaction manager

(10)JavaMail

An API used to access the mail server. It provides a set of abstract classes for the mail server

( 11) JavaBeans Activation Framework (JAF)

JavaMmail uses JAF to process MIME-encoded email attachments. The MIME byte stream can be converted into or from JAVA objects

(12)Java Messaging Service (JMS)

is an application programming interface (API) used to communicate with message-oriented middleware

(13) Extensible Markup Language (XML)

XML is a language that can be used to define other markup languages

The above JSP is the mainstream, based on MVC implementation, the most popular It is also the safest to use (compared to websites made in other languages)

Among them, EJB is the most difficult thing to learn in Java

But now the Sun company has come out with a new technology: java FX,

can be executed in the browser like FLASH, but a plug-in must be installed. For details, please see www.sun.com

2. J2SE: Java 2 Platform Standard Edition Standard Edition, used for desktop applications, is also the basis of J2EE.

Includes JAVA basics, IO, Swing, AWT, threads, collections and other knowledge. It is also the only way to learn JAVA (basics)!

3. J2ME: Java 2 Platform Micro Edition Mobile version for small devices and is a subset of J2SE.

The main technologies are as follows:

Connected Limited Device Configuration [CLDC]: It is one of the two configurations that constitute the Java runtime environment of mobile information devices with limited resources. . CLDC describes the most basic libraries and virtual machine features that must be provided by all J2ME environment implementations that include a K virtual machine (KVM).

Mobile Information Device Profile [MIDP]: It is one of the two configurations that constitute the Java runtime environment of mobile information devices with limited resources. MIDP provides core application functionality, including user interface, network connectivity, local data storage, and application lifecycle management.

Connected Device Configuration [CDC]: is a standards-based framework for building and delivering applications that can be shared across many network-connected consumer and embedded devices.

Mobile 3D Graphics API for J2ME [M3G]: It is a lightweight interactive 3D graphics API that is used as an optional package in conjunction with J2ME and MIDP.

So the relationship between JAVA and JSP you mentioned suddenly became clear!

JAVA is a programming language that can write applications, mainly used in network programming superior.

JSP is a network programming language based on JAVA and can only be used on web pages.

JavaScript is a web scripting language that can be embedded in HTML and interpreted and executed by the browser.

jsp can be understood as a script

java is an object-oriented language

The function of jsp is mainly responsible for page display, java is responsible for logic, and business processing

The essence of jsp is servlet, and the essence of servlet is java class. This is the relationship.

The above is the detailed content of What is the relationship between jsp and java. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
jsp
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!