Your SlideShare is downloading. ×
Introduction to Java EE (J2EE)                          Introduction to Java EE (J2EE)                                    ...
2Introduction to Java EE (J2EE)                  Model View Controller Design Pattern      ●   MVC is an acronym for Model...
3Introduction to Java EE (J2EE)                                   Core Elements of MVC      ●   Model: Contains the data m...
4Introduction to Java EE (J2EE)                                 Standard MVC Structure                                    ...
5Introduction to Java EE (J2EE)                                                     DemoAtit Patumvan, Faculty of Manageme...
6Introduction to Java EE (J2EE)                                           What is J2EE?Atit Patumvan, Faculty of Managemen...
7Introduction to Java EE (J2EE)                                        The Java PlatformAtit Patumvan, Faculty of Manageme...
8Introduction to Java EE (J2EE)                                        The Java Platform         Optional        Packages ...
9Introduction to Java EE (J2EE)                                          What is the J2EE      ●   Open and standard based...
10Introduction to Java EE (J2EE)                                    What Makes Up J2EE?      ●   API and Technology       ...
11Introduction to Java EE (J2EE)                             Open and Standard Solution      ●   Use “component and contai...
12Introduction to Java EE (J2EE)                             Platform Value to Developer      ●   Can use any J2EE impleme...
13Introduction to Java EE (J2EE)                                 Platform Value to Vendors      ●   Vendors work together ...
14Introduction to Java EE (J2EE)                  Platform Value to Business Customers      ●   Many implementation choice...
15Introduction to Java EE (J2EE)                                 J2EE API and TechnologiesAtit Patumvan, Faculty of Manage...
16Introduction to Java EE (J2EE)                         J2EE 1.4 APIs and Technologies      ●   J2SE 1.4 (Improved)      ...
17Introduction to Java EE (J2EE)                                                  Java EE 5      ●   JAX-WS 2.0 & JSR 181 ...
18Introduction to Java EE (J2EE)                                        J2EE ComponentsAtit Patumvan, Faculty of Managemen...
19Introduction to Java EE (J2EE)                                              Java ServletAtit Patumvan, Faculty of Manage...
20Introduction to Java EE (J2EE)                                     What is Java Servlets      ●   Servlets are the Java ...
21Introduction to Java EE (J2EE)                                              Java Servlets      ●   Servlets have access ...
22Introduction to Java EE (J2EE)                                                        Anatomy of a Servlet         ●    ...
23Introduction to Java EE (J2EE)                                                        Anatomy of a Servlet         ●    ...
24Introduction to Java EE (J2EE)                                                        Anatomy of a Servlet         ●    ...
25Introduction to Java EE (J2EE)                                                    DemoAtit Patumvan, Faculty of Manageme...
26Introduction to Java EE (J2EE)                         Sample Servlet: HelloWorld.java           01: package com.patumva...
27Introduction to Java EE (J2EE)                            Sample Servlet: HelloWorld.java            :           30:    ...
28Introduction to Java EE (J2EE)                      Sample Servlet: /WEB-INF/web.xml           01: <?xml version="1.0" e...
29Introduction to Java EE (J2EE)                      What is Java Server Pages (JSP)?Atit Patumvan, Faculty of Management...
30Introduction to Java EE (J2EE)                                  JSP – Java Server Pages      ●   JavaServer Pages techno...
31Introduction to Java EE (J2EE)                                   Sample JSP: /index.jsp            01: <%@page contentTy...
32Introduction to Java EE (J2EE)                                           EJB                                 (Enterprise...
33Introduction to Java EE (J2EE)                                 What is EJB technology?      ●   A server-side component ...
34Introduction to Java EE (J2EE)                                    Why EJB Technology?      ●   Leverages the benefts of ...
35Introduction to Java EE (J2EE)                                 EJB – Enterprise Java Beans      ●   Enterprise Java Bean...
36Introduction to Java EE (J2EE)                                          EJB ArchitectureAtit Patumvan, Faculty of Manage...
37Introduction to Java EE (J2EE)                                     Enterprise Java Beans                                ...
38Introduction to Java EE (J2EE)                                          JMS                                 (Java Messag...
39Introduction to Java EE (J2EE)                                 Java Messing Service (JMS)      ●   Messaging systems (MO...
40Introduction to Java EE (J2EE)                                  Connector ArchitectureAtit Patumvan, Faculty of Manageme...
41Introduction to Java EE (J2EE)                                           m x n Problem                                 m...
42Introduction to Java EE (J2EE)                                  Connector Architecture      ●   Defnes standard API for ...
43Introduction to Java EE (J2EE)                             JAAS         (Java Authentication & Authorization Services)At...
44Introduction to Java EE (J2EE)                                     JAAS: Authentication      ●   Pluggable authenticatio...
45Introduction to Java EE (J2EE)                          JAAS Pluggable AuthenticationAtit Patumvan, Faculty of Managemen...
46Introduction to Java EE (J2EE)                     Other J2EE APIs and TechnologiesAtit Patumvan, Faculty of Management ...
47Introduction to Java EE (J2EE)               Java Naming and Directory Interface (JNDI)      ●   Utilized by J2EE applic...
48Introduction to Java EE (J2EE)                         Java Database Connector (JDBC)      ●   Provides standard Java pr...
49Introduction to Java EE (J2EE)                         J2EE is End to End ArchitectureAtit Patumvan, Faculty of Manageme...
50Introduction to Java EE (J2EE)                          The J2EE Platform Architecture            B2B         Applicatio...
51Introduction to Java EE (J2EE)                                 N-tear J2EE Architecture                                 ...
52Introduction to Java EE (J2EE)                                         J2EE Deployment      ●   JAR – Java ARchive      ...
53Introduction to Java EE (J2EE)                                               J2EE Server      ●   Application Server    ...
54Introduction to Java EE (J2EE)                                              J2EE Servers      ●   Servlet / JSP Servers ...
55Introduction to Java EE (J2EE)                                 J2EE Development Tools      ●   Major IDEs support J2EE i...
56Introduction to Java EE (J2EE)                                          Learning More...      ●   Enterprise JavaBeans –...
57Introduction to Java EE (J2EE)                                          Learning More ...      ●   J2EE Tutorial - http:...
Upcoming SlideShare
Loading in...5
×

Introduction to Java EE (J2EE)

1,425

Published on

Published in: Education, Technology
1 Comment
5 Likes
Statistics
Notes
No Downloads
Views
Total Views
1,425
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
1
Likes
5
Embeds 0
No embeds

No notes for slide

Transcript of "Introduction to Java EE (J2EE)"

  1. 1. Introduction to Java EE (J2EE) Introduction to Java EE (J2EE) Atit Patumvan, Lecturer Faculty of Management and Information Sciences Naresuan UniversityAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  2. 2. 2Introduction to Java EE (J2EE) Model View Controller Design Pattern ● MVC is an acronym for Model View Controller ● MVC pattern separates the modeling of the domain, the presentation, and the actions based on user input into three separate classes ● Very popular, used extensively in Java and other languages.Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  3. 3. 3Introduction to Java EE (J2EE) Core Elements of MVC ● Model: Contains the data model and all information that identifes the state of the application. It is generally self-consistent and independent of the other elements. ● View: Stands on the other side in respect to the model and defnes the representation of the data stored in the model. The view is commonly identifed as your applications user interface (or GUI) or, in case of Web applications, the browser Webpage. ● Controller: Represents the application logic. Here, it is defned how the user can interact with the application and how user actions are mapped to model changesAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  4. 4. 4Introduction to Java EE (J2EE) Standard MVC Structure Controller notifies user interaction Handles model updates View Model Update the views on model changesAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  5. 5. 5Introduction to Java EE (J2EE) DemoAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  6. 6. 6Introduction to Java EE (J2EE) What is J2EE?Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  7. 7. 7Introduction to Java EE (J2EE) The Java PlatformAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  8. 8. 8Introduction to Java EE (J2EE) The Java Platform Optional Packages Optional Packages J2ME CDC J2EE J2EE Foundation Profile MID Profile CDC CLDC Java Card API Java Virtual Machine CVM KVM CardVMAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  9. 9. 9Introduction to Java EE (J2EE) What is the J2EE ● Open and standard based platform for ● Developing, deploying and managing ● N-tier, Web enabled, server-centric, and component based enterprise applicationAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  10. 10. 10Introduction to Java EE (J2EE) What Makes Up J2EE? ● API and Technology J2EE J2EE J2EE J2EE Specification Reference specifcations Specification Reference Implementation Implementation ● Development and Deployment Platform J2EE ● Standard and production- quality implementation J2EE J2EE J2EE J2EE Compatibility Compatibility Application Application ● Compatibility Test Suite (CTS) Test Test Suite Programming Programming Model Suite Model ● J2EE brand ● J2EE blueprint ● Sample CodeAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  11. 11. 11Introduction to Java EE (J2EE) Open and Standard Solution ● Use “component and container” model in which container provides system services in a-well defned as an industrial standard ● J2EE is that standard that also provides portability of code because it is based on Java technology and standard-based Java programming APIsAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  12. 12. 12Introduction to Java EE (J2EE) Platform Value to Developer ● Can use any J2EE implementation for development and deployment ● Vast amount of J2EE community resources ● Can use off-the-shelf 3rd party business componentsAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  13. 13. 13Introduction to Java EE (J2EE) Platform Value to Vendors ● Vendors work together on specifcations and then complete in implementation ● Scalability, Performance, Reliability, Availability, Management and development tools, and so on ● Freedom to innovate while maintaining the portability of application ● Do not have to create and maintain their own proprietary APIAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  14. 14. 14Introduction to Java EE (J2EE) Platform Value to Business Customers ● Many implementation choices are possible based on various requirements ● Price (Free to high-end), scalability (single CPU to clustered model), reliability, performance, tools and more ● Best of breed of application and platforms ● Large developer poolAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  15. 15. 15Introduction to Java EE (J2EE) J2EE API and TechnologiesAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  16. 16. 16Introduction to Java EE (J2EE) J2EE 1.4 APIs and Technologies ● J2SE 1.4 (Improved) ● Servlet 2.4 ● JAX-RPC (new) ● JSP 2.0 ● Web Services for J2EE ● EJB 2.1 ● J2EE Management ● JAXR ● J2EE Deployment ● Connector 1.5 ● JMX 1.1 ● JACC ● JMS 1.1 ● JAXP 1.2 ● JTA 1.0 ● JavaMail 1.3 ● JAF 1.0Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  17. 17. 17Introduction to Java EE (J2EE) Java EE 5 ● JAX-WS 2.0 & JSR 181 ● Java Persistence ● EJB 3.0 ● JAXB 2.0 ● JavaServer Face 1.2 – new to Platform ● JSP 2.1 – Unifcation with JFS 1.2 ● StAX – Pull Parser – new to PlatformAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  18. 18. 18Introduction to Java EE (J2EE) J2EE ComponentsAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  19. 19. 19Introduction to Java EE (J2EE) Java ServletAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  20. 20. 20Introduction to Java EE (J2EE) What is Java Servlets ● Servlets are the Java Platform technology of choice for extending and enhancing web server. ● Servlets provide a component-based, platform-independent method for building web-based, without the performance limitation of CGI Programming. Request CGI1 Child for CGI1 Request CGI2 CGI Child for CGI2 Based Webserver Request CGI1 Child for CGI1 Request Servlet1 Servlet Based Server Request Servlet2 Servlet1 JVM Request Servlet1 Servlet2Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  21. 21. 21Introduction to Java EE (J2EE) Java Servlets ● Servlets have access to entire family of Java APIs, including the JDBC to access enterprise databases. ● Servlet can also access a library of HTTP Specifc call and receive all the benefts of mature Java language, including portability, performance, reuseability and crash protectionAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  22. 22. 22Introduction to Java EE (J2EE) Anatomy of a Servlet ● init() – the init() function is called when the servlet is initialized by the server. This often happens on the frst doGet() or doPut() call of the servlet. ● destroy() – this function is called when the servlet is being destroyed by the server, typically when the server process is being stopped.Source: http://java.sun.com/docs/books/tutorial/servlets/lifecycle/index.htmlAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  23. 23. 23Introduction to Java EE (J2EE) Anatomy of a Servlet ● doGet() – the doGet() function is called when the servlet is called via an HTTP GET. ● doPost() – the doPost() function is called when the servlet is called via an HTTP POST. ● POSTs are a good way to get input from HTML formsSource: http://java.sun.com/docs/books/tutorial/servlets/lifecycle/index.htmlAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  24. 24. 24Introduction to Java EE (J2EE) Anatomy of a Servlet ● HTTPServletRequest object ● HTTPServletResponse object ● Information about an HTTP ● Used for formatting an HTTP request response – Headers – Headers – Query String – Status codes – Session – Cookies – CookiesSource: http://java.sun.com/docs/books/tutorial/servlets/lifecycle/index.htmlAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  25. 25. 25Introduction to Java EE (J2EE) DemoAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  26. 26. 26Introduction to Java EE (J2EE) Sample Servlet: HelloWorld.java 01: package com.patumvan.atit.servlets; 02: 03: import java.io.*; 04: import javax.servlet.*; 05: import javax.servlet.http.*; 06: 07: public class HelloWorld extends HttpServlet { 08: 09: protected void processRequest(HttpServletRequest request, HttpServletResponse response) 10: throws ServletException, IOException { 11: response.setContentType("text/html;charset=UTF-8"); 12: PrintWriter out = response.getWriter(); 13: try { 14: out.println("<html>"); 15: out.println("<head>"); 16: out.println("<title>Servlet HelloWorld</title>"); 17: out.println("</head>"); 18: out.println("<body>"); 19: out.println("<h1>Servlet HelloWorld </h1>"); 20: out.println("</body>"); 21: out.println("</html>"); 22: } finally { 23: out.close(); 24: } 25: } :Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  27. 27. 27Introduction to Java EE (J2EE) Sample Servlet: HelloWorld.java : 30: @Override 31: protected void doGet(HttpServletRequest request, HttpServletResponse response) 32: throws ServletException, IOException { 33: processRequest(request, response); 34: } 35: 36: @Override 37: protected void doPost(HttpServletRequest request, HttpServletResponse response) 38: throws ServletException, IOException { 39: processRequest(request, response); 40: } 41: 42: @Override 43: public String getServletInfo() { 44: return "Short description"; 45: } 46: }Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  28. 28. 28Introduction to Java EE (J2EE) Sample Servlet: /WEB-INF/web.xml 01: <?xml version="1.0" encoding="UTF-8"?> 02: <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> 03: <servlet> 04: <servlet-name>HelloWorld</servlet-name> 05: <servlet-class>com.patumvan.atit.servlets.HelloWorld</servlet-class> 06: </servlet> 07: <servlet-mapping> 08: <servlet-name>HelloWorld</servlet-name> 09: <url-pattern>/HelloWorld</url-pattern> 10: </servlet-mapping> 11: <session-config> 12: <session-timeout> 13: 30 14: </session-timeout> 15: </session-config> 16: <welcome-file-list> 17: <welcome-file>index.jsp</welcome-file> 18: </welcome-file-list> 19: </web-app>Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  29. 29. 29Introduction to Java EE (J2EE) What is Java Server Pages (JSP)?Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  30. 30. 30Introduction to Java EE (J2EE) JSP – Java Server Pages ● JavaServer Pages technology uses XML-like tags and scriptlets written in the Java programming language to encapsulate the logic that generates the content for the page. ● Any and all formatting (HTML or XML) tags are passed directly back to the response page. ● By separating the page logic from its design and display and supporting a reusable component-based design, JSP technology makes it faster and easier than ever to build web-based applicationsAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  31. 31. 31Introduction to Java EE (J2EE) Sample JSP: /index.jsp 01: <%@page contentType="text/html" pageEncoding="UTF-8"%> 02: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 03: "http://www.w3.org/TR/html4/loose.dtd"> 04: 05: <html> 06: <head> 07: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 08: <title>JSP Page</title> 09: </head> 10: <body> 11: <h1>Hello World!</h1> 12: </body> 13: </html>Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  32. 32. 32Introduction to Java EE (J2EE) EJB (Enterprise Java Beans)Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  33. 33. 33Introduction to Java EE (J2EE) What is EJB technology? ● A server-side component technology ● Easy development and deployment of Java technology-based application that are: ● Transactional, distributed, multi-tier, portable, scalable, secure, …Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  34. 34. 34Introduction to Java EE (J2EE) Why EJB Technology? ● Leverages the benefts of component-model on the server side ● Separates business logic from system code ● Container provides system services ● Provides framework for portable components ● Over different J2EE-compliant servers ● Over different operational environments ● Enables deployment-time confguration ● Deployment descriptorAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  35. 35. 35Introduction to Java EE (J2EE) EJB – Enterprise Java Beans ● Enterprise Java Beans are components that are deployed into containers ● The container provides services ● Loading / Initialization ● Transactions ● Persistence ● Communication with EJB clients ● Enterprise Naming Context (JNDI name space)Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  36. 36. 36Introduction to Java EE (J2EE) EJB ArchitectureAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  37. 37. 37Introduction to Java EE (J2EE) Enterprise Java Beans Enterprise JavaBeans Synchronous communication Asynchronous communication Session Bean Entity Bean Message-Driven Bean Stateless Stateful Bean managed Container managed Persistence Persistence (BMP) (CMP)Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  38. 38. 38Introduction to Java EE (J2EE) JMS (Java Message Services)Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  39. 39. 39Introduction to Java EE (J2EE) Java Messing Service (JMS) ● Messaging systems (MOM) provide ● De-coupled communication ● Asynchronous communication ● Plays a role of centralized post offce ● Benefts of Messaging systems ● Flexible, Reliable, Scalable communication systems ● Point-to-Point, Publish and Subscribe ● JMS defnes standard Java APIs to messaging systemsAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  40. 40. 40Introduction to Java EE (J2EE) Connector ArchitectureAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  41. 41. 41Introduction to Java EE (J2EE) m x n Problem m n App SAP Server1 App EIS2 Server2 App EIS3 Server3 App EIS4 ServerAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  42. 42. 42Introduction to Java EE (J2EE) Connector Architecture ● Defnes standard API for integrating J2EE technology with EIS systems ● CICS, SAP, PeopleSoft, etc. ● Before Connector architecture, each App server has to provide an proprietary adaptor for each EIS system ● m (# of App servers) x n (# of EISs) Adaptors ● With Connector architecture, same adaptor works with all J2EE compliant containers ● 1 (common to all App servers) x n (# of EISs) AdaptorsAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  43. 43. 43Introduction to Java EE (J2EE) JAAS (Java Authentication & Authorization Services)Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  44. 44. 44Introduction to Java EE (J2EE) JAAS: Authentication ● Pluggable authentication framework ● Userid/password ● Smartcard ● Kerberos ● Biometric ● Application portability regardless of authentication schemes underneath ● JAAS provides authentication scheme independent API ● Authentication schemes are specifed Login confguration fle, which will be read by JAASAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  45. 45. 45Introduction to Java EE (J2EE) JAAS Pluggable AuthenticationAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  46. 46. 46Introduction to Java EE (J2EE) Other J2EE APIs and TechnologiesAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  47. 47. 47Introduction to Java EE (J2EE) Java Naming and Directory Interface (JNDI) ● Utilized by J2EE applications to locate resources and objects in portable fashion ● Applications use symbolic names to fnd object references to resources via JNDI ● The symbolic names and object references have to be confgured by system administrator when the application is deployed.Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  48. 48. 48Introduction to Java EE (J2EE) Java Database Connector (JDBC) ● Provides standard Java programming API to relational database ● Uses SQL ● Vendors provide JDBC compliant driver which can be invoked via standard Java programming API.Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  49. 49. 49Introduction to Java EE (J2EE) J2EE is End to End ArchitectureAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  50. 50. 50Introduction to Java EE (J2EE) The J2EE Platform Architecture B2B Applications Existing Applications B2C Applications Web Services Enterprise Information Wireless Application Server Systems ApplicationsAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  51. 51. 51Introduction to Java EE (J2EE) N-tear J2EE Architecture Web Tier EJB TierAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  52. 52. 52Introduction to Java EE (J2EE) J2EE Deployment ● JAR – Java ARchive ● Java class fle ● EJBs ● WAR - Web ARchive ● Servlets ● JSPs ● EAR - Enterprise ARchive ● Contains other JARs and WARs to form an entire application ● Deployment descriptors ● XMLAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  53. 53. 53Introduction to Java EE (J2EE) J2EE Server ● Application Server ● As of Sept ’01 - MetaGroup Survey by sales $$ – BEA Weblogic - 37% – IBM Websphere – 22% – Oracle – 11% – Iplanet – 5% – Other- 12% ● Open-source – Jboss – www.jboss.org ● Sun’s listing of J2EE compatible servers – http://java.sun.com/j2ee/compatibility.htmlAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  54. 54. 54Introduction to Java EE (J2EE) J2EE Servers ● Servlet / JSP Servers ● Most of the commercial application servers also include servlet / JSP support ● Open-Source – Apache Tomcat – Jetty ● Sun’s listing of servlet / JSP servers ● http://java.sun.com/products/servlet/industry.htmlAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  55. 55. 55Introduction to Java EE (J2EE) J2EE Development Tools ● Major IDEs support J2EE in some form ● Wizards for EJB / Servlets ● Custom editors for JSP ● Deployment descriptor support ● Deployment support for application servers ● Embedded servers for testing within IDEAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  56. 56. 56Introduction to Java EE (J2EE) Learning More... ● Enterprise JavaBeans – 3rd Edition ● Richard Monson-Haefel, O’Reilly © 2001 ● JBoss documentation ● http://www.jboss.org/online-manual/HTML/index.html ● Designing Enterprise Applications with the Java 2 Platform, Enterprise Edition ● Nicholas Kassem and the Enterprise Team, Addison Wesley © 2000 ● Core Servlets and JavaServer Pages (JSP) ● Marty Hall, Prentice Hall © 2000Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  57. 57. 57Introduction to Java EE (J2EE) Learning More ... ● J2EE Tutorial - http://java.sun.com/j2ee/tutorial/1_3-fcs ● J2EE Developers Guide - http://java.sun.com/j2ee/sdk_1.2.1/techdocs/guides/ejb/html/DevGui deTOC.html ● JNDI - http://java.sun.com/products/jndi/tutorial/ ● JMS - http://java.sun.com/products/jms/tutorial/ ● JDBC - http://java.sun.com/docs/books/tutorial/jdbc ● Servlets - http://java.sun.com/docs/books/tutorial/servlets ● JSP - http://java.sun.com/products/jsp/docs.html ● JAXP - http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorialAtit Patumvan, Faculty of Management and Information Sciences, Naresuan University.

×