Home >Java >javaTutorial >What is the use of java ee?

What is the use of java ee?

silencement
silencementOriginal
2019-05-29 14:35:314960browse

What is the use of java ee?

JavaEE is a certain standard that everyone follows when developing enterprise-level web applications using Java. The JavaEE platform provides a component-based approach to simplify development.

1. JDBC (Java Database) database connection

JDBC is a set of Java APIs used to execute SQL, providing a unified way to access different databases, almost all relationships All databases provide JDBC services or drivers. JDBC's access to the database is also platform independent.

2. JNDI (Java Naming and Directory Interfaces) Java naming and directory interface

JNDI is a collection of abstract interfaces for naming directory services, providing a unified standardized connection for enterprise-level applications, making Java can seamlessly obtain any catalogable enterprise information. In JavaEE, JNDI is used to locate various objects, including EJB, database drivers, JDBC data sources and message connections. Since JNDI is independent of the directory protocol, you can also use JNDI to access various specific directory services.

3. EJB (Enterprise JavaBean)

EJB component: JavaBean is a reusable component that can be processed visually in a programming environment. It is a Java component that implements distributed business logic. EJB container: It is the running environment of EJB components and provides services for deploying EJB components, including transactions, security, network publishing of remote clients, resource management, etc. EJB server: manages the high-end process or application of the EJB container and provides access to system services. The one that calls EJB components should be called EJB client, and the client can run in the Web container.

4. RMI (Remote Method Invoke) Remote Method Invocation

The RMI protocol allows an object on a Java virtual machine to call an object in another Java virtual machine just like calling a local object. Methods on the object. It uses serialization to transmit data between the client and the server. RMI is a lower-level protocol used by EJBs.

5. Java IDL (Interface Description Language)/CORBA (Common Object Broker Architecture) Java interface definition language/common object request broker architecture

IDL is used to describe software component interfaces A computer language. IDL describes interfaces in a neutral way so that objects running on different platforms and programs written in different languages ​​can communicate with each other.

6. JSP (Java Server Pages)

JSP pages are composed of HTML code and Java code embedded in it. The server processes these Java codes after the page is requested by the client, and then returns the generated HTML page to the client's browser.                                                            JSP can use the API provided by Servlet, which is generally used in combination with JavaBean to separate interface presentation and business logic.

7. Servlet

Servlet is a small Java program that extends the functionality of the Web server. As a server-side application, execution begins when requested. Most of the functions provided by Servlet are similar to JSP, but the implementation methods are different. JSP is usually a small amount of Java code embedded in most HTML codes, while Servlets are all written in Java and generate HTML.

8. XML (Extensible Markup Language) Extensible Markup Language

XML is a markup language used to mark electronic documents to make them structural. It is used to share data in different business processes. The development of XML and Java are independent of each other, but it has the same goal as Java, namely platform independence. Through the combination of Java and XML, a perfect platform-independent solution can be obtained.

9. JMS (Java Message Service) Java Message Service

JMS is a Java message service. JMS clients can transmit asynchronous messages through the JMS service. JMS is an application programming interface used to communicate with message-oriented middleware. It supports both point-to-point domains and publish/subscribe domains, and provides support for the following types: approved messaging, transactional messaging, consistent messaging, and durable subscriber support. JMS message system Benefits: 1. Provide message flexibility. 2. Loose coupling. 3. Asynchronousness.

10. JTA (Java Transaction API) Java Transaction API

In JavaEE applications, transactions are an indispensable component model, which guarantees user operation ACID (i.e. atomic, consistent, isolation, persistence) properties. For large applications that span data sources, global transaction JTA must be used. Application systems can access various transaction monitoring through the standard API defined by JTA. JTA provides distributed transaction services for the JavaEE platform. It isolates transactions from underlying resources and implements transparent transaction management.

11. JTS (Java Transaction Service) Java Transaction Service

JTS is a component transaction monitor. JTS is the basic implementation of CORBA OTS transaction monitoring. JTS specifies how transaction managers are implemented. The JTS transaction manager provides transaction services for application servers, resource managers, stand-alone applications, and communication resource managers.

12. JavaMail

JavaMail is an API used to access the mail server. It provides a set of abstract classes for the mail server. Not only supports SMTP servers, but also IMAP servers and POP servers.

13. JAF (JavaBean Activation Framework)

JavaMail uses JAF to process MIME-encoded email attachments. MIME byte streams can be converted to and from Java objects. Most applications do not need to use JAF directly.

The above is the detailed content of What is the use of java ee?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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