17 Copyright © 2005, Oracle. All rights reserved. Deploying Applications by Using Java Web Start.

Slides:



Advertisements
Similar presentations
Using the SQL Access Advisor
Advertisements

You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
1. XP 2 * The Web is a collection of files that reside on computers, called Web servers. * Web servers are connected to each other through the Internet.
Info to Enterprise Migration Implementation Case Study: SBC Corporation Presented to the Crystal Decisions Regional Users Group for the Bay Area on October.
Question examples. Session 1 Objectives Why certify? Positioning of the non-technical version What is Java? Key advantages of Java Java Applications vs.
© 2007 Cisco Systems, Inc. All rights reserved.ISCW-Mod3_L7 1 Network Security 2 Module 6 – Configure Remote Access VPN.
Copyright © 2003 Pearson Education, Inc. Slide 1-1 The Web Wizards Guide to PHP by David A. Lash.
Copyright © 2003 Pearson Education, Inc. Slide 6-1 Created by Cheryl M. Hughes, Harvard University Extension School Cambridge, MA The Web Wizards Guide.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 5 Author: Julia Richards and R. Scott Hawley.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
19 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Developing Web Services.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
7 Copyright © 2005, Oracle. All rights reserved. Maintaining State in J2EE Applications.
18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
Preface IIntroduction Objectives I-2 Course Overview I-3 1Introducing the Java and Oracle Platforms Objectives 1-2 What Is Java? 1-3 Key Benefits of Java.
5 Copyright © 2005, Oracle. All rights reserved. Accessing the Database with Servlets.
4 Copyright © 2005, Oracle. All rights reserved. Creating the Web Tier: Servlets.
16 Copyright © 2005, Oracle. All rights reserved. Developing Message-Driven Beans.
11 Copyright © 2005, Oracle. All rights reserved. Creating the Business Tier: Enterprise JavaBeans.
3 Copyright © 2005, Oracle. All rights reserved. Designing J2EE Applications.
3 Copyright © 2005, Oracle. All rights reserved. Basic Java Syntax and Coding Conventions.
1 Copyright © 2005, Oracle. All rights reserved. Introducing the Java and Oracle Platforms.
8 Copyright © 2005, Oracle. All rights reserved. Creating the Web Tier: JavaServer Pages.
J2EE Overview.
10 Copyright © 2005, Oracle. All rights reserved. Reusing Code with Inheritance and Polymorphism.
15 Copyright © 2005, Oracle. All rights reserved. Adding User Interface Components and Event Handling.
6 Copyright © 2005, Oracle. All rights reserved. Building Applications with Oracle JDeveloper 10g.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
ZMQS ZMQS
© Copyright 2004 United Parcel Service of America, Inc. UPS, the UPS brandmark, and the color brown are registered trademarks of United Parcel Service.
Microsoft Office 2010 Basics and the Internet
Report Card P Only 4 files are exported in SAMS, but there are at least 7 tables could be exported in WebSAMS. Report Card P contains 4 functions: Extract,
13 Copyright © 2005, Oracle. All rights reserved. Monitoring and Improving Performance.
ABC Technology Project
1 Web-Enabled Decision Support Systems Access Introduction: Touring Access Prof. Name Position (123) University Name.
In The Name Of Allah, The Most Beneficent, The Most Merciful
XP New Perspectives on Introducing Microsoft Office 2003 Tutorial 1 1 Using Common Features of Microsoft Office 2003 Tutorial 1.
Squares and Square Root WALK. Solve each problem REVIEW:
Chapter 5 Test Review Sections 5-1 through 5-4.
Learning the Basics – Lesson 1
Addition 1’s to 20.
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT WORD Lesson 8 – Increasing Efficiency Using Word.
25 seconds left…...
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
® Microsoft Office 2010 Browser and Basics.
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms.
Week 1.
We will resume in: 25 Minutes.
1 PART 1 ILLUSTRATION OF DOCUMENTS  Brief introduction to the documents contained in the envelope  Detailed clarification of the documents content.
© ABB University - 1 Revision C E x t e n d e d A u t o m a t i o n S y s t e m x A Chapter 20 Import and Export Course T314.
South Dakota Library Network MetaLib User Interface South Dakota Library Network 1200 University, Unit 9672 Spearfish, SD © South Dakota.
HTML Concepts and Techniques Fourth Edition Project 2 Creating and Editing a Web Page.
Copyright  Oracle Corporation, All rights reserved. 1 Creating an Application: The AppBuilder for Java IDE.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
C Copyright © 2009, Oracle. All rights reserved. Appendix C: Service-Oriented Architectures.
Proprietary & Confidential Java WebStart Created by Bob Hays.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
17 Copyright © 2004, Oracle. All rights reserved. Deploying an ADF Application.
15 Copyright © 2004, Oracle. All rights reserved. Adding JAAS Security to the Client.
8 Copyright © 2004, Oracle. All rights reserved. Making the Model Secure.
2 Copyright © 2004, Oracle. All rights reserved. Running a Forms Developer Application.
16 Copyright © 2004, Oracle. All rights reserved. Testing the Migrated Oracle Database.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
Running a Forms Developer Application
Presentation transcript:

