Hands-on Development of Web Applications with Java EE 6

Similar documents
Oracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand)

Java EE 6 - Update Harpreet Singh GlassFish Portfolio Product Manager

1 Markus Eisele, Insurance - Strategic IT-Architecture

Designing a Distributed System

JavaEE.Next(): Java EE 7, 8, and Beyond

open source community experience distilled

Deccansoft Software Services. J2EE Syllabus

Java EE 6 & GlassFish v3 Paving the path for future. Arun Gupta Sun Microsystems, Inc.

Oracle Corporation

Java EE 5 Development for WebSphere Application Server V7

Java EE 7: Back-End Server Application Development

CO Java EE 7: Back-End Server Application Development

Java EE 7 is ready What to do next? Peter Doschkinow Senior Java Architect

JBoss Enterprise Application Platform 6.3

Developing Applications with Java EE 6 on WebLogic Server 12c

Enterprise Development

Java EE 6: Develop Web Applications with JSF

JVA-563. Developing RESTful Services in Java

J2EE - Version: 25. Developing Enterprise Applications with J2EE Enterprise Technologies

Development of Advanced Applications with IBM WebSphere Application Server Liberty Profile IBM Redbooks Solution Guide

Red Hat JBoss Enterprise Application Platform 7.2

Contents at a Glance

Java EE Application Assembly & Deployment Packaging Applications, Java EE modules. Model View Controller (MVC)2 Architecture & Packaging EJB Module

JBoss Enterprise Application Platform 6.1

JBoss Enterprise Application Platform 6.2

Courses For Event Java Advanced Summer Training 2018

Java- EE Web Application Development with Enterprise JavaBeans and Web Services

JBoss Enterprise Application Platform 6

Vision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1

JVA-163. Enterprise JavaBeans

The Next Generation. Prabhat Jha Principal Engineer

IronJacamar. What is Java EE Connector Architecture? IronJacamar in JBoss Application Server 7 Use the Force, Luke IronJacamar 1.1

Want to read more? It s also available at your favorite book retailer, including the ibookstore, the Android Marketplace, and Amazon.com.

Specialized - Mastering JEE 7 Web Application Development

Improve and Expand JavaServer Faces Technology with JBoss Seam

ERROR New missing/unsatisfied dependencies: (Cannot configure datasource)

Java Training Center, Noida - Java Expert Program

Eclipse Java Ejb 3.0 Tutorial For Beginners With Examples Pdf

Java EE 8 What s coming? David Delabassee Oracle May 17, 2017

Java EE 6: Develop Business Components with JMS & EJBs

<Insert Picture Here> Exploring Java EE 6 The Programming Model Explained

APPLICATION SECURITY ENHANCEMENTS IN JAVA EE 6

<Insert Picture Here> Productive JavaEE 5.0 Development

DOC // JAVA TOMCAT WEB SERVICES TUTORIAL EBOOK

MicroProfile - New and Noteworthy

Outline. Project Goal. Overview of J2EE. J2EE Architecture. J2EE Container. San H. Aung 26 September, 2003

Java EE 6 New features in practice Part 2

EJB ENTERPRISE JAVA BEANS INTRODUCTION TO ENTERPRISE JAVA BEANS, JAVA'S SERVER SIDE COMPONENT TECHNOLOGY. EJB Enterprise Java

Migrating traditional Java EE applications to mobile

<Insert Picture Here> Java Virtual Developer Day

OSGi in WebSphere : The Story so far

Fast Track to Java EE 5 with Servlets, JSP & JDBC

ADVANCED JAVA COURSE CURRICULUM

Oracle Fusion Middleware 11g: Build Applications with ADF I

JBoss SOAP Web Services User Guide. Version: M5

Deployment. See Packaging and deployment processes

What is it? What does it do?

Devoxx 2008 in a breeze

INTRODUCTION TO COMPONENT DESIGN IN JAVA EE COMPONENT VS. OBJECT, JAVA EE JAVA EE DEMO. Tomas Cerny, Software Engineering, FEE, CTU in Prague,

From Development to Production with the IBM WebSphere Application Server Liberty Profile IBM Redbooks Solution Guide

