lecture11

lecture11 - ISE 582: Information Technology for Industrial...

Info iconThis preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
ISE 582: Information Technology for Industrial Engineering Instructor: Elaine Chew University of Southern California Department of Industrial and Systems Engineering Lecture 11 JAVA Cup 10: Making Connections Winston & Narasimhan: Chapt 53-55
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
20 November 2003 Web Technology for IE 2 Project: Submitting + Presenting Send icon and short description ASAP. By Thu, Dec 4, 12noon, send link to: source code, short description (classes, purpose, structure) introduction and user guide. Presentation, Dec 4, 6:30-9:10pm. Each team has 5 minutes. Powerpoint slides optional, no more than 5 slides.
Background image of page 2
20 November 2003 Web Technology for IE 3 JAVA Cup 10 JAR files for distribution Activating Remote Computations Servlets: Collecting Information
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
20 November 2003 Web Technology for IE 4 JAR Files for Distribution JAR stands for Java ARchive The Manifest File JAR-ing Class Files JAR-ing Packages JAR-ing Image Files Runing Applications from JAR files More on Manifest Files
Background image of page 4
20 November 2003 Web Technology for IE 5 Description JAR stands for J ava AR chive Reasons to use JAR files: Simplifies program distribution Saves space and time Provides version management Enables security
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
20 November 2003 Web Technology for IE 6 The Manifest File Needs to be created before JAR file Minimally, needs one line to identify the starting application class: Main-Class: <application-starting class> Main-Class: MovieApplicationTestor Save file as, say, manifest.txt
Background image of page 6
20 November 2003 Web Technology for IE 7 The Command-line Jar Assume current directory contains all class files needed by your application The jar command is: jar - c m f <manifest-filename> <jar-filename>.jar *.class jar -cmf manifest.txt MovieApplication.jar *.class c = create a new JAR file m = use the following manifest file f = use the file name supplied
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
20 November 2003 Web Technology for IE 8 Jar-ing Packages Suppose your application is divided into packages (subdirectories): application model view The appropriate jar command is: jar -cmf manifest.txt MovieApplication.jar application model view
Background image of page 8
20 November 2003 Web Technology for IE 9 Including Image Files If images are in the “image” subdirectory: ??? If images are in current directory: ???
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
20 November 2003 Web Technology for IE 10 Running the Application Command to start application from a jar file: java -jar <jar-filename>.jar java -jar MovieApplication.jar Applic ation
Background image of page 10
Web Technology for IE 11 More on the Manifest File Main-Class: MovieApplicationTestor Class-Path: Entertainment.jar Name : application/ Specification-Title: "Application specifications" Specification-Version: "3.141" Specification-Vendor: "XYZ, Inc." Implementation-Title: "Application implementation" Implementation-Version: "Build 2.718" Implementation-Vendor: "XYZ, Inc." Name : model/ ... Name: view/
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 46

lecture11 - ISE 582: Information Technology for Industrial...

This preview shows document pages 1 - 12. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online