13 core technologies of J2EE and J2EE13 core technologies
I. JDBC (Java Database Connectivity)
JDBC APIs provide a unified way to access different databases. Like ODBC, JDBC shields developers from some details. In addition, JDBC access to databases is also platform-independent.
II,JNDI (Java Name and Directory Interface)
The jndi api is used to run the name and directory services. It provides a consistent model to access and operate enterprise-level resources such as DNS and LDAP, local file systems, or objects on application servers.
III,EJB (Enterprise JavaBean)
One of the reasons why J2EE technology has won widespread media attention is EJB. They provide a framework for developing and implementing distributed business logic, significantly simplifying the development of scalable and highly complex enterprise-level applications. The EJB specification defines when and how the EJB component interacts with their containers. Containers are responsible for providing public services, such as directory services, transaction management, security, resource buffer pools, and fault tolerance. However, it is worth noting that EJB is not the only way to implement J2EE. Due to the openness of J2EE, some vendors can achieve the same purpose in parallel with EJB.
IV,RMI (Remote Method Invoke)
Call methods on a remote object. It uses serialization to transmit data on the client and server. RMI is a more underlying protocol used by EJB.
With the support of Java IDL, developers can integrate Java and CORBA. They can create Java objects and expand them in corba orb, or they can also create Java classes and serve as the customers of the CORBA objects expanded with other ORB. The latter method provides another way through which Java can be used to integrate your new applications with old systems.
VI,JSP (Java Server Pages)
A JSP page consists of HTML code and Java code embedded in it. The server processes the Java code after the page is requested by the client, and then returns the generated HTML page to the browser of the client.
Servlet is a small Java program that extends the functions of Web servers. As a server-side application, it is executed when requested, which is similar to CGI Perl script. Most of the functions provided by Servlet are similar to those provided by JSP, but the implementation methods are different. JSP usually embeds a small amount of Java code in most HTML code, while servlets is all written in Java and generates HTML.
8,XML (Extensible Markup Language)
XML is a language that can be used to define other Markup languages. It is used to share data in different business processes.
The development of XML and Java are mutually independent. However, the same objective of XML and Java is platform independence. By combining Java and XML, you can get a perfect platform-independent solution.
IX,JMS (Java Message Service)
JMS is an application interface (API) used to communicate with message-oriented middleware ). It supports both point-to-point domains and publish/subscribe domains, and supports the following types: Approved message transmission and transactional message transmission, supports consistent messages and persistent subscribers. JMS also provides
One way to integrate your application with the old background system.
10,JTA (Java Transaction Architecture)
JTA defines a standard API, which allows the application system to access various transaction monitoring data.
XI,JTS (Java Transaction Service ):
JTS is the basic implementation of the transaction monitoring function of corba ots. JTS specifies the implementation method of the Transaction Manager. The Transaction manager is a Java image that supports the Java Transaction API (JTA) specification at the high-level level and implements omg ots specification at a lower level. JTS Transaction Manager provides transaction services for application servers, resource managers, independent applications, and communication resource managers.
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 supports IMAP servers.
XIII,JAF (JavaBeans Activation Framework)
JavaMail uses JAF to process MIME-encoded email attachments. MIME byte streams can be converted to Java objects or to Java objects. Most applications do not need to use JAF directly.