Sun Java Studio Creator. Ken Paulsen Staff Engineer Sun Microsystems, Incorporated (Slides by: Craig R. McClanahan)

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

Distributed Multitiered Application

Developing Applications with Java EE 6 on WebLogic Server 12c

NetBeans IDE Field Guide

Contents at a Glance

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

Chapter 6 Enterprise Java Beans

open source community experience distilled

J2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format.

IBM Rational Application Developer for WebSphere Software, Version 7.0

SUN Sun Certified Enterprise Architect for J2EE 5. Download Full Version :

Rational Application Developer 7 Bootcamp

Building JavaServer Faces Applications

Oracle ADF: The technology behind project fusion. Lynn Munsinger Principal Product Manager Application Development Tools Oracle Corporation

(9A05803) WEB SERVICES (ELECTIVE - III)

Chapter 2 FEATURES AND FACILITIES. SYS-ED/ Computer Education Techniques, Inc.

Shale and the Java Persistence Architecture. Craig McClanahan Gary Van Matre. ApacheCon US 2006 Austin, TX

Java Programming Language

Java Training Center, Noida - Java Expert Program

Oracle Developer Day

Oracle Fusion Middleware 11g: Build Applications with ADF I

Building Web Applications With The Struts Framework

Chapter 1 GETTING STARTED. SYS-ED/ Computer Education Techniques, Inc.

Tooling for Ajax-Based Development. Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc.

Type of Classes Nested Classes Inner Classes Local and Anonymous Inner Classes

J2EE Interview Questions

Deccansoft Software Services. J2EE Syllabus

Java EE 6 - Update Harpreet Singh GlassFish Portfolio Product Manager

Designing a Distributed System

Contents. 1. JSF overview. 2. JSF example

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

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

Oracle 10g: Build J2EE Applications

Oracle Application Development Framework Overview

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

IBM Rational Business Developer (RBD) is a development environment that

Oracle Fusion Middleware 11g: Build Applications with ADF I

Fast Track to Java EE

Getting started with WebSphere Portlet Factory V7.0.0

Java EE 7: Back-End Server Application Development

User s Guide 12c (12.2.1)

Java SE7 Fundamentals

COURSE DETAILS: CORE AND ADVANCE JAVA Core Java

Java J Course Outline

Module 3 Web Component

IBM Workplace Software Development Kit

What's New in ActiveVOS 7.1 Includes ActiveVOS 7.1.1

JAVA COURSES. Empowering Innovation. DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP

Overview. Principal Product Manager Oracle JDeveloper & Oracle ADF

Improve and Expand JavaServer Faces Technology with JBoss Seam

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

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

Java EE 6: Develop Business Components with JMS & EJBs

Introduction to Java Server Faces(JSF)

Advanced Java Programming

TOPLink for WebLogic. Whitepaper. The Challenge: The Solution:

If you wish to make an improved product, you must already be engaged in making an inferior one.

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

ive JAVA EE C u r r i c u l u m

Getting started with WebSphere Portlet Factory V6

Java EE 6: Develop Web Applications with JSF

Getting started with WebSphere Portlet Factory V6.1

DOC // JAVA TOMCAT WEB SERVICES TUTORIAL EBOOK

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

Oracle Fusion Middleware 11g: Build Applications with ADF Accel

Oracle Fusion Middleware

Teamcenter Global Services Customization Guide. Publication Number PLM00091 J

Call: JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline

CO Java EE 7: Back-End Server Application Development

Enterprise Java and Rational Rose -- Part I

Performance evaluation of J2EE

Oracle Developer Day

Tools to Develop New Linux Applications

Java Enterprise Edition

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

Overview p. 1 Server-side Component Architectures p. 3 The Need for a Server-Side Component Architecture p. 4 Server-Side Component Architecture

CHAPTER. Introduction to the Oracle Application Development Framework

Using Adobe Flex in JSR-286 Portlets

COURSE 9 DESIGN PATTERNS

The JSF Tools Project

Enterprise JavaBeans, Version 3 (EJB3) Programming

Creating your first JavaServer Faces Web application

Oracle9i Application Server Architecture and Com

<Insert Picture Here> Productive JavaEE 5.0 Development

Java EE 5 Development for WebSphere Application Server V7

COWLEY COLLEGE & Area Vocational Technical School

J2EE 1.4. Magnus Larsson. Callista Enterprise AB.

Anno Accademico Laboratorio di Tecnologie Web Introduzione ad Eclipse e Tomcat

A Closer Look at XPages in IBM Lotus Domino Designer 8.5 Ray Chan Advisory I/T Specialist Lotus, IBM Software Group

What is it? What does it do?

Visual Web Next Design Concepts. Winston Prakash Feb 12, 2008

