SlideShare a Scribd company logo
1 of 57
Introduction to Java EE (J2EE)




                          Introduction to Java EE (J2EE)


                                               Atit Patumvan, Lecturer
                                               Faculty of Management and Information Sciences
                                               Naresuan University




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
2
Introduction 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
Introduction 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 application's 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 changes

Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
4
Introduction to Java EE (J2EE)



                                 Standard MVC Structure


                                                     Controller


     notifies user interaction                                                    Handles model updates




                       View                                                             Model


                                                 Update the views
                                                 on model changes



Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
5
Introduction to Java EE (J2EE)




                                                     Demo




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
6
Introduction to Java EE (J2EE)




                                           What is J2EE?




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
7
Introduction to Java EE (J2EE)



                                        The Java Platform




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
8
Introduction 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         CardVM




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
9
Introduction 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
               application




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
10
Introduction 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 Code
Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
11
Introduction 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
          APIs




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
12
Introduction 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 components




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
13
Introduction 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 API




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
14
Introduction 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 pool




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
15
Introduction to Java EE (J2EE)




                                 J2EE API and Technologies




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
16
Introduction 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.0
Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
17
Introduction 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 Platform



Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
18
Introduction to Java EE (J2EE)



                                        J2EE Components




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
19
Introduction to Java EE (J2EE)




                                              Java Servlet




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
20
Introduction 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                                                       Servlet2

Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
21
Introduction 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 protection




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
22
Introduction 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.html

Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
23
Introduction 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 forms




Source: http://java.sun.com/docs/books/tutorial/servlets/lifecycle/index.html

Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
24
Introduction 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
                         –     Cookies