IBM WebSphere Application Server v6

QUALITY SUPPORT FROM THE SOURCE.

IBM. IBM WebSphere Application Server Migration Toolkit. WebSphere Application Server. Version 9.0 Release

Java EE und WebLogic Roadmap die nächsten Schritte

index_ qxd 7/18/02 11:48 AM Page 259 Index

CMP 436/774. Introduction to Java Enterprise Edition. Java Enterprise Edition

Seam 3. Pete Muir JBoss, a Division of Red Hat

Oracle Fusion Middleware

J2EE Interview Questions

Fast Track to Java EE

Java EE 6 Web Profile Leader 2011 Roadmap

Introduction. Enterprise Java Instructor: Please introduce yourself Name Experience in Java Enterprise Edition Goals you hope to achieve

Table of Contents Fast Track to Java EE 5 with Servlets/JSP and JDBC

Oracle Corporation

(9A05803) WEB SERVICES (ELECTIVE - III)

Introduction to componentbased software development

1Z Oracle. Java Enterprise Edition 5 Enterprise Architect Certified Master

Enterprise Java Unit 1-Chapter 2 Prof. Sujata Rizal Java EE 6 Architecture, Server and Containers

What is tackled in the Java EE Security API (Java EE 8)

Hello Java Enterprise Edition

DOWNLOAD OR READ : JAVA EE 6 WEB COMPONENT DEVELOPER CERTIFIED EXPERT MARATHON 1Z0 899 PRACTICE PROBLEMS PDF EBOOK EPUB MOBI

Projects. How much new information can fit in your brain? Corporate Trainer s Profile TECHNOLOGIES

Lessons learned from real-world deployments of Java EE 7. Arun Gupta, Red

Building the Enterprise

Java J Course Outline

Oracle Fusion Middleware 11g: Build Applications with ADF I

Leverage Rational Application Developer v8 to develop Java EE6 application and test with WebSphere Application Server v8

Java SE 8 Fundamentals

Introduction to Java Platform, Enterprise Edition 7

Java EE. OSS <OSS X Users Meeting> #21 Java EE. Akihiro Nishikawa Oracle Corporation Japan. December 12, 2017

Meet. Brian Stansberry Principal Software Engineer, Red Hat, Inc. June 10, Friday, June 14, 13

Architect Exam Guide. OCM EE 6 Enterprise. (Exams IZO-807,1ZO-865 & IZO-866) Oracle Press ORACLG. Paul R* Allen and Joseph J.

Java EE 6 & Spring: A Lover s Quarrel. Derrick Kittler Mauricio Maltron Leal Vamsi Chemitiganti

Java EE 7 Overview and Status. Peter Doschkinow Senior Java Architect

Essentials for Java on z Systems

Adopt-a-JSR Panel for 16 October 2014

How To Get Database Schema In Java Using >>>CLICK HERE<<<

ECLIPSE PERSISTENCE PLATFORM (ECLIPSELINK) FAQ

7.1. RELEASE-NOTES-2.0-M1.TXT

Web Application Development Using JEE, Enterprise JavaBeans and JPA

Transcription:

Hands-on Development of Web Applications with Java EE 6 Vítor E. Silva Souza JUG Trento Member & DISI/Unitn PhD Candidate http://disi.unitn.it/~vitorsouza/

Java Created by Sun Microsystems in 1995 Sun acquired by Oracle Corp. in 2009-2010 Java Platform: Open specification; Virtual machine; Programming language; Development kit; APIs (SE, EE, ME, ); Community (JCP, JUGs, ).

Java Technology Java Platform, Standard Edition (Java SE) 7; Java Platform, Enterprise Edition (Java EE) 6; Java Platform, Micro Edition (Java ME) 3; Java Embedded; JavaTV; JavaFX 2 (rich client platform development); Java Card 3; Java DB (formerly Apache Derby).

Java EE 6 For enterprise apps (scalability, security, ); Container-based architecture: Servlet, EJB,...; J2EE Java EE 5 Java EE 6 (JSR 316); Flexibility, extensibility and ease of development; Profiles and pruning; Extensibility points; Etc.

