1 / 64

J2EE Architecture for Web Application & Enterprise Programming

J2EE Architecture for Web Application & Enterprise Programming. www.ukit-sd.com. ผู้บรรยาย Suriyen Deangtongdee Ueahanong Ponchana. www.ukit-sd.com. Topic. J2EE Architecture JDBC JNDI JSP & Servlet EJB Web Service Apache Tomcat JBoss. www.ukit-sd.com. J2EE.

denton
Download Presentation

J2EE Architecture for Web Application & Enterprise Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. J2EE Architecture for Web Application & Enterprise Programming www.ukit-sd.com ผู้บรรยาย SuriyenDeangtongdee UeahanongPonchana

  2. www.ukit-sd.com Topic • J2EE Architecture • JDBC • JNDI • JSP & Servlet • EJB • Web Service • Apache Tomcat • JBoss

  3. www.ukit-sd.com J2EE • Java 2 Enterprise Edition • Java Level • J2SE( Java 2 Standard Edition ) • J2EE( Java2EnterpriseEdition ) • J2ME( Java 2 Micro Edition ) • Evolution of Enterprise Application and Web Application Framework

  4. www.ukit-sd.com J2EE • Two Tier(Client-Server Architecture) • Fat Client • Three Tier • Thin Client • N-Tier Architecture • J2EE Architecture

  5. www.ukit-sd.com Two Tier

  6. www.ukit-sd.com Two Tier: The Drawbacks

  7. www.ukit-sd.com Three Tier

  8. www.ukit-sd.com Three-Tier : the benefits

  9. www.ukit-sd.com N-Tier

  10. www.ukit-sd.com J2EE Architecture

  11. www.ukit-sd.com J2EE Architecture • Client Tier • Application Client/Server • Web Client

  12. www.ukit-sd.com J2EE Architecture • Web Tier

  13. www.ukit-sd.com J2EE Architecture • Business Tier • EIS Tier

  14. www.ukit-sd.com JDBC • (Java Database Connectivity) • การทำงานที่สำคัญของ JDBC  • ลักษณะที่สำคัญของ JDBC 

  15. www.ukit-sd.com JDBC

  16. www.ukit-sd.com JDBC • ประเภทของ JDBC Driver  • JDBC - ODBC Bridge • Native API partly-Java Driver • JDBC-Net Java Driver • Native-protocal pure Java Driver 

  17. www.ukit-sd.com JDBC

  18. www.ukit-sd.com JNDI • Java Naming and Directory Interface

  19. www.ukit-sd.com JNDI

  20. www.ukit-sd.com • JSP(Java Server Page) • Servlet JSP & Servlet

  21. www.ukit-sd.com JSP & Servlet Example • Step 1 - Create a new project

  22. www.ukit-sd.com JSP & Servlet Example • Step 2 - Create the JSP file

  23. www.ukit-sd.com JSP & Servlet Example • Step 3 - Create the Servlet

  24. www.ukit-sd.com JSP & Servlet Example • Step 4 - Define your servlet in "web.xml“

  25. www.ukit-sd.com JSP & Servlet Example • Step 5 - Add your project to Tomcat

  26. www.ukit-sd.com JSP & Servlet Example • Step 6 - Start "Tomcat“ • Step 7 - Test your project

  27. www.ukit-sd.com JSP & Servlet Example • Step 7 - Test your project

  28. www.ukit-sd.com JSP & Servlet Example • Step 8 - Set your project's welcome file • Step 9 - Restart the server

  29. www.ukit-sd.com EJB • Enterprise JavaBeans • EJB Container • EJB Component

  30. www.ukit-sd.com EJB Container • EJB Container • Transaction Controls • Management of Multiple Instances • Instance Passivation  • Instance Pooling • Database Connection Pooline • Catching • Method Invocation Optimization • Support for Persistence • Support for Access Control List

  31. www.ukit-sd.com EJB Container

  32. www.ukit-sd.com EJB Component • Session Beans • Entity Beans • Message Driven Beans • Web Service Beans

  33. www.ukit-sd.com • Session Beans • Stateless • Stateful EJB Component

  34. www.ukit-sd.com • Entity Beans • Bean-Managed Persistence (BMP) • Container-Managed Persistence (CMP) EJB Component

  35. www.ukit-sd.com • Message Beans EJB Component

  36. www.ukit-sd.com EJB Component

  37. www.ukit-sd.com EJB Component • Session and Entity Beans • Client and Interfaces • Home and Remote Interfaces • Local Home and Local Interfaces

  38. www.ukit-sd.com EJB Component

  39. www.ukit-sd.com EJB Component

  40. www.ukit-sd.com EJB Component

  41. www.ukit-sd.com EJB Component

  42. www.ukit-sd.com EJB Component

  43. www.ukit-sd.com EJB Component

  44. www.ukit-sd.com EJB Component

  45. www.ukit-sd.com Web Service • What is web service? • Meaning of Technology • Meaning of Software

  46. www.ukit-sd.com Web Service • พื้นฐานของ Web Service • คุณลักษณะพื้นฐานของ Web Service • เหตุผลและข้อดีของการใช้ Web Service • Model ของการทำงาน Web Service

  47. www.ukit-sd.com Web Service • Standard of Web Service Development • -XML • (Extensible Markup Language) • -SOAP • (Simple Object Access Protocol) • -WSDL • (Web Services Description Language) • -UDDI • (Universal Description, Discovery and Integration)

  48. www.ukit-sd.com Web Service • Standard of Web Service Development • -Other Standard

  49. www.ukit-sd.com Web Service • SOA(Service Oriented Architecture )

  50. www.ukit-sd.com Web Service • Develop Web Service with Java Technology • -JAX-WS (Java API for XML-Based Web Services)  • -JAXB (Java Architecture for XML Binding)  • -JAXP (Java API for XML Processing)  • -SAAJ (SOAP with Attachments API for Java)  • -JAX-RPC (Java API for XML-Based RPC)  • -WSIT (Web Services Interoperability Technology) 

More Related