java The general direction of the project is JavaEE,JavaEE not only socket Programming , Specific include 12 The core technology of the project .
JAVAEE At the heart of API And components
JAVAEE The platform consists of a whole set of services （Services）、 Application program interface （APIs） And the Agreement constitutes , It is based on Web The multi tier application provides functional support , Following pair JAVAEE Medium 13 Technical specifications for a simple description ( Limited to space , Here is a brief description )：
1、JDBC(Java Database Connectivity) JDBC API It provides a unified way to access different databases , like ODBC equally ,JDBC Some details are blocked for developers , in addition ,JDCB Access to the database also has platform independence .
2、JNDI(Java Name and Directory Interface) JNDI API Used to execute name and directory services . It provides a consistent model for accessing and manipulating enterprise level resources such as DNS and LDAP, Local file system , Or objects in the application server .
3、EJB(Enterprise JavaBean) JAVAEE One of the reasons why technology has been widely valued by the media is EJB. They provide a framework to develop and implement distributed business logic , This significantly simplifies the development of scalable and highly complex enterprise applications .EJB The specification defines EJB When and how components interact with their containers . The container is responsible for providing public services , For example, directory service 、 Business management 、 Security 、 Resource buffer pool and fault tolerance . But it's worth noting here that ,EJB It's not about achieving JAVAEE The only way . It is because of JAVAEE Openness , So that some manufacturers can use one and EJB To achieve the same goal in a parallel way .
4、RMI(Remote Method Invoke) As its name suggests ,RMI Protocol calls methods on remote objects . It uses serialization to pass data between the client and the server .RMI It's a kind of quilt EJB The underlying protocol used .
5、Java IDL/CORBA stay Java IDL With the support of , Developers can translate Java and CORBA Integrate together . They can create Java Object and make it available in CORBA ORB To expand , Or they can create Java Class and other ORB Unfolded together CORBA Target customers . The latter method provides another way , Through it Java It can be used to integrate your new application with your old system .
6、JSP(Java Server Pages) JSP Page by HTML Code and embedded Java The code consists of . After the page is requested by the client, the server will respond to these Java Code to process , And then what will be generated HTML The page is returned to the client's browser .
7、Java Servlet Servlet It's a small Java Program , It expands Web The function of the server . As a server-side application , Start execution when requested , This sum CGI Perl The script is very similar .Servlet Most of the functions provided are related to JSP similar , But it's implemented in a different way .JSP Usually most HTML A small amount of... Is embedded in the code Java Code , and servlets All by Java Write and generate 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 . XML Development and Java It's independent of each other , however , It and Java The same goal is platform independence . By way of Java and XML The combination of , You can get a perfect platform independent solution .
9、JMS(Java Message Service) JMS It's an application interface for communicating with message oriented middleware (API). It supports both point-to-point domains , There is support for publishing / subscribe (publish/subscribe) Domain of type , And provide support for the following types ： Approved messaging , Delivery of transactional messages , Consistent messaging and persistent subscriber support .JMS Additional information is provided One way to integrate your application with the old background system .
10、JTA(Java Transaction Architecture) JTA Defines a standard API, The application system can access all kinds of transaction monitoring .
11、JTS(Java Transaction Service) JTS yes CORBA OTS Basic implementation of transaction monitoring .JTS Specifies the implementation of the transaction manager . The transaction manager is supported at a high level Java Transaction API (JTA) standard , And at the lower level OMG OTS specification Of Java image .JTS The transaction manager is the application server 、 Explorer 、 Independent applications and communication resource managers provide transaction services .
12、JavaMail JavaMail It's for accessing the mail server API, It provides a set of abstract classes of mail server . Not only support SMTP The server , Also support IMAP The server . newest 2020 Organize and collect some high frequency interview questions （ It's all documented ）, There are a lot of dry goods , contain mysql,netty,spring, Threads ,spring cloud、jvm、 Source code 、 The algorithm is explained in detail , There's also a detailed learning plan , Interview questions, etc , If you need to get this content, please add Q Your appearance ：909038429 /./* Welcome to join java communication Q Your appearance ：909038429 Blow water and chat together