Learn some J2EE every week, make a point notes.
Objective: You can use WebSphere to develop J2EE development work.
Come on! Come on! ! Come on! ! !
1. Overview of platform services
1) Provide services for the deployment of application programming. 2) Naming Service: Has help application clients to find corporate beans; looking for web components that access the Naming environment via Java Naming Directory Interface (JNDI). 3) You can customize the component 4 without changing the source code. InitialContext Object 6) Locates Environment Naming Context InitialContext Under The Name ◆ Java: Comp / ENV 7) Components You can query the system and user-defined objects
2. Deployment and security
1) Platform service and deployment services: ◆ Allow components and applications to be customized when packaging and deploying ◆ Deployment is a series of multiple units 2) Each unit contains a deployment specifier ◆ XML-based text file: how to explain how The unit assembly and deployment becomes a specific environment ◆ Web containers and EJB containers have their respective specifiers 3) Deployment specifiers include related multiple elements to customize J2EE platform services ◆ Transactions ◆ Security 4) Transaction services ◆ The J2EE application supported by supports ◎ divides the application into a non-score minimum unit ◎ Ensure that the transaction is completely related to other processs: OtherWise Completely undoes WhatEver Work the unit Has Performed. All-OR-Nothing proposition, Completes Or Rolls Back. 5) Simplified Application Development ◆ There is no error recovery and multi-user programming trouble 6) Security service ◆ Allow applications to be designed to access users to access resources, ◆ Access includes two steps: ◎ Confirm ◎ authorization
3. Service technology (Service Technology)
1) Use the J2EE platform to enable enterprise applications to access a wide range of services through unified mode ◆ JDBC API ◎ establishing an independent database connection between J2EE platforms and table data sources ◆ Java Transaction API (JTA) 2) Java naming and Directory Interface (JNDI) ◆ Ability to access objects and objects of objects in the same directory ◎ container, components may be on different servers ◆ You can use JNDI storage, remove any type of Name Java object 3) Access any independent Directory Naming Service ◆ LDAP ◆ NDS ◆ DNS ◆ NIS (for UNIX) 4) Connector Architecture
4. Communication (Communication)