Source: http://java.sun.com/docs/books/tutorial/servlets/lifecycle/index.html

Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
25
Introduction to Java EE (J2EE)




                                                    Demo




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
26
Introduction 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
Introduction 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
Introduction 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
Introduction to Java EE (J2EE)




                      What is Java Server Pages (JSP)?




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
30
Introduction 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 applications



Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
31
Introduction 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
Introduction to Java EE (J2EE)




                                           EJB
                                 (Enterprise Java Beans)




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
33
Introduction 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
Introduction 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 descriptor



Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
35
Introduction 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
Introduction to Java EE (J2EE)



                                          EJB Architecture




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
37
Introduction 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
Introduction to Java EE (J2EE)




                                          JMS
                                 (Java Message Services)




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
39
Introduction 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 systems


Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
40
Introduction to Java EE (J2EE)




                                  Connector Architecture




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
41
Introduction to Java EE (J2EE)



                                           m x n Problem
                                 m                                                     n


                             App                                                      SAP
                            Server1

                             App
                                                                                      EIS2
                            Server2


                             App                                                      EIS3
                            Server3


                             App                                                      EIS4
                            Server




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
42
Introduction 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 EIS's) Adaptors
      ●   With Connector architecture, same adaptor works with all J2EE
          compliant containers
           ●   1 (common to all App servers) x n (# of EIS's) Adaptors



Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
43
Introduction to Java EE (J2EE)




                             JAAS
         (Java Authentication & Authorization Services)




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
44
Introduction 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 JAAS
Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
45
Introduction to Java EE (J2EE)



                          JAAS Pluggable Authentication




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
46
Introduction to Java EE (J2EE)




                     Other J2EE APIs and Technologies




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
47
Introduction 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
Introduction 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
Introduction to Java EE (J2EE)




                         J2EE is End to End Architecture




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
50
Introduction to Java EE (J2EE)



                          The J2EE Platform Architecture
            B2B
         Applications
                                                                                        Existing
                                                                                      Applications

            B2C
         Applications



            Web
          Services
                                                                                       Enterprise
                                                                                      Information
          Wireless                             Application Server                       Systems
         Applications




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
51
Introduction to Java EE (J2EE)



                                 N-tear J2EE Architecture




                                          Web Tier               EJB Tier




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
52
Introduction 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
           ●   XML
Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
53
Introduction 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.html
Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
54
Introduction 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.html




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
55
Introduction 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 IDE




Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
56
Introduction 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 © 2000

Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
57
Introduction 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/tutorial
Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.

More Related Content

What's hot

Welcome to Blazor
Welcome to BlazorWelcome to Blazor
Welcome to Blazordark_wisdom
 
Spring Framework
Spring Framework  Spring Framework
Spring Framework tola99
 
Java Spring framework, Dependency Injection, DI, IoC, Inversion of Control
Java Spring framework, Dependency Injection, DI, IoC, Inversion of ControlJava Spring framework, Dependency Injection, DI, IoC, Inversion of Control
Java Spring framework, Dependency Injection, DI, IoC, Inversion of ControlArjun Thakur
 
Java spring framework
Java spring frameworkJava spring framework
Java spring frameworkRajiv Gupta
 
Spring Framework - MVC
Spring Framework - MVCSpring Framework - MVC
Spring Framework - MVCDzmitry Naskou
 
Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring Framework Serhat Can
 
Web based Career guidance
Web based Career guidanceWeb based Career guidance
Web based Career guidanceFAKHRUN NISHA
 
SignalR for ASP.NET Developers
SignalR for ASP.NET DevelopersSignalR for ASP.NET Developers
SignalR for ASP.NET DevelopersShivanand Arur
 
Java Persistence API (JPA) Step By Step
Java Persistence API (JPA) Step By StepJava Persistence API (JPA) Step By Step
Java Persistence API (JPA) Step By StepGuo Albert
 
Spring framework Introduction
Spring framework IntroductionSpring framework Introduction
Spring framework IntroductionAnuj Singh Rajput
 
ASP.NET Web API
ASP.NET Web APIASP.NET Web API
ASP.NET Web APIhabib_786
 

What's hot (20)

Welcome to Blazor
Welcome to BlazorWelcome to Blazor
Welcome to Blazor
 
J2ee
J2eeJ2ee
J2ee
 
Spring Framework
Spring Framework  Spring Framework
Spring Framework
 
Java Spring framework, Dependency Injection, DI, IoC, Inversion of Control
Java Spring framework, Dependency Injection, DI, IoC, Inversion of ControlJava Spring framework, Dependency Injection, DI, IoC, Inversion of Control
Java Spring framework, Dependency Injection, DI, IoC, Inversion of Control
 
Java spring framework
Java spring frameworkJava spring framework
Java spring framework
 
Java Spring Framework
Java Spring FrameworkJava Spring Framework
Java Spring Framework
 
Spring Framework - MVC
Spring Framework - MVCSpring Framework - MVC
Spring Framework - MVC
 
Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring Framework
 
Web based Career guidance
Web based Career guidanceWeb based Career guidance
Web based Career guidance
 
SignalR for ASP.NET Developers
SignalR for ASP.NET DevelopersSignalR for ASP.NET Developers
SignalR for ASP.NET Developers
 
Spring Boot Tutorial
Spring Boot TutorialSpring Boot Tutorial
Spring Boot Tutorial
 
Java Persistence API (JPA) Step By Step
Java Persistence API (JPA) Step By StepJava Persistence API (JPA) Step By Step
Java Persistence API (JPA) Step By Step
 
Apache Ant
Apache AntApache Ant
Apache Ant
 
Spring Boot
Spring BootSpring Boot
Spring Boot
 
Installing Groovy engine in Apache Jmeter
Installing Groovy engine in Apache JmeterInstalling Groovy engine in Apache Jmeter
Installing Groovy engine in Apache Jmeter
 
Spring framework Introduction
Spring framework IntroductionSpring framework Introduction
Spring framework Introduction
 
Spring ppt
Spring pptSpring ppt
Spring ppt
 
ASP.NET Web API
ASP.NET Web APIASP.NET Web API
ASP.NET Web API
 
Spring MVC Framework
Spring MVC FrameworkSpring MVC Framework
Spring MVC Framework
 
JDBC-Introduction
JDBC-IntroductionJDBC-Introduction
JDBC-Introduction
 

Viewers also liked

J2EE and layered architecture
J2EE and layered architectureJ2EE and layered architecture
J2EE and layered architectureSuman Behara
 
J2 ee architecture
J2 ee architectureJ2 ee architecture
J2 ee architectureKrishna Mer
 
Introduction in jsp & servlet
Introduction in jsp & servlet Introduction in jsp & servlet
Introduction in jsp & servlet Anas Aloklah
 
Introduction to Java Enterprise Edition
Introduction to Java Enterprise EditionIntroduction to Java Enterprise Edition
Introduction to Java Enterprise EditionAbdalla Mahmoud
 
remote method invocation
remote method invocationremote method invocation
remote method invocationArun Nair
 
การบริหารเชิงคุณภาพ ชุดที่ 8
การบริหารเชิงคุณภาพ ชุดที่ 8การบริหารเชิงคุณภาพ ชุดที่ 8
การบริหารเชิงคุณภาพ ชุดที่ 8Atit Patumvan
 
Chapter 1 mathmatics tools
Chapter 1 mathmatics toolsChapter 1 mathmatics tools
Chapter 1 mathmatics toolsAtit Patumvan
 
Chapter 1 mathmatics tools
Chapter 1 mathmatics toolsChapter 1 mathmatics tools
Chapter 1 mathmatics toolsAtit Patumvan
 
การบริหารเชิงคุณภาพ ชุดที่ 7
การบริหารเชิงคุณภาพ ชุดที่ 7การบริหารเชิงคุณภาพ ชุดที่ 7
การบริหารเชิงคุณภาพ ชุดที่ 7Atit Patumvan
 
การบริหารเชิงคุณภาพ ชุดที่ 3
การบริหารเชิงคุณภาพ ชุดที่ 3การบริหารเชิงคุณภาพ ชุดที่ 3
การบริหารเชิงคุณภาพ ชุดที่ 3Atit Patumvan
 
การบริหารเชิงคุณภาพ ชุดที่ 2
การบริหารเชิงคุณภาพ ชุดที่ 2การบริหารเชิงคุณภาพ ชุดที่ 2
การบริหารเชิงคุณภาพ ชุดที่ 2Atit Patumvan
 
Computer Programming Chapter 5 : Methods
Computer Programming Chapter 5 : MethodsComputer Programming Chapter 5 : Methods
Computer Programming Chapter 5 : MethodsAtit Patumvan
 
การบริหารเชิงคุณภาพ ชุดที่ 4
การบริหารเชิงคุณภาพ ชุดที่ 4การบริหารเชิงคุณภาพ ชุดที่ 4
การบริหารเชิงคุณภาพ ชุดที่ 4Atit Patumvan
 
An Overview of eZee Burrp! (Philus Limited)
An Overview of eZee Burrp! (Philus Limited)An Overview of eZee Burrp! (Philus Limited)
An Overview of eZee Burrp! (Philus Limited)Atit Patumvan
 

Viewers also liked (20)

J2EE and layered architecture
J2EE and layered architectureJ2EE and layered architecture
J2EE and layered architecture
 
J2ee architecture
J2ee architectureJ2ee architecture
J2ee architecture
 
J2EE Introduction
J2EE IntroductionJ2EE Introduction
J2EE Introduction
 
J2 ee architecture
J2 ee architectureJ2 ee architecture
J2 ee architecture
 
Introduction in jsp & servlet
Introduction in jsp & servlet Introduction in jsp & servlet
Introduction in jsp & servlet
 
Introduction to Java Enterprise Edition
Introduction to Java Enterprise EditionIntroduction to Java Enterprise Edition
Introduction to Java Enterprise Edition
 
remote method invocation
remote method invocationremote method invocation
remote method invocation
 
การบริหารเชิงคุณภาพ ชุดที่ 8
การบริหารเชิงคุณภาพ ชุดที่ 8การบริหารเชิงคุณภาพ ชุดที่ 8
การบริหารเชิงคุณภาพ ชุดที่ 8
 
Chapter 1 mathmatics tools
Chapter 1 mathmatics toolsChapter 1 mathmatics tools
Chapter 1 mathmatics tools
 
Chapter 1 mathmatics tools
Chapter 1 mathmatics toolsChapter 1 mathmatics tools
Chapter 1 mathmatics tools
 
การบริหารเชิงคุณภาพ ชุดที่ 7
การบริหารเชิงคุณภาพ ชุดที่ 7การบริหารเชิงคุณภาพ ชุดที่ 7
การบริหารเชิงคุณภาพ ชุดที่ 7
 
การบริหารเชิงคุณภาพ ชุดที่ 3
การบริหารเชิงคุณภาพ ชุดที่ 3การบริหารเชิงคุณภาพ ชุดที่ 3
การบริหารเชิงคุณภาพ ชุดที่ 3
 
การบริหารเชิงคุณภาพ ชุดที่ 2
การบริหารเชิงคุณภาพ ชุดที่ 2การบริหารเชิงคุณภาพ ชุดที่ 2
การบริหารเชิงคุณภาพ ชุดที่ 2
 
Java beans
Java beansJava beans
Java beans
 
Computer Programming Chapter 5 : Methods
Computer Programming Chapter 5 : MethodsComputer Programming Chapter 5 : Methods
Computer Programming Chapter 5 : Methods
 
Java chapter 5
Java chapter 5Java chapter 5
Java chapter 5
 
การบริหารเชิงคุณภาพ ชุดที่ 4
การบริหารเชิงคุณภาพ ชุดที่ 4การบริหารเชิงคุณภาพ ชุดที่ 4
การบริหารเชิงคุณภาพ ชุดที่ 4
 
An Overview of eZee Burrp! (Philus Limited)
An Overview of eZee Burrp! (Philus Limited)An Overview of eZee Burrp! (Philus Limited)
An Overview of eZee Burrp! (Philus Limited)
 
Java 1-contd
Java 1-contdJava 1-contd
Java 1-contd
 
Java swing 1
Java swing 1Java swing 1
Java swing 1
 

Similar to Introduction to Java EE (J2EE)

Shin J2 Ee Programming Half Day
Shin J2 Ee Programming Half DayShin J2 Ee Programming Half Day
Shin J2 Ee Programming Half Daylokendralodha
 
Summer training in j2ee
Summer training in j2eeSummer training in j2ee
Summer training in j2eeDUCC Systems
 
6 Weeks Project Based Summer Training
6 Weeks Project Based Summer Training6 Weeks Project Based Summer Training
6 Weeks Project Based Summer TrainingTech Mentro
 
Presenter manual J2EE (specially for summer interns)
Presenter manual  J2EE (specially for summer interns)Presenter manual  J2EE (specially for summer interns)
Presenter manual J2EE (specially for summer interns)XPERT INFOTECH
 
Java Framework Training.pdf
Java Framework Training.pdfJava Framework Training.pdf
Java Framework Training.pdfajeetyadav541305
 
Industrial Summer Training for MCA/BCA/BE/B-Tech Students
Industrial Summer Training for MCA/BCA/BE/B-Tech StudentsIndustrial Summer Training for MCA/BCA/BE/B-Tech Students
Industrial Summer Training for MCA/BCA/BE/B-Tech StudentsTech Mentro
 
LatJUG. Spring Roo
LatJUG. Spring RooLatJUG. Spring Roo
LatJUG. Spring Roodenis Udod
 
Presenter manual core java (specially for summer interns)
Presenter manual  core java (specially for summer interns)Presenter manual  core java (specially for summer interns)
Presenter manual core java (specially for summer interns)XPERT INFOTECH
 
Catalyst college-presentation
Catalyst college-presentationCatalyst college-presentation
Catalyst college-presentationVinodh Kombissan
 
Summer training java
Summer training javaSummer training java
Summer training javaArshit Rai
 
Java academy
Java academyJava academy
Java academyeddyvos
 
Summer training java
Summer training javaSummer training java
Summer training javaArshit Rai
 
Visual Studio Application Lifecycle Managment end-to-end
Visual Studio Application Lifecycle Managment end-to-endVisual Studio Application Lifecycle Managment end-to-end
Visual Studio Application Lifecycle Managment end-to-endHosam Kamel
 
End-To-End Visual Studio Application Lifecycle Management
End-To-End Visual Studio Application Lifecycle ManagementEnd-To-End Visual Studio Application Lifecycle Management
End-To-End Visual Studio Application Lifecycle ManagementHosam Kamel
 

Similar to Introduction to Java EE (J2EE) (20)

Shin J2 Ee Programming Half Day
Shin J2 Ee Programming Half DayShin J2 Ee Programming Half Day
Shin J2 Ee Programming Half Day
 
Summer training in j2ee
Summer training in j2eeSummer training in j2ee
Summer training in j2ee
 
J2EE day 1
J2EE day 1J2EE day 1
J2EE day 1
 
6 Weeks Project Based Summer Training
6 Weeks Project Based Summer Training6 Weeks Project Based Summer Training
6 Weeks Project Based Summer Training
 
Presenter manual J2EE (specially for summer interns)
Presenter manual  J2EE (specially for summer interns)Presenter manual  J2EE (specially for summer interns)
Presenter manual J2EE (specially for summer interns)
 
Javatraining
JavatrainingJavatraining
Javatraining
 
Java Framework Training.pdf
Java Framework Training.pdfJava Framework Training.pdf
Java Framework Training.pdf
 
Industrial Summer Training for MCA/BCA/BE/B-Tech Students
Industrial Summer Training for MCA/BCA/BE/B-Tech StudentsIndustrial Summer Training for MCA/BCA/BE/B-Tech Students
Industrial Summer Training for MCA/BCA/BE/B-Tech Students
 
LatJUG. Spring Roo
LatJUG. Spring RooLatJUG. Spring Roo
LatJUG. Spring Roo
 
Presenter manual core java (specially for summer interns)
Presenter manual  core java (specially for summer interns)Presenter manual  core java (specially for summer interns)
Presenter manual core java (specially for summer interns)
 
Naveen Gudapati Resume
Naveen Gudapati ResumeNaveen Gudapati Resume
Naveen Gudapati Resume
 
Catalyst college-presentation
Catalyst college-presentationCatalyst college-presentation
Catalyst college-presentation
 
Summer training java
Summer training javaSummer training java
Summer training java
 
Java academy
Java academyJava academy
Java academy
 
Java
JavaJava
Java
 
D4 recommendation emenu_development
D4 recommendation emenu_developmentD4 recommendation emenu_development
D4 recommendation emenu_development
 
Tamilmani_JAVAJ2EE_8.6YRS
Tamilmani_JAVAJ2EE_8.6YRSTamilmani_JAVAJ2EE_8.6YRS
Tamilmani_JAVAJ2EE_8.6YRS
 
Summer training java
Summer training javaSummer training java
Summer training java
 
Visual Studio Application Lifecycle Managment end-to-end
Visual Studio Application Lifecycle Managment end-to-endVisual Studio Application Lifecycle Managment end-to-end
Visual Studio Application Lifecycle Managment end-to-end
 
End-To-End Visual Studio Application Lifecycle Management
End-To-End Visual Studio Application Lifecycle ManagementEnd-To-End Visual Studio Application Lifecycle Management
End-To-End Visual Studio Application Lifecycle Management
 

More from Atit Patumvan

Iot for smart agriculture
Iot for smart agricultureIot for smart agriculture
Iot for smart agricultureAtit Patumvan
 
แบบฝึกหัดวิชา Theory of Computation ชุดที่ 1 เซ็ต
แบบฝึกหัดวิชา Theory of Computation ชุดที่ 1 เซ็ตแบบฝึกหัดวิชา Theory of Computation ชุดที่ 1 เซ็ต
แบบฝึกหัดวิชา Theory of Computation ชุดที่ 1 เซ็ตAtit Patumvan
 
รายงานการประเมินคุณภาพภายใน ปีงบประมาณ 2556
รายงานการประเมินคุณภาพภายใน ปีงบประมาณ 2556รายงานการประเมินคุณภาพภายใน ปีงบประมาณ 2556
รายงานการประเมินคุณภาพภายใน ปีงบประมาณ 2556Atit Patumvan
 
Chapter 0 introduction to theory of computation
Chapter 0 introduction to theory of computationChapter 0 introduction to theory of computation
Chapter 0 introduction to theory of computationAtit Patumvan
 
Chapter 01 mathmatics tools (slide)
Chapter 01 mathmatics tools (slide)Chapter 01 mathmatics tools (slide)
Chapter 01 mathmatics tools (slide)Atit Patumvan
 
การบริหารเชิงคุณภาพ ชุดที่ 6
การบริหารเชิงคุณภาพ ชุดที่ 6การบริหารเชิงคุณภาพ ชุดที่ 6
การบริหารเชิงคุณภาพ ชุดที่ 6Atit Patumvan
 
Computer Programming Chapter 4 : Loops
Computer Programming Chapter 4 : Loops Computer Programming Chapter 4 : Loops
Computer Programming Chapter 4 : Loops Atit Patumvan
 
การบริหารเชิงคุณภาพ ชุดที่ 5
การบริหารเชิงคุณภาพ ชุดที่ 5การบริหารเชิงคุณภาพ ชุดที่ 5
การบริหารเชิงคุณภาพ ชุดที่ 5Atit Patumvan
 
Computer Programming: Chapter 1
Computer Programming: Chapter 1Computer Programming: Chapter 1
Computer Programming: Chapter 1Atit Patumvan
 
การบริหารเชิงคุณภาพ ชุดที่ 1
การบริหารเชิงคุณภาพ ชุดที่ 1การบริหารเชิงคุณภาพ ชุดที่ 1
การบริหารเชิงคุณภาพ ชุดที่ 1Atit Patumvan
 
Write native iPhone applications using Eclipse CDT
Write native iPhone applications using Eclipse CDTWrite native iPhone applications using Eclipse CDT
Write native iPhone applications using Eclipse CDTAtit Patumvan
 
Chapter 9 : Polymorphism, Dynamic Typing, and Dynamic Binding
Chapter 9 : Polymorphism, Dynamic Typing, and Dynamic BindingChapter 9 : Polymorphism, Dynamic Typing, and Dynamic Binding
Chapter 9 : Polymorphism, Dynamic Typing, and Dynamic BindingAtit Patumvan
 
OOP Chapter 8 : Inheritance
OOP Chapter 8 : InheritanceOOP Chapter 8 : Inheritance
OOP Chapter 8 : InheritanceAtit Patumvan
 
การตลาดโดยใช้พิกัดสถานที่เป็นฐาน
การตลาดโดยใช้พิกัดสถานที่เป็นฐานการตลาดโดยใช้พิกัดสถานที่เป็นฐาน
การตลาดโดยใช้พิกัดสถานที่เป็นฐานAtit Patumvan
 
OOP Chapter 7 : More on Classes
OOP Chapter 7 : More on ClassesOOP Chapter 7 : More on Classes
OOP Chapter 7 : More on ClassesAtit Patumvan
 
การจัดการธุรกิจแบบเหนือเมฆ
การจัดการธุรกิจแบบเหนือเมฆการจัดการธุรกิจแบบเหนือเมฆ
การจัดการธุรกิจแบบเหนือเมฆAtit Patumvan
 
OOP Chapter 6: Making Decisions
OOP Chapter 6: Making DecisionsOOP Chapter 6: Making Decisions
OOP Chapter 6: Making DecisionsAtit Patumvan
 
OOP Chapter 5 : Program Looping
OOP Chapter 5 : Program Looping OOP Chapter 5 : Program Looping
OOP Chapter 5 : Program Looping Atit Patumvan
 
OOP Chapter 4: Data Type and Expressions
OOP Chapter 4: Data Type and ExpressionsOOP Chapter 4: Data Type and Expressions
OOP Chapter 4: Data Type and ExpressionsAtit Patumvan
 

More from Atit Patumvan (20)

Iot for smart agriculture
Iot for smart agricultureIot for smart agriculture
Iot for smart agriculture
 
แบบฝึกหัดวิชา Theory of Computation ชุดที่ 1 เซ็ต
แบบฝึกหัดวิชา Theory of Computation ชุดที่ 1 เซ็ตแบบฝึกหัดวิชา Theory of Computation ชุดที่ 1 เซ็ต
แบบฝึกหัดวิชา Theory of Computation ชุดที่ 1 เซ็ต
 
รายงานการประเมินคุณภาพภายใน ปีงบประมาณ 2556
รายงานการประเมินคุณภาพภายใน ปีงบประมาณ 2556รายงานการประเมินคุณภาพภายใน ปีงบประมาณ 2556
รายงานการประเมินคุณภาพภายใน ปีงบประมาณ 2556
 
Chapter 0 introduction to theory of computation
Chapter 0 introduction to theory of computationChapter 0 introduction to theory of computation
Chapter 0 introduction to theory of computation
 
Media literacy
Media literacyMedia literacy
Media literacy
 
Chapter 01 mathmatics tools (slide)
Chapter 01 mathmatics tools (slide)Chapter 01 mathmatics tools (slide)
Chapter 01 mathmatics tools (slide)
 
การบริหารเชิงคุณภาพ ชุดที่ 6
การบริหารเชิงคุณภาพ ชุดที่ 6การบริหารเชิงคุณภาพ ชุดที่ 6
การบริหารเชิงคุณภาพ ชุดที่ 6
 
Computer Programming Chapter 4 : Loops
Computer Programming Chapter 4 : Loops Computer Programming Chapter 4 : Loops
Computer Programming Chapter 4 : Loops
 
การบริหารเชิงคุณภาพ ชุดที่ 5
การบริหารเชิงคุณภาพ ชุดที่ 5การบริหารเชิงคุณภาพ ชุดที่ 5
การบริหารเชิงคุณภาพ ชุดที่ 5
 
Computer Programming: Chapter 1
Computer Programming: Chapter 1Computer Programming: Chapter 1
Computer Programming: Chapter 1
 
การบริหารเชิงคุณภาพ ชุดที่ 1
การบริหารเชิงคุณภาพ ชุดที่ 1การบริหารเชิงคุณภาพ ชุดที่ 1
การบริหารเชิงคุณภาพ ชุดที่ 1
 
Write native iPhone applications using Eclipse CDT
Write native iPhone applications using Eclipse CDTWrite native iPhone applications using Eclipse CDT
Write native iPhone applications using Eclipse CDT
 
Chapter 9 : Polymorphism, Dynamic Typing, and Dynamic Binding
Chapter 9 : Polymorphism, Dynamic Typing, and Dynamic BindingChapter 9 : Polymorphism, Dynamic Typing, and Dynamic Binding
Chapter 9 : Polymorphism, Dynamic Typing, and Dynamic Binding
 
OOP Chapter 8 : Inheritance
OOP Chapter 8 : InheritanceOOP Chapter 8 : Inheritance
OOP Chapter 8 : Inheritance
 
การตลาดโดยใช้พิกัดสถานที่เป็นฐาน
การตลาดโดยใช้พิกัดสถานที่เป็นฐานการตลาดโดยใช้พิกัดสถานที่เป็นฐาน
การตลาดโดยใช้พิกัดสถานที่เป็นฐาน
 
OOP Chapter 7 : More on Classes
OOP Chapter 7 : More on ClassesOOP Chapter 7 : More on Classes
OOP Chapter 7 : More on Classes
 
การจัดการธุรกิจแบบเหนือเมฆ
การจัดการธุรกิจแบบเหนือเมฆการจัดการธุรกิจแบบเหนือเมฆ
การจัดการธุรกิจแบบเหนือเมฆ
 
OOP Chapter 6: Making Decisions
OOP Chapter 6: Making DecisionsOOP Chapter 6: Making Decisions
OOP Chapter 6: Making Decisions
 
OOP Chapter 5 : Program Looping
OOP Chapter 5 : Program Looping OOP Chapter 5 : Program Looping
OOP Chapter 5 : Program Looping
 
OOP Chapter 4: Data Type and Expressions
OOP Chapter 4: Data Type and ExpressionsOOP Chapter 4: Data Type and Expressions
OOP Chapter 4: Data Type and Expressions
 

Recently uploaded

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdfssuserdda66b
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 

Recently uploaded (20)

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 

Introduction to Java EE (J2EE)

  • 1. Introduction to Java EE (J2EE) Introduction to Java EE (J2EE) Atit Patumvan, Lecturer Faculty of Management and Information Sciences Naresuan University Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 2. 2 Introduction 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 Introduction 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 application's 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 changes Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 4. 4 Introduction to Java EE (J2EE) Standard MVC Structure Controller notifies user interaction Handles model updates View Model Update the views on model changes Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 5. 5 Introduction to Java EE (J2EE) Demo Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 6. 6 Introduction to Java EE (J2EE) What is J2EE? Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 7. 7 Introduction to Java EE (J2EE) The Java Platform Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 8. 8 Introduction 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 CardVM Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 9. 9 Introduction 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 application Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 10. 10 Introduction 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 Code Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 11. 11 Introduction 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 APIs Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 12. 12 Introduction 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 components Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 13. 13 Introduction 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 API Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 14. 14 Introduction 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 pool Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 15. 15 Introduction to Java EE (J2EE) J2EE API and Technologies Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 16. 16 Introduction 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.0 Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 17. 17 Introduction 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 Platform Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 18. 18 Introduction to Java EE (J2EE) J2EE Components Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 19. 19 Introduction to Java EE (J2EE) Java Servlet Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 20. 20 Introduction 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 Servlet2 Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 21. 21 Introduction 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 protection Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 22. 22 Introduction 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.html Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 23. 23 Introduction 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 forms Source: http://java.sun.com/docs/books/tutorial/servlets/lifecycle/index.html Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 24. 24 Introduction 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 – Cookies Source: http://java.sun.com/docs/books/tutorial/servlets/lifecycle/index.html Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 25. 25 Introduction to Java EE (J2EE) Demo Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 26. 26 Introduction 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 Introduction 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 Introduction 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 Introduction to Java EE (J2EE) What is Java Server Pages (JSP)? Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 30. 30 Introduction 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 applications Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 31. 31 Introduction 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 Introduction to Java EE (J2EE) EJB (Enterprise Java Beans) Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 33. 33 Introduction 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 Introduction 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 descriptor Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 35. 35 Introduction 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 Introduction to Java EE (J2EE) EJB Architecture Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 37. 37 Introduction 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 Introduction to Java EE (J2EE) JMS (Java Message Services) Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 39. 39 Introduction 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 systems Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 40. 40 Introduction to Java EE (J2EE) Connector Architecture Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 41. 41 Introduction to Java EE (J2EE) m x n Problem m n App SAP Server1 App EIS2 Server2 App EIS3 Server3 App EIS4 Server Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 42. 42 Introduction 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 EIS's) Adaptors ● With Connector architecture, same adaptor works with all J2EE compliant containers ● 1 (common to all App servers) x n (# of EIS's) Adaptors Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 43. 43 Introduction to Java EE (J2EE) JAAS (Java Authentication & Authorization Services) Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 44. 44 Introduction 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 JAAS Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 45. 45 Introduction to Java EE (J2EE) JAAS Pluggable Authentication Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 46. 46 Introduction to Java EE (J2EE) Other J2EE APIs and Technologies Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 47. 47 Introduction 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 Introduction 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 Introduction to Java EE (J2EE) J2EE is End to End Architecture Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 50. 50 Introduction to Java EE (J2EE) The J2EE Platform Architecture B2B Applications Existing Applications B2C Applications Web Services Enterprise Information Wireless Application Server Systems Applications Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 51. 51 Introduction to Java EE (J2EE) N-tear J2EE Architecture Web Tier EJB Tier Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 52. 52 Introduction 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 ● XML Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 53. 53 Introduction 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.html Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 54. 54 Introduction 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.html Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 55. 55 Introduction 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 IDE Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 56. 56 Introduction 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 © 2000 Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.
  • 57. 57 Introduction 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/tutorial Atit Patumvan, Faculty of Management and Information Sciences, Naresuan University.