j2ee|services| notes
Learn some Java EE every week, make some notes.
Goal: Be proficient in using WebSphere to do Java EE development work.
Come on! Come on!! Come on!!!
1. Platform Services Overview
1 provide services for application programming deployment. 2 Naming Service: It can help application clients look for enterprise beans, and find Web Components that access naming environment through Java naming Directory Interface (JNDI). 3 without changing the source code can be customized component 4) using the Jndi interface, the Java EE component can locate its own Environment name content (environment naming context,sorry, do not know translation is not correct) 5 components can be established: JAVAX.N Aming. InitialContext object 6) Locates environment naming context in InitialContext under the name Java:comp/env 7) group can query system and user-defined objects
2. Deployment and Security
1 Platform services and Deployment Services: allows components and applications to be customized when packaged and deployed Deployment is a series of multiple units 2 each unit contains a deployment descriptor xml-based Text file: Describes how to assemble and deploy the unit into a specific environment Both the Web container and the EJB container have their own specifiers 3 deployment specifiers that include multiple elements related to customizing the Java Platform Service Services (Transaction) security 4) transaction Services Provided by the Java application, which supports transactions, divides the application into the smallest unit that cannot be divided ensure that transactions do not conflict with other process: otherwise completely undoes whatever work the unit has. All-or-nothing proposition, completes or Rolls back. 5) simplified application development No error recovery and multiple user programming trouble 6 Security services allows applications to be designed to be user-only access to the form of resources access includes two steps: confirmation      &NBsp; Authorization
3. Services technology (Service technologies)
1 using the Java EE platform, so that enterprise applications through a unified model, access to a wide range of services JDBC API in Java platform and tabular data source to establish an independent database connection Java transaction API (JTA) 2) and directory Interface (JNDI) have access to any independent directory naming service by accessing the associated property containers of objects and objects within the same directory, components that may be available on different servers using JNDI storage, and removing any type of named Java Object 3 LDAP NDS DNS NIS (for UNIX) 4 connector schema
4. Communications (communication)
The Java EE platform can communicate with many structures via: Internet Protocol: TCP/IP, HTTP, and SSL Remote method invocation protocols Object Management Group protocols Messaging Technologies:java message Service, JavaMail data format: HTML 3.2, image file, jar file, class file, XML File
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.