Application Integration with WebSphere Portal V7

Introduction to Java. Lecture 1 COP 3252 Summer May 16, 2017

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

ADF Mobile Code Corner

NETBEANS PLATFORM. Satyajit Tripathi Member Technical Staff ISV-Engineering, Sun Microsystems

IBM Rational Developer for System z Version 7.5

Extreme Java G Session 5 - Main Theme Java Core Technologies (Part III) Dr. Jean-Claude Franchitti

purequery Deep Dive Part 2: Data Access Development Dan Galvin Galvin Consulting, Inc.

Oracle Fusion Middleware

Transcription:

Sun Java Studio Creator Ken Paulsen Staff Engineer Sun Microsystems, Incorporated (Slides by: Craig R. McClanahan)

Agenda Background Developer characteristics Corporate developers Sun Java Studio Creator Application Model Overview Basic components Under the covers Additional components Using data in applications Page navigation 2 Seattle Java Users Group Jan 18, 2005

Agenda Other Features Component Library Import Creator Design Time APIs Summary 3 Seattle Java Users Group Jan 18, 2005

Agenda Background Developer characteristics Corporate developers Sun Java Studio Creator Application Model Overview Basic components Under the covers Additional components Using data in applications Page navigation and value bindings 4 Seattle Java Users Group Jan 18, 2005

The Appeal of Java Java has traditionally appealed to technology-savvy developers Object orientation Type safety Sophisticated, powerful APIs But it has often been perceived as too hard to use by a significant audience 5 Seattle Java Users Group Jan 18, 2005

Corporate Developers May not be your typical developers May be domain experts Might use VB, 4GLs, or scripting languages The applications they create: Are typically consumers of data and services Provide rich UI to what may be a complex underlying system 6 Seattle Java Users Group Jan 18, 2005

Corporate Developers The bar with most Java IDEs is just too high Geared toward techologists / enterprise developers Value = flexibility and richness Corporate developers have different requirements Value = simplicity and understandability Prefer a complete solution 7 Seattle Java Users Group Jan 18, 2005

Tools for Corporate Developers Different development styles More up front coding Design UI, modify attributes, plug in data, services, and logic Heavy re-use and component drag and drop Simplified coding Does not mean no code Results should be understandable, obvious Truth in code Cause and effect should be evident 8 Seattle Java Users Group Jan 18, 2005

Tools for Corporate Developers Different requirements Platform power Must be available, but not required to be productive Understanding complexity should not be required Resulting applications Should be standards based Minimal or no required runtime 9 Seattle Java Users Group Jan 18, 2005

Sun Java Studio Creator A Tool For The Corporate Developer Solid IDE platform NetBeans Infrastructure for building a complete development environment Powerful standard IDE fare features Built with and for Java standards Integrated with SJSAS Platform Edition Features standard Java APIs Runtime applications are portable 10 Seattle Java Users Group Jan 18, 2005

DEMO A Quick Orientation 11 Seattle Java Users Group Jan 18, 2005

Agenda Background Developer characteristics Corporate developers Sun Java Studio Creator Application Model Overview Basic components Under the covers Additional components Using data in applications Page navigation and value bindings 12 Seattle Java Users Group Jan 18, 2005

The Application Model High Level View Applications consist of the following primary elements: A set of web pages (and Java source) Configuration (metadata) information Additional logic, services, and runtime code Extra resources as necessary (for example): Images Localizing bundles 13 Seattle Java Users Group Jan 18, 2005

The Application Model High Level View 14 Seattle Java Users Group Jan 18, 2005

The Application Model Page Level View Each logical page consists of: JSP Page JSF components Additional markup Corresponding Page Bean Component instances Event handlers Page properties Methods 15 Seattle Java Users Group Jan 18, 2005

DEMO JSP Pages and Page Beans 16 Seattle Java Users Group Jan 18, 2005

The Application Model Under The Covers Additional Elements Prebuilt JavaBeans: PageBean Per-request properties, components, event handlers SessionBean Per-user properties required across requests or pages ApplicationBean Application wide properties (such as cached contents for drop down lists) 17 Seattle Java Users Group Jan 18, 2005

The Application Model Under The Covers Additional Elements PageBean Additional Contents: Event handlers (actions, value changes) Converters Validators Data Source Components: JDBC Rowsets Web Services Enterprise JavaBeans 18 Seattle Java Users Group Jan 18, 2005

Using Data In Applications JDBC Rowsets JDBC Rowsets are components: Non-visual, so represented in the tray Have properties that can be customized Properties persisted in constructor of the containing page bean Visual binding of rowsets to UI components Visual editing of SELECT queries 19 Seattle Java Users Group Jan 18, 2005