Java EE 6 Components Bean Validation CDI (Contexts and Dependency Injection) for the Java EE Platform EL (Expression Language) JACC (Java Authorization Service Provider Contract for Containers) Java EE Deployment API JavaMail JAX-RS (Java API for RESTful Web Services) JAXR (Java API for XML Registries) JMS (Java Messaging Service) JSF (JavaServer Faces) JSTL (Standard Tag Library for JavaServer Pages) Managed Beans Web Services Metadata for the Java Platform Common Annotations for the Java Platform EJB (Enterprise Java Beans) / Entity Beans Interceptors JASPIC (Java Authentication Service Provider Interface for Containers) Java EE Management API JAX-RPC (Java API for XML-based RPC) JAXB (Java Architecture for XML Binding) JCA (Java EE Connector Architecure) JPA (Java Persistence API) JSP (JavaServer Pages) JTA (Java Transaction API) Servlet Blue = new in Java EE 6 / Red = Candidates for pruning in Java EE 7

Java EE 6 Web Profile Bean Validation 1.0 CDI (Contexts and Dependency Injection) for the Java EE Platform 1.0 EL (Expression Language) 2.2 Interceptors 1.1 JACC (Java Authorization Service Provider Contract for Containers) Java EE Deployment API JavaMail JAX-RS (Java API for RESTful Web Services) JAXR (Java API for XML Registries) Common Annotations for the Java Platform 1.1 EJB (Enterprise Java Beans) 3.1 Lite JASPIC (Java Authentication Service Provider Interface for Containers) Java EE Management API JAX-RPC (Java API for XML-based RPC) JAXB (Java Architecture for XML Binding) JCA (Java EE Connector Architecure) JMS (Java Messaging Service) JPA (Java Persistence API) 2.0 JSF (JavaServer Faces) 2.0 JSP (JavaServer Pages) 2.2 JSTL (Standard Tag Library for JavaServer Pages) 1.2 Managed Beans 1.0 Servlet 3.0 Web Services Metadata for the Java Platform JTA (Java Transaction API) 1.1

Java EE 6 Web Profile Compatible Apache Geronimo 3.0-beta-1; http://geronimo.apache.org/ Apache TomEE 1.0.0-beta-1; http://openejb.apache.org/apache-tomee.html Caucho Resin 4.0.27; http://www.caucho.com/ JBoss Application Server 7; http://www.jboss.org/jbossas Oracle GlassFish Server 3.x; http://glassfish.dev.java.net/

Hands On! Develop the Java Hostel website: Guest registration and login; Room/bed registration by an administrator; Search and book available beds. No time to show installation and setup: JBoss Application Server 7 Web Profile; Eclipse IDE 3.7 (Indigo) for Java EE Developers; JBoss Tools plug-in for Eclipse; MySQL Database 5; If you have problems, I can blog about it.

<JBoss Home>/modules/com/mysql/main/ mysql-connector-java-5.1.19-bin.jar Download it from http://www.mysql.com/downloads/connector/j/ module.xml <module xmlns="urn:jboss:module:1.0" name="com.mysql"> <resources> <resource-root path="mysql-connector-java-5.1.19-bin.jar"/> </resources> <dependencies> <module name="javax.api"/> </dependencies> </module>

<JBoss Home>/standalone/configuration/ standalone.xml [...] <datasources> [...] <datasource jndi-name="java:/jboss/datasources/javahostel" pool-name="javahostelpool" enabled="true" jta="true" use-javacontext="true" use-ccm="true"> <connection-url> jdbc:mysql://localhost:3306/javahostel </connection-url> <driver>mysql</driver> <security> <user-name>javahostel</user-name> <password>javahostel</password> </security> <statement> <prepared-statement-cache-size>100 </prepared-statement-cache-size> <share-prepared-statements/> </statement> </datasource> <drivers> [...] <driver name="mysql" module="com.mysql"/> </drivers> </datasources> Make sure the server is NOT running before making these changes!

Web Application layout downloaded from: http://www.templatemo.co m/preview/templatemo_104 _hotel See also: http://www.beautifullife.info /web-design/15-best-freehotel-templates/