j2ee| Notes | server | client
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!!!
Figure 3 Java EE scene
The following should be noted in figure three:
1, Tier integration is the center of the Java EE programming model.
2, users use Browser way to access: 1 Browser: Use Html,http,xml. Possible firewall 2 Web container: Using Jsp,servelet,xml,javamail 3) EJB container: Using Back-end Enterprise beans,jms,jta,jdbc (o R connectors) 4 EIS Resources
3, the user uses stand-alone client way to access: 1) stand-alone client uses J2SE HTML HTTP XML to access Web Container, EJB Container can be accessed via web Container, then EIS resources 2) stand-alone client can access EJB directly Container can also directly access EIS resources 3) stand-alone client May is written in another Language.stand-alone client can be written in other languages. 4) Consider three types of stand-alone clients can have three types of stand-alone client: & nbsp;   ※EJB client interacting directly with an EJB server EJB clients interact directly with EJB servers &N bsp; ※stand-alone Java Application clients accessing Enterprise Information System (EIS) resources directly (may using JDBC or connectors) stand-alone Java program clients direct access to enterprise Information Systems (EIS) , possibly using JDBC and connectors ※visual Basic clients consuming dynamic Web content VB client   using Dynamic Web content; In the form of XML data messages as XML
Figure 4 web-centric
The following should be noted in Figure four:
1, in the web-centric structure, there is no EJB Container at this time
2, browser can be used similar to the figure three, but the Web container use technology than figure three less than a javamail
3, the Web container can use JDBC Direct access to the EIS, you may also use the connector connectors to access the EIS as Figure three
Figure 5 Model-view-controller Process
Summary summary:
Java 2 platform Set of standards that streamline developent deployment Management of Enterprise application Application written for the Java EE platform would run on any j2ee-compatible server the benefits of Java-ee: Simple development model compatibility can support existing systems Server diversity Development tools Diversity Component Diversity (components) simple, scalable security model
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.