17 Copyright © 2005, Oracle. All rights reserved. Deploying Applications by Using Java Web Start

17-2 Copyright © 2005, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Define the architecture of Java Web Start Describe the benefits of using Java Web Start Deploy an application by using Web Start

17-3 Copyright © 2005, Oracle. All rights reserved. What Is Java Web Start? It is an application deployment technology based on the Java 2 platform. It launches full-featured applications via any browser on any platform, from anywhere on the Web.

17-4 Copyright © 2005, Oracle. All rights reserved. Running a Web Start Application 1.Request the application. 2.Launch Web Start on the local machine. 3.Download the application. 4.Launch the application (Draw). HTTP

17-5 Copyright © 2005, Oracle. All rights reserved. Advantages of Web Start Renders a very responsive and rich user interface Launches applications from the Start menu on the desktop Does not require browser to be running Allows applications to work offline Automatically updates applications when invoked

17-6 Copyright © 2005, Oracle. All rights reserved. Examining the JNLP File The JNLP files defines: The location of the application resources Information that appears while the application loads What the application resources are

17-7 Copyright © 2005, Oracle. All rights reserved. Deploying Applications with JDeveloper The JDeveloper Deployment Profile Wizard: Detects interclass dependencies Creates.ear,.war,.jar, or.zip files Enables you to have control over other files added to the deployed archive Enables you to save deployment profile settings in project files: –To simplify redeployment when code changes –That can be automatically updated with new classes as they are added to the project

17-8 Copyright © 2005, Oracle. All rights reserved. Creating the Deployment Profile File Select File > New

17-9 Copyright © 2005, Oracle. All rights reserved. Saving the Deployment Profile Select a destination and name for the deployment profile.

17-10 Copyright © 2005, Oracle. All rights reserved. Selecting Files to Deploy Select the file types to include. Other settings differ for other deployment profile types.

17-11 Copyright © 2005, Oracle. All rights reserved. Making an Executable.jar File Set the Main Class field to the class name containing a main() method, in JAR Options.

17-12 Copyright © 2005, Oracle. All rights reserved. Creating and Deploying the Archive File Right-click the Deployment Profile file. Select the Deploy to menu option. The.jar file is created in the directory listed in the deployment properties.

17-13 Copyright © 2005, Oracle. All rights reserved. Using JDeveloper to Deploy an Application to Java Web Start Step 1: Generate deployment profiles and archive the application. Step 2: Start OC4J and create a connection. Step 3: Use Web Start Wizard to create JNLP file. Step 4: Archive and deploy your application to OC4J server.

17-14 Copyright © 2005, Oracle. All rights reserved. Step 1: Generate Deployment Profiles and Archive Application Package all the Java application files into a simple.jar archive.

17-15 Copyright © 2005, Oracle. All rights reserved. Step 2a: Start OC4J Use the command line to start the server.

17-16 Copyright © 2005, Oracle. All rights reserved. Step 2b: Creating a Connection Use the Connection Wizard to create a connection to the application server. You must specify: The type of connection (OC4J) The username and password for authentication Local URL, target Web site, and local directory for OC4J

17-17 Copyright © 2005, Oracle. All rights reserved. Step 3: Use Web Start Wizard to Create a JNLP File Specify the Web Start name, application archive (.jar ), and main application class. Include information to be displayed to the user while downloading (for example, application title, vendor, and brief description)

17-18 Copyright © 2005, Oracle. All rights reserved. Step 4: Archive and Deploy the Application to the OC4J Server Specify properties of the Web components and deployment description. Deploy to the OC4J connection created in step 2. Run the generated HTML file.

17-19 Copyright © 2005, Oracle. All rights reserved. Summary In this module, you should have learned how to: Describe how a Java Web Start application runs Describe the benefits of using Java Web Start Use JDeveloper to deploy an application by using Web Start

17-20 Copyright © 2005, Oracle. All rights reserved. Practice 17: Overview This practice covers the following topics: Archiving your Java application Creating a new project to hold the Web Start files and setting the OC4J server preference Installing and starting the stand-alone OC4J application server Creating an application server connection in JDeveloper Archiving and deploying the application files to OC4J, and testing the application

17-21 Copyright © 2005, Oracle. All rights reserved. Notes Page for Practice 17

17-22 Copyright © 2005, Oracle. All rights reserved. Practice 17: Notes

17-23 Copyright © 2005, Oracle. All rights reserved. Practice 17: Notes

17-24 Copyright © 2005, Oracle. All rights reserved. Practice 17: Notes