In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly shows you "how to use the Java EE architecture", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to use the Java EE architecture" this article.
Introduction to Java EE Architecture
Java EE is a software architecture for enterprise applications. Before we understand it, let's take a look at its development process, which is always closely related to distributed applications and Internet applications.
Java EE and Web: the Internet has fundamentally changed the system requirements for enterprise software. The software needs to deal with a large number of requests from the Internet and respond in a timely manner.
Java EE and distributed applications: in the 1980s, the performance-to-price ratio of personal computers gradually reached the level of high-end workstations and servers, making distributed computing applications rapidly popular. SUN introduced Java, followed by remote method call RMI, and in the late 1990s, Java EE was built on the basis of RMI. For quite a long time, Java EE is a distributed application, which makes Java EE beat CORB An and com +, but also brings huge system interaction overhead (more than an order of magnitude). After all, not all enterprise applications and Internet applications are distributed, which makes some people think that there is something wrong with Java EE architecture. However, this is not Java EE's fault, in the market, Java EE needs to cater to the trend of distributed technology at that time. Now if you don't need to be distributed, Java EE also provides related technologies for you to use, such as Local EJB.
As the architecture of enterprise application or Internet application, there are always the following functional requirements, and Java EE has corresponding specification and implementation.
1.Web support: more and more enterprise applications and Internet applications are based on the structure of 1.Web S, and Java EE corresponds to Serviet specification, which defines Web containers, Serviet components, and JSP&JSTL to deal with dynamic pages.
two。 Transaction support: provides a transaction manager to support the management of transactions, such as single database, multiple databases, and transaction collaboration of data bases and other resources. JTA transaction API and JTS transaction service specifications are provided in Java EE. Transaction support also implements distributed transaction management, managing multiple databases or resources that support transactions.
3. Message service: various systems and system modules of an enterprise interact step by step through message services. Java EE provides JMS services for reliable message exchange between systems.
4. Database persistence layer, Java EE first have EJB specification, and then put forward a more practical operational JPA, these are common methods for enterprises to access the database.
5.Container: provides WebContainer for implementing Serviet, as well as EJB Container, EJB for implementing EJB, and Container for managing these components and providing services that components need, such as JTS, JMS, and so on.
Other technologies include the following:
JWS: this is also a way for distributed systems to interact, and it is a WebService implemented by Java.
JAX-RS: a new technology introduced by Java EE 6 that prevents ST from interacting.
JNDI: find the interface between services and objects, such as finding a configured data source.
JAXP/JAXB: a XML tool that parses and binds Java Bean when XML is popular.
JAX-RPC: a way of interacting with a distributed system, called through RPC.
JACC: security certification.
Java EE Application Server: the Web server that provides all the above services. The Tomcat and Resin commonly used by us can only be regarded as Java EE Web servers. Open source JBoss, commercial weblogic and so on are called application servers.
To sum up, Java EE provides the implementation specification of enterprise application technology, and simplifies enterprise application and Web development.
The architecture diagram is shown below:
The above is all the content of this article "how to use Java EE Architecture". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.