DEMO Binding Rowsets To UI Components #1 20 Seattle Java Users Group Jan 18, 2005

Rich Design Time Experience As we have seen in the demos so far, Creator provides rich design time facilities WSYWIG rendering of components Configuration of components on drop Visual binding to properties or services Context sensitive operations Let's see more of this in action 21 Seattle Java Users Group Jan 18, 2005

DEMO Binding Rowsets To UI Components #2 22 Seattle Java Users Group Jan 18, 2005

Using Data In Applications Web Services SOAP-Based Web Services are: Defined by WSDL resource, which is... Located via a URL or a local file When you drop a web service onto a page in your application: Creator generates client stubs Adds appropriate libraries to your application Provides Java API to access web service from event handlers 23 Seattle Java Users Group Jan 18, 2005

DEMO Accessing Web Services (requires net access to deploy) 24 Seattle Java Users Group Jan 18, 2005

Using Data In Applications Enterprise JavaBeans (Preview Feature) You may access stateless session beans that are available on your application server When you drop an EJB onto your page Creator builds a client that encapsulates the EJB lookup and call Adds appropriate libraries to your application Provides Java API to access EJBs from event handlers 25 Seattle Java Users Group Jan 18, 2005

DEMO Accessing Enterprise JavaBeans (Preview Feature) 26 Seattle Java Users Group Jan 18, 2005

Page Navigation Easy Configuration for Multiple Page Applications JavaServer Faces supports two approaches to navigation: Static Predetermined path to second page Dynamic Calculate where to go next Navigation is based on: Current page being submitted Which submit button was pressed Logical outcome (or static value) returned 27 Seattle Java Users Group Jan 18, 2005

Value Binding Expressions Connecting components to data JavaServer Faces uses value binding expressions to connect components to underlying model data #{customer.address.city} Based on expression language from JSTL 1.0 and JSP 2.0 Extended to support dynamic bean creation via managed beans facility 28 Seattle Java Users Group Jan 18, 2005

Method Binding Expressions Connecting components to event handlers Specialized expressions bind components to event handlers #{Page1.submit_action} public void submit_action() {... } Allows all the event handlers for a page to be combined in one class Can be used for actions, validators, and value change listeners 29 Seattle Java Users Group Jan 18, 2005

DEMO Using Page Navigation, Value Bindings, and Method Bindings 30 Seattle Java Users Group Jan 18, 2005

Agenda Other Features Component Library Import Creator Design Time APIs Summary 31 Seattle Java Users Group Jan 18, 2005

Component Library Import Going Beyond The Standard Components Creator supports a mechanism to import third party libraries of JavaServer Faces components Component Import archive contains: Runtime classes (to include in a webapp) Design time classes (to be used by Creator) Metadata (to register components with JSF) 32 Seattle Java Users Group Jan 18, 2005

Component Library Import Going Beyond The Standard Components At import time, Each library gets its own palette section BeanInfo classes generated (if necessary) At design time, Using third party components is the same dragand-drop process as for standard components Required runtime libraries added to webapp At run time, JSF seamlessly manages all of the components 33 Seattle Java Users Group Jan 18, 2005

Creator Design Time APIs Support for Third Party Components (Preview Feature) Creator supports a rich design time experience for standard components: Event handlers for drop and link actions Persists configuration in JSP and/or Java code Custom property editors and customizers Custom context menu items Internally, provided via Creator Design Time APIs 34 Seattle Java Users Group Jan 18, 2005

Creator Design Time APIs Support for Third Party Components (Preview Feature) We are publishing these APIs (as a Preview Feature) for use by third party component developers User's Guide for these APIs available on the Creator web site 35 Seattle Java Users Group Jan 18, 2005

DEMO Component Import and Design Time APIs (Preview Feature) 36 Seattle Java Users Group Jan 18, 2005

Agenda Other Features Component Library Import Creator Design Time APIs Summary 37 Seattle Java Users Group Jan 18, 2005

Sun Java Studio Creator A Tool For The Corporate Developer Rich design time user experience Drag-and-drop visual programming Persists all decisions in code: JSP pages Java sources Configuration files Simple, intuitive application model 38 Seattle Java Users Group Jan 18, 2005

Sun Java Studio Creator A Tool For The Corporate Developer Available as part of the first year of a Sun Developer Network subscription Rich supporting web site content Active user forum and support channels Attractive price ($99/year list) http://developer.sun.com/jscreator/ Also available at Amazon with Java Studio Creator Field Guide 39 Seattle Java Users Group Jan 18, 2005

Sun Java Studio Creator Ken Paulsen (ken.paulsen@sun.com) Staff Engineer Sun Microsystems, Incorporated (Slides by: Craig R. McClanahan)