How To Write A Program For The Web In Java (Java)
|
|
- Griselda Manning
- 3 years ago
- Views:
Transcription
1 21 Applets and Web Programming As noted in Chapter 2, although Java is a general purpose programming language that can be used to create almost any type of computer program, much of the excitement surrounding Java has been generated by its employment as a language for creating programs intended for execution across the World Wide Web. Programs written for this purpose must follow certain conventions, and they diæer slightly from programs designed to be executed directly on a computer, such as the ones we have developed up to now. In this chapter we will examine these diæerences and see how to create programs for the Web Applets and HTML Applications written for the World Wide Web are commonly referred to as applets. Applets are attached to documents distributed over the World Wide Web. These documents are written using the HyperText Markup Language èhtmlè protocol. A Web browser that includes a Java processor will then automatically retrieve and execute the Java program. Two HTML tags are used to describe the applet as part of an HTML document. These are the éappleté tag and the éparamé tag. A typical sequence of instructions would be the following: éapplet codebase=" code=main width=300 height=200é éparam name=name1 value="value1"é You do not have a Java enabled browser éèappleté The éappleté tag indicates the address of the Java program. The codebase parameter gives the URL Web address where the Java program will be found, 359
2 360 APPLETS AND WEB PROGRAMMING while the code parameter provides the name of the class. The height and width attributes tell the browser how much space to allocate to the applet. Just as users can pass information into an application using command-line arguments, applets can have information passed into them using the éparamé tags. Within an applet the values associated with parameters can be accessed using the method getparameterè è. Any code other than a éparamé tag between the beginning and end of the éappleté tag is displayed only if the program cannot be loaded. Such text can be used to provide the user with alternative information Security Issues Applets are designed to be loaded from a remote computer èthe serverè and then executed locally. Because most users will execute the applet without examining the code, the potential exists for malicious programmers to develop applets that would do signiæcant damage, for example erasing a hard drive. For this reason, applets are usually much more restricted than applications in the type of operations they can perform. 1. Applets are not permitted to run any local executable program. 2. Applets cannot read or write to the local computer's æle system. 3. Applets can only communicate with the server from which they originate. They are not allowed to communicate with any other host machine. 4. Applets can learn only a very restricted set of facts about the local computer. For example, applets can determine the name and version of the operating system, but not the user's name or address. In addition, dialog windows that an applet creates are normally labeled with a special text, so the user knows they were created by ajava applet and are not part of the browser application. The Java security model has been extended in Java 1.2. It is now possible to attach a digital signature to applets, so that they can be run in a less restricted environment. Discussion of this is beyond the scope of this book Applets and Applications All the applications created prior to this chapter that made use of graphical resources have been formed as subclasses of class JFrame. This class provided the necessary underpinnings for creating and managing windows, graphical operations, events, and the other aspects of a standalone application. A program that is intended to run on the Web has a slightly diæerent structure. Rather than subclassing from JFrame, such a program is subclassed
3 21.3 Applets and Applications 361 from JApplet. Just as JFrame provides the structure necessary to run a program as an application, the class JApplet provides the necessary structure and resources needed to run a program on the Web. The Swing class JApplet is a sublass of its AWT equivalent, Applet. Applet, in turn, is a subclass of Panel èsee section 13.4è and thus JApplet inherits the applet functionality of Applet and the graphical component attributes of Panel. Rather than starting execution with a static method named main, as applications do, applets start execution at a method named init, which is deæned in class Applet but can be overridden by users. The method init is one of four routines deæned in Applet that is available for overriding by users. These four can be described as follows: initè è Invoked when an applet is ærst loaded; for example, when a Web page containing the applet is ærst encountered. This method should be used for one-time initialization. This is similar to the code that would normally be found in the constructor for an application. startè è Called to begin execution of the applet. Called again each time the Web page containing the applet is exposed. This can be used for further initialization or for restarting the applet when the page on which it appears is made visible after being covered. stopè è Called when a Web page containing an applet is hidden. Applets that do extensive calculations should halt themselves when the page on which they are located becomes covered, so as to not occupy system resources. destroyè è Called when the applet is about to be terminated. Should halt the application and free any resources being used. For example, suppose a Web page containing an applet as well as several other links is loaded. The applet will ærst invoke initè è, then startè è. If the user clicks on one of the links, the Web page holding the applet is overwritten, but it is still available for the user to return to. The method stopè è will be invoked to temporarily halt the applet. When the user returns to the Web page, the method startè è, but not initè è, will once again be executed. This can happen many times before the user ænally exits altogether the page containing the applet, at which time the method destroyè è will be called. Figure 21.1 shows portions of the painting application described in Section 18.6, now written as an applet rather than as an application. In place of the main method, the applet contains an init method. The init takes the place both of main and of the constructor for the application class. Other aspects of the applet are the same. Because an applet is a subclass of Panel, events are handled in exactly the same fashion as other graphical components. Similarly, an applet repaints the window in exactly the same fashion as an application. Because an applet is a panel, it is possible to embed components and construct a complex graphical interface èsee Chapter 13è. Note, however, that the default
4 362 APPLETS AND WEB PROGRAMMING import java.applet.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; public class PaintApplet extends JApplet private Image image = null; private Shape currentshape = null; public void init èè. èè change our layout manager getcontentpaneèè.setlayoutènew BorderLayoutè èè; èè create panel for buttons Panel p = new Panelè è; p.setlayoutènew GridLayoutè1,3èè; p.addènew Rectangleè èè; p.addènew Ovalè èè; p.addènew Lineè èè; getconentpaneèè.addè"north", pè; MouseKeeper k = new MouseKeeperè è; addmouselistenerèkè; addmousemotionlistenerèkè; Figure 21.1 Painting program written as applet. layout manager for an Applet is a æow layout rather than the border layout that is default to applications Obtaining Resources Using an Applet The class JApplet provides a number of methods that can be used to load resources from the server machine. The method getimageèurlè, for example, takes a URL and retrieves the image stored in the given location. The URL must specify a æle in jpeg or gif format. The method getaudioclipèurlè similarly returns an audio object from the given location. The audioclip can subsequently be asked to play itself. A shorthand method playèurlè combines these two features. The method getcodebaseè è returns the URL for the codebase speciæed for the applet èsee the earlier discussion on HTML tagsè. Since Java programs are
5 21.4 Obtaining Resources Using an Applet 363 often stored in the same location as associated documents, such as gif æles, this can be useful in forming URL addresses for related resources. The method getparameterè è takes as argument a String, and returns the associated value èagain, as a stringè if the user provided a parameter of the given name using a éparamé tag. A null value is returned if no such parameter was provided Universal Resource Locators Resources, such as Java programs, gif æles, or data æles are speciæed using a universal resource locator, or URL. A URL consists of several parts, including a protocol, a host computer name, and a æle name. The following example shows these parts: ftp:èèftp.cs.orst.eduèpubèbuddèjavaèerrata.html This is the URL that points to the errata list for this book. The ærst part, ftp:, describes the protocol to be used in accessing the æle. The letters stand for File Transfer Protocol, and is one common protocol. Another common protocol is http, which stands for Hypertext Transfer Protocol. The next part, ftp.cs.orst.edu, is the name of the machine on which the æle resides. The remainder of the URL speciæes a location for a speciæc æle on this machine. File names are hierarchical. On this particular machine the directory pub is the area open to the public, the subdirectory budd is my own part of this public area, java holds æles related to the Java book, and ænally errata.html is the name of the æle containing the errata information. URLs can be created using the class URL. 1 The address is formed using a string, or using a previous URL and a string. The latter form, for example, can be used to retrieve several æles that reside in the same directory. The directory is ærst speciæed as a URL, then each æle is speciæed as a URL with the æle name added to the previous URL address. The constructor for the class URL will throw an exception called MalformedURLException if the associated object cannot be accessed across the Internet. The class URL provides a method openstream, which returns an inputstream value èsee Chapter 14è. Once you have created a URL object, you can use this method to read from the URL using the normal InputStream methods, or convert it into a Reader in order to more easily handle character values. In this way, reading from a URL is as easy as reading from a æle or any other type of input stream. The following program reads and displays the contents of a Web page. The URL for the Web page is taken from the command-line argument. import java.net.*; 1 It is important to distinguish the idea of a URL as a concept from the Java class of the same name. We will write URL in the normal font when we want to refer to a universal resource locator, and URL when we speciæcally wish to refer to the Java class.
6 364 APPLETS AND WEB PROGRAMMING import java.io.*; class ReadURL public static void main èstring ë ë argsè try URL address = new URLèargsë0ëè; InputStreamReader iread = new InputStreamReaderè address.openstreamè èè; BufferedReader in = new BufferedReaderèireadè; String line = in.readlineè è; while èline!= nullè System.out.printlnèlineè; line = in.readlineè è; in.closeè è; catch èmalformedurlexception eè System.out.printlnè"URL exception " + eè; catch èioexception eè System.out.printlnè"IèO exception " + eè; If you run the program, you should see the HTML commands and textual content displayed for the Web page given as argument. Since not all æles are text æles, the class URL also provides methods for reading various other formats, such as graphical images or audio æles Loading a New Web Page Applets used with Web browsers can instruct the browser to load a new page. This feature is frequently used to simulate links or buttons on a Web page, or to implement image maps. The method appletcontext.showdocumentèurlè takes a URL as argument, then instructs the Web browser to display the indicated page Combining Applications and Applets The class Applet pays no attention to any static methods that may be contained within the class deænition. We can use this fact to create a class that can be executed both as an applet and as an application. The key idea is that an JApplet contains a content pane is the same way as a JFrame. We can nest within the applet class an inner class that creates the JFrame necessary for
7 21.5 Combining Applications and Applets 365 an application. The only component of the window created for this frame will be the content pane of the applet. The main program, which is ignored by the applet, will when executed as an application create an instance of the applet. The applet can then create an instance of JFrame for the application, placing itself in the center of the window. The constructor for the JFrame executes the methods initè è and startè è required to initialize the applet. The following shows this technique applied to the painting applet described earlier: import java.applet.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; public class PaintApplet extends JApplet èè executed for applications èè ignored by applet class public static void main èstring ë ë argsè JFrame world = new PaintAppletè è.applicationè è; world.showè è; private JFrame applicationè è return new JAppletFrame èthisè; private class JAppletFrame extends JFrame public JAppletFrame èjapplet pè settitleè"paint Application"è; setsize è400, 300è; p.initè è; p.startè è; getcontentpaneèè.addè"center", pè;... èè remainder as before Trace carefully the sequence of operations being performed here and the order in which objects are created. Since the JFrame is nested within the JApplet, it is only possible to create the frame èin the method applicationè after the applet has already been created.
8 366 APPLETS AND WEB PROGRAMMING 21.6 Chapter Summary An applet is a Java application designed to be executed as part of a Web browser. Although much of the code for an applet is similar to that of an application, the two diæer in some signiæcant respects. Applets are created by subclassing from the class Applet, rather than from the class JFrame. Applets begin execution with the method init, rather than main. Finally, applets can be halted and restarted, as the Web browser moves to a new page and returns. Security over the Web is a major concern, and for this reason applets are restricted in the actions they can perform. For example, applets are not permitted to read or write æles from the client system. The chapter concludes by showing how it is possible to create a program that can be executed both as an application and as an applet. Study Questions 1. What is an applet? 2. What is html? 3. How canaweb page be made to point to an applet? 4. What is the purpose of the param tag? How is information described by this tag accessed within an applet? 5. What happens if a web browser cannot load and execute an applet described by an applet tag? 6. Why are applets restricted in the variety of activities they can perform? 7. What is the diæerence between the init and start methods in an applet? When will each be executed? 8. What is the function of a URL? What are the diæerent parts of a URL? 9. How can one read the contents of a æle addressed by a URL? Exercises 1. Convert the pinball game described in Chapter 7 to run as an applet, rather than as an application. 2. Convert the Tetris game described in Chapter 20 to run as an applet rather than as an application. 3. Section 18.6 presented a simple painting program. Convert this program to run as an applet, rather than as an application.
The Basic Java Applet and JApplet
I2PUJ4 - Chapter 6 - Applets, HTML, and GUI s The Basic Java Applet and JApplet Rob Dempster robd@cs.ukzn.ac.za School of Computer Science University of KwaZulu-Natal Pietermaritzburg Campus I2PUJ4 - Chapter
More informationwww.virtualians.pk CS506 Web Design and Development Solved Online Quiz No. 01 www.virtualians.pk
CS506 Web Design and Development Solved Online Quiz No. 01 Which of the following is a general purpose container? JFrame Dialog JPanel JApplet Which of the following package needs to be import while handling
More informationComputing Concepts with Java Essentials
2008 AGI-Information Management Consultants May be used for personal purporses only or by libraries associated to dandelon.com network. Computing Concepts with Java Essentials 3rd Edition Cay Horstmann
More informationINTRODUCTION TO COMPUTER PROGRAMMING. Richard Pierse. Class 7: Object-Oriented Programming. Introduction
INTRODUCTION TO COMPUTER PROGRAMMING Richard Pierse Class 7: Object-Oriented Programming Introduction One of the key issues in programming is the reusability of code. Suppose that you have written a program
More informationIntroduction to Java Applets (Deitel chapter 3)
Introduction to Java Applets (Deitel chapter 3) 1 2 Plan Introduction Sample Applets from the Java 2 Software Development Kit Simple Java Applet: Drawing a String Drawing Strings and Lines Adding Floating-Point
More informationJava Application Developer Certificate Program Competencies
Java Application Developer Certificate Program Competencies After completing the following units, you will be able to: Basic Programming Logic Explain the steps involved in the program development cycle
More informationWeb Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence
Web Development Owen Sacco ICS2205/ICS2230 Web Intelligence Introduction Client-Side scripting involves using programming technologies to build web pages and applications that are run on the client (i.e.
More informationCSC 551: Web Programming. Spring 2004
CSC 551: Web Programming Spring 2004 Java Overview Design goals & features platform independence, portable, secure, simple, object-oriented, Programming models applications vs. applets vs. servlets intro
More informationWEEK 2 DAY 14. Writing Java Applets and Java Web Start Applications
WEEK 2 DAY 14 Writing Java Applets and Java Web Start Applications The first exposure of many people to the Java programming language is in the form of applets, small and secure Java programs that run
More informationThere are some important differences between an applet and a standalone Java application, including the following:
JAVA - APPLET BASICS Copyright tutorialspoint.com An applet is a Java program that runs in a Web browser. An applet can be a fully functional Java application because it has the entire Java API at its
More informationBuilding a Multi-Threaded Web Server
Building a Multi-Threaded Web Server In this lab we will develop a Web server in two steps. In the end, you will have built a multi-threaded Web server that is capable of processing multiple simultaneous
More informationThe Abstract Windowing Toolkit. Java Foundation Classes. Swing. In April 1997, JavaSoft announced the Java Foundation Classes (JFC).
The Abstract Windowing Toolkit Since Java was first released, its user interface facilities have been a significant weakness The Abstract Windowing Toolkit (AWT) was part of the JDK form the beginning,
More informationJava applets. SwIG Jing He
Java applets SwIG Jing He Outline What is Java? Java Applications Java Applets Java Applets Securities Summary What is Java? Java was conceived by James Gosling at Sun Microsystems Inc. in 1991 Java is
More informationpublic class Craps extends JFrame implements ActionListener { final int WON = 0,LOST =1, CONTINUE = 2;
Lecture 15 The Game of "Craps" In the game of "craps" a player throws a pair of dice. If the sum on the faces of the pair of dice after the first toss is 7 or 11 the player wins; if the sum on the first
More informationFundamentals of Java Programming
Fundamentals of Java Programming This document is exclusive property of Cisco Systems, Inc. Permission is granted to print and copy this document for non-commercial distribution and exclusive use by instructors
More informationABSTRACT INTRODUCTION. driver for Java is capable of sending SQL statements, to access and update SAS data.
A SAS/IntrNet Java Program for Delivering Graphical Information of Remotely Monitored Processes. Wing K Chan, The Pennsylvania State University, University Park, Pennsylvania David C. Steven, The Pennsylvania
More informationSyllabus for CS 134 Java Programming
- Java Programming Syllabus Page 1 Syllabus for CS 134 Java Programming Computer Science Course Catalog 2000-2001: This course is an introduction to objectoriented programming using the Java language.
More informationDivision of Informatics, University of Edinburgh
CS1Bh Lecture Note 20 Client/server computing A modern computing environment consists of not just one computer, but several. When designing such an arrangement of computers it might at first seem that
More informationGUIs with Swing. Principles of Software Construction: Objects, Design, and Concurrency. Jonathan Aldrich and Charlie Garrod Fall 2012
GUIs with Swing Principles of Software Construction: Objects, Design, and Concurrency Jonathan Aldrich and Charlie Garrod Fall 2012 Slides copyright 2012 by Jeffrey Eppinger, Jonathan Aldrich, William
More informationcore. Volume I - Fundamentals Seventh Edition Sun Microsystems Press A Prentice Hall Title ULB Darmstadt
core. 2008 AGI-Information Management Consultants May be used for personal purporses only or by libraries associated to dandelon.com network. Volume I - Fundamentals Seventh Edition CAY S. HORSTMANN GARY
More information16.1 DataFlavor. 16.1.1 DataFlavor Methods. Variables
In this chapter: DataFlavor Transferable Interface ClipboardOwner Interface Clipboard StringSelection UnsupportedFlavorException Reading and Writing the Clipboard 16 Data Transfer One feature that was
More informationTutorial Reference Manual. Java WireFusion 4.1
Tutorial Reference Manual Java WireFusion 4.1 Contents INTRODUCTION...1 About this Manual...2 REQUIREMENTS...3 User Requirements...3 System Requirements...3 SHORTCUTS...4 DEVELOPMENT ENVIRONMENT...5 Menu
More informationLabVIEW Internet Toolkit User Guide
LabVIEW Internet Toolkit User Guide Version 6.0 Contents The LabVIEW Internet Toolkit provides you with the ability to incorporate Internet capabilities into VIs. You can use LabVIEW to work with XML documents,
More informationServing tn5250j in Web Documents from the HTTP Server for iseries
Serving tn5250j in Web Documents from the HTTP Server for iseries Bill (toeside) Middleton, 1 Introduction The iseries (AS/400) operating system OS/400, as part of its TCP/IP application suite, includes
More informationAn Overview of Java. overview-1
An Overview of Java overview-1 Contents What is Java Major Java features Java virtual machine Java programming language Java class libraries (API) GUI Support in Java Networking and Threads in Java overview-2
More informationAd Hoc Reporting. Usage and Customization
Usage and Customization 1 Content... 2 2 Terms and Definitions... 3 2.1 Ad Hoc Layout... 3 2.2 Ad Hoc Report... 3 2.3 Dataview... 3 2.4 Page... 3 3 Configuration... 4 3.1 Layout and Dataview location...
More informationTableau Server Trusted Authentication
Tableau Server Trusted Authentication When you embed Tableau Server views into webpages, everyone who visits the page must be a licensed user on Tableau Server. When users visit the page they will be prompted
More informationOCS Training Workshop LAB13. Ethernet FTP and HTTP servers
OCS Training Workshop LAB13 Ethernet FTP and HTTP servers Introduction The training module will introduce the FTP and Web hosting capabilities of the OCS product family. The user will be instructed in
More information5.17 GUI. Xiaoyi Jiang Informatik I Grundlagen der Programmierung
AWT vs. Swing AWT (Abstract Window Toolkit; Package java.awt) Benutzt Steuerelemente des darunterliegenden Betriebssystems Native Code (direkt für die Maschine geschrieben, keine VM); schnell Aussehen
More informationFor Introduction to Java Programming, 5E By Y. Daniel Liang
Supplement H: NetBeans Tutorial For Introduction to Java Programming, 5E By Y. Daniel Liang This supplement covers the following topics: Getting Started with NetBeans Creating a Project Creating, Mounting,
More informationHere's the code for our first Applet which will display 'I love Java' as a message in a Web page
Create a Java Applet Those of you who purchased my latest book, Learn to Program with Java, know that in the book, we create a Java program designed to calculate grades for the English, Math and Science
More informationHypercosm. Studio. www.hypercosm.com
Hypercosm Studio www.hypercosm.com Hypercosm Studio Guide 3 Revision: November 2005 Copyright 2005 Hypercosm LLC All rights reserved. Hypercosm, OMAR, Hypercosm 3D Player, and Hypercosm Studio are trademarks
More informationLearning Outcomes. Networking. Sockets. TCP/IP Networks. Hostnames and DNS TCP/IP
CP4044 Lecture 7 1 Networking Learning Outcomes To understand basic network terminology To be able to communicate using Telnet To be aware of some common network services To be able to implement client
More informationEssentials of the Java(TM) Programming Language, Part 1
Essentials of the Java(TM) Programming Language, Part 1 http://developer.java.sun.com/developer...ining/programming/basicjava1/index.html Training Index Essentials of the Java TM Programming Language:
More informationThe MultiHttpServer A Parallel Pull Engine
Deutsches Forschungszentrum für Künstliche Intelligenz GmbH Technical Memo TM-99-04 The MultiHttpServer A Parallel Pull Engine Christoph Endres email: Christoph.Endres@dfki.de April 1999 Deutsches Forschungszentrum
More informationIT6503 WEB PROGRAMMING. Unit-I
Handled By, VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur-603203. Department of Information Technology Question Bank- Odd Semester 2015-2016 IT6503 WEB PROGRAMMING Mr. K. Ravindran, A.P(Sr.G)
More informationLesson: All About Sockets
All About Sockets http://java.sun.com/docs/books/tutorial/networking/sockets/index.html Page 1 sur 1 The Java TM Tutorial Start of Tutorial > Start of Trail Trail: Custom Networking Lesson: All About Sockets
More informationAnimazione in Java. Animazione in Java. Problemi che possono nascere, e loro soluzione. Marco Ronchetti Lezione 1
Animazione in Java Problemi che possono nascere, e loro soluzione Animazione in Java Application MyFrame (JFrame) ClockPanel (JPanel) 1 public class ClockPanel extends JPanel { public ClockPanel void paintcomponent(graphics
More informationmethod is never called because it is automatically called by the window manager. An example of overriding the paint() method in an Applet follows:
Applets - Java Programming for the Web An applet is a Java program designed to run in a Java-enabled browser or an applet viewer. In a browser, an applet is called into execution when the APPLET HTML tag
More informationUsing The HomeVision Web Server
Using The HomeVision Web Server INTRODUCTION HomeVision version 3.0 includes a web server in the PC software. This provides several capabilities: Turns your computer into a web server that serves files
More informationDC60 JAVA AND WEB PROGRAMMING JUNE 2014. b. Explain the meaning of the following statement public static void main (string args [ ] )
Q.2 a. How does Java differ from C and C++? Page 16 of Text Book 1 b. Explain the meaning of the following statement public static void main (string args [ ] ) Page 26 of Text Book 1 Q.3 a. What are the
More informationTIBCO Spotfire Automation Services 6.5. User s Manual
TIBCO Spotfire Automation Services 6.5 User s Manual Revision date: 17 April 2014 Important Information SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH EMBEDDED OR BUNDLED TIBCO
More informationHow To Program In Java (Ipt) With A Bean And An Animated Object In A Powerpoint (For A Powerbook)
Graphic Interface Programming II Applets and Beans and animation in Java IT Uppsala universitet Applets Small programs embedded in web pages
More informationCreating Compound Objects (Documents, Monographs Postcards, and Picture Cubes)
Creating Compound Objects (Documents, Monographs Postcards, and Picture Cubes) A compound object is two or more files bound together with a CONTENTdm-created XML structure. When you create and add compound
More informationExtending Desktop Applications to the Web
Extending Desktop Applications to the Web Arno Puder San Francisco State University Computer Science Department 1600 Holloway Avenue San Francisco, CA 94132 arno@sfsu.edu Abstract. Web applications have
More informationUsing IIS and UltraDev Locally page 1
Using IIS and UltraDev Locally page 1 IIS Web Server Installation IIS Web Server is the web server provided by Microsoft for platforms running the various versions of the Windows Operating system. It is
More informationUsing Adobe Dreamweaver CS4 (10.0)
Getting Started Before you begin create a folder on your desktop called DreamweaverTraining This is where you will save your pages. Inside of the DreamweaverTraining folder, create another folder called
More informationCache Configuration Reference
Sitecore CMS 6.2 Cache Configuration Reference Rev: 2009-11-20 Sitecore CMS 6.2 Cache Configuration Reference Tips and Techniques for Administrators and Developers Table of Contents Chapter 1 Introduction...
More informationWindows PowerShell Essentials
Windows PowerShell Essentials Windows PowerShell Essentials Edition 1.0. This ebook is provided for personal use only. Unauthorized use, reproduction and/or distribution strictly prohibited. All rights
More informationHow to Develop Accessible Linux Applications
Sharon Snider Copyright 2002 by IBM Corporation v1.1, 2002 05 03 Revision History Revision v1.1 2002 05 03 Revised by: sds Converted to DocBook XML and updated broken links. Revision v1.0 2002 01 28 Revised
More informationTerms and Definitions for CMS Administrators, Architects, and Developers
Sitecore CMS 6 Glossary Rev. 081028 Sitecore CMS 6 Glossary Terms and Definitions for CMS Administrators, Architects, and Developers Table of Contents Chapter 1 Introduction... 3 1.1 Glossary... 4 Page
More informationBlueJ Teamwork Tutorial
BlueJ Teamwork Tutorial Version 2.0 for BlueJ Version 2.5.0 (and 2.2.x) Bruce Quig, Davin McCall School of Engineering & IT, Deakin University Contents 1 OVERVIEW... 3 2 SETTING UP A REPOSITORY... 3 3
More informationDeveloping Web Views for VMware vcenter Orchestrator
Developing Web Views for VMware vcenter Orchestrator vcenter Orchestrator 5.1 This document supports the version of each product listed and supports all subsequent versions until the document is replaced
More informationMouse Event Handling (cont.)
GUI Components: Part II Mouse Event Handling (cont.) Each mouse event-handling method receives a MouseEvent object that contains information about the mouse event that occurred, including the x- and y-coordinates
More informationCaptainCasa. CaptainCasa Enterprise Client. CaptainCasa Enterprise Client. Feature Overview
Feature Overview Page 1 Technology Client Server Client-Server Communication Client Runtime Application Deployment Java Swing based (JRE 1.6), generic rich frontend client. HTML based thin frontend client
More informationT320 E-business technologies: foundations and practice
T320 E-business technologies: foundations and practice Block 3 Part 2 Activity 2: Generating a client from WSDL Prepared for the course team by Neil Simpkins Introduction 1 WSDL for client access 2 Static
More informationJava 7 Recipes. Freddy Guime. vk» (,\['«** g!p#« Carl Dea. Josh Juneau. John O'Conner
1 vk» Java 7 Recipes (,\['«** - < g!p#«josh Juneau Carl Dea Freddy Guime John O'Conner Contents J Contents at a Glance About the Authors About the Technical Reviewers Acknowledgments Introduction iv xvi
More informationCS 335 Lecture 06 Java Programming GUI and Swing
CS 335 Lecture 06 Java Programming GUI and Swing Java: Basic GUI Components Swing component overview Event handling Inner classes and anonymous inner classes Examples and various components Layouts Panels
More informationMy IC Customizer: Descriptors of Skins and Webapps for third party User Guide
User Guide 8AL 90892 USAA ed01 09/2013 Table of Content 1. About this Document... 3 1.1 Who Should Read This document... 3 1.2 What This Document Tells You... 3 1.3 Terminology and Definitions... 3 2.
More informationApple Applications > Safari 2008-10-15
Safari User Guide for Web Developers Apple Applications > Safari 2008-10-15 Apple Inc. 2008 Apple Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system,
More informationOracle Forms Services Secure Web.Show_Document() calls to Oracle Reports Server 6i
Oracle Forms Services Secure Web.Show_Document() calls to Oracle Reports Server 6i $Q2UDFOH7HFKQLFDO:KLWHSDSHU 0DUFK Secure Web.Show_Document() calls to Oracle Reports Server 6i Introduction...3 solution
More informationHow To Use A Sas Server On A Java Computer Or A Java.Net Computer (Sas) On A Microsoft Microsoft Server (Sasa) On An Ipo (Sauge) Or A Microsas (Sask
Exploiting SAS Software Using Java Technology Barbara Walters, SAS Institute Inc., Cary, NC Abstract This paper describes how to use Java technology with SAS software. SAS Institute currently offers several
More informationJava Interview Questions and Answers
1. What is the most important feature of Java? Java is a platform independent language. 2. What do you mean by platform independence? Platform independence means that we can write and compile the java
More informationICT 6012: Web Programming
ICT 6012: Web Programming Covers HTML, PHP Programming and JavaScript Covers in 13 lectures a lecture plan is supplied. Please note that there are some extra classes and some cancelled classes Mid-Term
More informationSpecify the location of an HTML control stored in the application repository. See Using the XPath search method, page 2.
Testing Dynamic Web Applications How To You can use XML Path Language (XPath) queries and URL format rules to test web sites or applications that contain dynamic content that changes on a regular basis.
More informationEnhanced Connector Applications SupportPac VP01 for IBM WebSphere Business Events 3.0.0
Enhanced Connector Applications SupportPac VP01 for IBM WebSphere Business Events 3.0.0 Third edition (May 2012). Copyright International Business Machines Corporation 2012. US Government Users Restricted
More informationJAVA. EXAMPLES IN A NUTSHELL. O'REILLY 4 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo. Third Edition.
"( JAVA. EXAMPLES IN A NUTSHELL Third Edition David Flanagan O'REILLY 4 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo Table of Contents Preface xi Parti. Learning Java 1. Java Basics 3 Hello
More informationCopyright 2008 The Pragmatic Programmers, LLC.
Extracted from: Stripes... and Java Web Development Is Fun Again This PDF file contains pages extracted from Stripes, published by the Pragmatic Bookshelf. For more information or to purchase a paperback
More informationunderstand how image maps can enhance a design and make a site more interactive know how to create an image map easily with Dreamweaver
LESSON 3: ADDING IMAGE MAPS, ANIMATION, AND FORMS CREATING AN IMAGE MAP OBJECTIVES By the end of this part of the lesson you will: understand how image maps can enhance a design and make a site more interactive
More informationAdvanced Network Programming Lab using Java. Angelos Stavrou
Advanced Network Programming Lab using Java Angelos Stavrou Table of Contents A simple Java Client...3 A simple Java Server...4 An advanced Java Client...5 An advanced Java Server...8 A Multi-threaded
More informationAP Computer Science Java Subset
APPENDIX A AP Computer Science Java Subset The AP Java subset is intended to outline the features of Java that may appear on the AP Computer Science A Exam. The AP Java subset is NOT intended as an overall
More informationProgramming with Java GUI components
Programming with Java GUI components Java includes libraries to provide multi-platform support for Graphic User Interface objects. The multi-platform aspect of this is that you can write a program on a
More informationOnline Advertising Creative Specifications
Leaderboard 728x90 (no expansion) back up gif. No expansion permitted for served SWF ads. Violence, Gore & Swearing are SWF Flash files must be built with click tag function. The click through URL must
More informationVoluntary Product Accessibility Report
Voluntary Product Accessibility Report Compliance and Remediation Statement for Section 508 of the US Rehabilitation Act for OpenText Content Server 10.5 October 23, 2013 TOGETHER, WE ARE THE CONTENT EXPERTS
More informationBCA 421- Java. Tilak Maharashtra University. Bachelor of Computer Applications (BCA) 1. The Genesis of Java
Tilak Maharashtra University Bachelor of Computer Applications (BCA) BCA 421- Java 1. The Genesis of Java Creation of Java, Why it is important to Internet, characteristics of Java 2. Basics of Programming
More information11. Applets, normal window applications, packaging and sharing your work
11. Applets, normal window applications, packaging and sharing your work In this chapter Converting Full Screen experiments into normal window applications, Packaging and sharing applications packaging
More informationGuide to Analyzing Feedback from Web Trends
Guide to Analyzing Feedback from Web Trends Where to find the figures to include in the report How many times was the site visited? (General Statistics) What dates and times had peak amounts of traffic?
More informationWeb Design Specialist
UKWDA Training: CIW Web Design Series Web Design Specialist Course Description CIW Web Design Specialist is for those who want to develop the skills to specialise in website design and builds upon existing
More informationPaperlessPrinter. Version 3.0. User s Manual
Version 3.0 User s Manual The User s Manual is Copyright 2003 RAREFIND ENGINEERING INNOVATIONS All Rights Reserved. 1 of 77 Table of Contents 1. 2. 3. 4. 5. Overview...3 Introduction...3 Installation...4
More informationJava History. Java History (cont'd)
Java History Created by James Gosling et. al. at Sun Microsystems in 1991 "The Green Team" Were to investigate "convergence" technologies Gosling created a processor-independent language for '*7', a 2-way
More informationSHARP Digital Signage Software Pro PN-SS05 OPERATION MANUAL
SHARP Digital Signage Software Pro PN-SS05 Version 4.1 OPERATION MANUAL Contents Introduction... 2 Precautions on Use...2 Trademarks...2 How to Read this Manual...3 Definitions...3 Installing/Launching...
More informationEnd User Guide The guide for email/ftp account owner
End User Guide The guide for email/ftp account owner ServerDirector Version 3.7 Table Of Contents Introduction...1 Logging In...1 Logging Out...3 Installing SSL License...3 System Requirements...4 Navigating...4
More informationAdobe Acrobat 9 Pro Accessibility Guide: Creating Accessible PDF from Microsoft Word
Adobe Acrobat 9 Pro Accessibility Guide: Creating Accessible PDF from Microsoft Word Adobe, the Adobe logo, Acrobat, Acrobat Connect, the Adobe PDF logo, Creative Suite, LiveCycle, and Reader are either
More informationJava (12 Weeks) Introduction to Java Programming Language
Java (12 Weeks) Topic Lecture No. Introduction to Java Programming Language 1 An Introduction to Java o Java as a Programming Platform, The Java "White Paper" Buzzwords, Java and the Internet, A Short
More informationApplets, RMI, JDBC Exam Review
Applets, RMI, JDBC Exam Review Sara Sprenkle Announcements Quiz today Project 2 due tomorrow Exam on Thursday Web programming CPM and servlets vs JSPs Sara Sprenkle - CISC370 2 1 Division of Labor Java
More informationSpecialized Programme on Web Application Development using Open Source Tools
Specialized Programme on Web Application Development using Open Source Tools A. NAME OF INSTITUTE Centre For Development of Advanced Computing B. NAME/TITLE OF THE COURSE C. COURSE DATES WITH DURATION
More informationAdobe Dreamweaver CC 14 Tutorial
Adobe Dreamweaver CC 14 Tutorial GETTING STARTED This tutorial focuses on the basic steps involved in creating an attractive, functional website. In using this tutorial you will learn to design a site
More informationGUI Components: Part 2
GUI Components: Part 2 JComboBox and Using an Anonymous Inner Class for Event Handling A combo box (or drop-down list) enables the user to select one item from a list. Combo boxes are implemented with
More informationServer & Workstation Installation of Client Profiles for Windows
C ase Manag e m e n t by C l i e n t P rofiles Server & Workstation Installation of Client Profiles for Windows T E C H N O L O G Y F O R T H E B U S I N E S S O F L A W General Notes to Prepare for Installing
More informationSETTING UP A WEATHER DATA WEB PAGE Application Note 26
SETTING UP A WEATHER DATA WEB PAGE Application Note 26 with WeatherLink INTRODUCTION This document provides a step-by-step process on how to set up your own personal weather website including choosing
More informationRemote Access and Control of the. Programmer/Controller. Version 1.0 9/07/05
Remote Access and Control of the Programmer/Controller Version 1.0 9/07/05 Remote Access and Control... 3 Introduction... 3 Installing Remote Access Viewer... 4 System Requirements... 4 Activate Java console...
More informationCloud Portal for imagerunner ADVANCE
Cloud Portal for imagerunner ADVANCE User's Guide Please read this guide before operating this product. After you finish reading this guide, store it in a safe place for future reference. ENG How This
More informationPackaging and Deploying Java Projects in Forte
CHAPTER 8 Packaging and Deploying Java Projects in Forte This chapter introduces to use Forte s Archive wizard to package project files for deployment. You will also learn how to create shortcut for applications
More informationTroubleshooting AVAYA Meeting Exchange
Troubleshooting AVAYA Meeting Exchange Is my browser supported? Avaya Web Conferencing supports the following browser clients for joining conferences (with the described limitations). The supported browsers
More informationAirZip Accelerator for Microsoft Internet Information Server Release 4.0
AirZip Accelerator for Microsoft Internet Information Server Release 4.0 Installation and Configuration Manual Installation and Configuration Manual AirZip, Inc. reserves the right to make changes to this
More informationTableau Server Trusted Authentication
Tableau Server Trusted Authentication When you embed Tableau Server views into webpages, everyone who visits the page must be a licensed user on Tableau Server. When users visit the page they will be prompted
More informationCiviCRM for The Giving Circle. Bulk Mailing Tips & Tricks
CiviCRM for The Giving Circle Bulk Mailing Tips & Tricks By Leo D. Geoffrion & Ken Hapeman Technology for the Public Good Saratoga Springs, NY Version 1.1 5/26/2013 Table of Contents 1. Introduction...
More informationXtreeme Search Engine Studio Help. 2007 Xtreeme
Xtreeme Search Engine Studio Help 2007 Xtreeme I Search Engine Studio Help Table of Contents Part I Introduction 2 Part II Requirements 4 Part III Features 7 Part IV Quick Start Tutorials 9 1 Steps to
More informationPHP Debugging. Draft: March 19, 2013 2013 Christopher Vickery
PHP Debugging Draft: March 19, 2013 2013 Christopher Vickery Introduction Debugging is the art of locating errors in your code. There are three types of errors to deal with: 1. Syntax errors: When code
More information13 File Output and Input
SCIENTIFIC PROGRAMMING -1 13 File Output and Input 13.1 Introduction To make programs really useful we have to be able to input and output data in large machinereadable amounts, in particular we have to
More information