Java EE 7 Technology at a glance

Source: Internet
Author: User
Tags xml stylesheet glassfish jboss wsdl

Java EE 7 provides a complete, comprehensive, integrated stack to help you build enterprise and Web applications.

Java EE container

Mostly JSF (JavaServer Faces) and EJB (Enterprise Java Bean) Two parts, JSF relies on EJB, and is heavyweight, JSF uses a lot of component control pages, similar to STRUTS2 tags EJB is doing a good job, compared to SPRING,EJB no need to make any configuration, the internal JPA specification, can and hibernate seamless access, but the learning curve is still very large, and server requirements, with Tomcat server also need and JBoss collocation, Beginners learn to use GlassFish.

Web Container

This part of the content is more, Java EE 7 Newly added to the brown-yellow part, namely WebSocket, Concurrency Utilities, Batch, Json-p, the new additions are mainly for HTML5 to provide better scalability, these spring have, I don't know if it's part of Spring's function. Although there are many technologies, there are in fact a JSR white paper statute, some of which have been finalized, some are still in the draft and the continuous revision phase (in fact, they are in the maintenance phase).

Here are some common conceptual terms:

JWS: Java Web Service, which refers to WebService-related Java EE technology, WebService is an XML-based standalone, standalone application, and XML contains XSD, DTD, XPath and other related technologies, this aside. The WebService platform elements are mainly soap (Simple Object Access Protocol), UDDI (general description, Discovery and collation), and WSDL (WS description Language).

JAX: Java XML, similar to JAXB (Java XML Binding)

Currently JWS mainly include:

    1. Jax-ws full name JAVATM API forxml-based Web Services is also called Jax-RPC, as the name implies Web services
    2. jax-rs Full name javatm API forrestful Web Services use rest style
    3. JAXB
    4. JAXR
    5. SAAJ
    6. STAX

What the internet says about Jax-WS and JAX-RS: The two are different styles of SOA architectures. The former takes the verb as the center and specifies that the function is executed every time. The latter is centered on nouns, and each time it is executed, it refers to resources.

The feeling is more reliable, JAX-WS is message-oriented, each time a request to specify the method of the request. Jax-rs is resource-oriented. After the network of things as a resource, each request is to operate on the resource, such as the deletion of resources to check and change.

About the rest style, before the Jax-rs has already appeared, the earliest appeared is the Restlet, Resteasy frame, later is jersey, and now Oracle's GlassFish use is jersey, relative restlet function is complete, Component expansion, page and template technology rich, due to appear earlier, led to Restlet developed their own set of MVC technology, Jersey is also a set of Jax-rs products, the interior provides several sets of containers and servers, roughly grizzly2, Jdk-http, Simple-http, jetty these kinds. Jersey MVC is a bit similar to spring MVC (as it is, it is almost identical), but only JSP and freemarker two view technologies.

CDI: Contexts Dependency injection, similar to the spring IOC, is the ability to inject context, requests, and responses into components through annotations.

JTA: Java Transaction API, using hibernate and EJB should know that transaction processing, JTA depends on the container, if not distributed development, we generally use local transactions, that is, the database itself transaction processing.

JPA: The Java Persistence API, which is the most commonly used persistence technology, is originally part of the EJB, and EJB3.0 later separated out as an independent specification. As an ORM technology, JPA provides a basic standard of unification, and now the JPA draft is in the maintenance phase, and some versions of the corresponding Hibernate framework are in the final version.

JMS: The Java message Service, similar to JDBC, provides a unified API for other vendors to implement, primarily for client information interactions, with JMS being primarily point-to-dot and subscribe/publish two ways.

In addition, like Java Mail, JSTL, JSP and so on these again familiar but not to say.

Some common technical abbreviations are listed below:

EJB:Enterprise JavaBeans JavaBean Components
IDL:Interface definition Language Interface Definitions language
JavaCA: Java ee Connector Architecture Java EE Connector architecture
JAAS: The Java authentication and Authorization service Java Certified Licensing Service
JACC: Java Authorization contract with the Container?? Java Container Licensing contract
JATMI: Java application-to-transaction Monitor Interface? Java application-Transaction Monitoring interface
JBI: Java Business Integration Java service integration
JCA: EE Connector Architecture java Connector architecture
JCP: Java Community Process java organization
JDBC: Java Database Connectivity
JDO: Java Data Objects
JDK:? Java Development Kit
Jems: JBoss Enterprise Middleware Suite JBoss Business Middleware
JMS: Java Messaging service Java messaging Service
JMX: Java Management extensions Java Management extension
JNDI: Java naming and directory Interface Java naming and directory excuse service
JPDA: Java Platform Debugger Architecture?? Java Platform Debugger Architecture
JRMP: Java Remote Message Protocol
JSP:Java Server Page
JSTL: Java standard Tag Library Java standards Tag libraries
JTS:Java Transaction Service Java transaction Services
JTA: Java Transaction API Java transaction API
JVM: Java Virtual machine java VM
MVC: Model-view-control
NIC:Network Interface Card
O/R: object-relational
OTS: Object Transactional Services
PKI:Public Key Infrastructure
POJO: Plain old Java Object
RMI:Remote Method invocation

RMI/IIOP: RMI protocol over IIOP

EJB is divided into three types:
sessIon Bean (Session bean)
entity bean (Entity Bean)
MessAge Driver bean (message-driven bean)

The Session Bean is divided into two types:
State less session bean (stateless session bean)
State full Session bean (stateful session bean)

entity beans are divided into two types:
CMP: Container Manager persistence (container management persistence)
BMP: Bean Manager persistence (bean management Persistence)

otherAbbreviation noun:
BPEL: Business Process Execution Language Orchestration Execution language
BPM: Business process Management Orchestration Management
DAO: Databases Access object database accessing objects
DOM: Document Object Model documents
DTD: Doc type definition document type definitions
DTO: Data Transport Object Data transfer objects
ESB: Enterpriseservice Bus Enterprise Services
POJO: Proterozoic Java object Java native object
SAAJ: Soap with Attachments APIs for JAVATM Java-attached SOAP API
SAX: Easy API for XML parsing XML parsing processing simple API
SAML: Security Assertions Markup Language
SGML: Standard generalized Markup Language SAML (Security Assertion Markup Language): Secure Assertion Markup Language
SLA: Service level Agreement Services levels Agreement
SNMP: Simple Network Management Protocol: Simplified Web Management Protocol
SOA: Service oriented Architecture
SOAP: Simple Object Access Protocol
Spengo: Simple and Protected GSS-API negotiation mechanism easy and protected GSS-API negotiation mechanism
SPI:* *service Provider Interface): Service Provider Module interface
SSL: Secure Socket Layer)
SSO: Single sign-on): one-point login
SSPI: Security Service Provider Interface): Secure Services Provider Module interface
StAX: Streaming API for XML): XML Streaming API
UDDI: Universal Description,discovery,and Integration
VO: Value Object Value objects
WFMS: Workflow Management System
WSDL: Web Service Description Language
Wsee: *web Services Enterprise Edition
WSRP: *oasis Web Service for Remote Portlets
XA:* *extended Architecture Extension Architecture
XACML: XML access Control Markup Language
XSLT: XML Stylesheet Language for transformations

Description

Strictly speaking, Java EE also has EJB containers and client containers. Where the EJB container does not have a servlet, the client container (application client Container) does not have a servlet and persistence.



Java EE 7 Technology at a glance

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.