lecture11

lecture11 - Web Technology for IE 20 November 2003 ISE 582:...

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

View Full Document Right Arrow Icon
Web Technology for IE 20 November 2003 http://www-classes.usc.edu/engr/ise/582 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 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 1

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

View Full DocumentRight Arrow Icon
Web Technology for IE 20 November 2003 http://www-classes.usc.edu/engr/ise/582 20 November 2003 Web Technology for IE 3 JAVA Cup 10 JAR files for distribution Activating Remote Computations Servlets: Collecting Information 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 2
Web Technology for IE 20 November 2003 http://www-classes.usc.edu/engr/ise/582 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 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 3

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

View Full DocumentRight Arrow Icon
Web Technology for IE 20 November 2003 http://www-classes.usc.edu/engr/ise/582 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 - cmf <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 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 4
Web Technology for IE 20 November 2003 http://www-classes.usc.edu/engr/ise/582 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 5

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

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

This note was uploaded on 02/01/2009 for the course ISE 582 taught by Professor Chew during the Fall '03 term at USC.

Page1 / 23

lecture11 - Web Technology for IE 20 November 2003 ISE 582:...

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

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