Presented By:. What is JavaHelp: Most software developers do not look forward to spending time documenting and explaining their product. JavaSoft has.

Slides:



Advertisements
Similar presentations
Logical and Physical Design of an Information System
Advertisements

Schedule of Releases (since Tromso meeting) and New Access Interfaces.
Business Development Suit Presented by Thomas Mathews.
Cognos Web Services Business Intelligence. SOA SOA (Service Oriented Architecture) The SOA approach involves seven key principles: -- Coarse -grained.
© 2000 Kevin Lewis All rights reserved. Presented By: Kevin Lewis Creating a JavaHelp System Start.
My First Building Block Presented By Tracy Engwirda 28 September, 2005.
Depositing e-material to The National Library of Sweden.
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
Distributed Application Development B. Ramamurthy.
Peoplesoft Fundamentals David Lewis 10/18/02 (adapted from Psoft Training Materials)
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
1 Applets Chapter 1 To understand:  why applets are used to extend the capabilities of Web pages  how an applet is executed and know about the restrictions.
1 Build a Web Application on J2EE. 2 J2EE Scenario Client – Web Server – EIS Resources Client – Web Server – EIS Resources Client – Application Server.
WWW and Internet The Internet Creation of the Web Languages for document description Active web pages.
Mgt 240 Lecture Website Construction: Software and Language Alternatives March 29, 2005.
Presented by Mina Haratiannezhadi 1.  publishing, editing and modifying content  maintenance  central interface  manage workflows 2.
Web Applications Basics. Introduction to Web Web features Clent/Server HTTP HyperText Markup Language URL addresses Web server - a computer program that.
ECE356 – Database Systems Lab 1 – Building a Web Project with NetBeans Tiuley Alguindigue Lab Instructor – University of Waterloo, E & CE Dept. Fall 2013.
Struts 2.0 an Overview ( )
UNIT-V The MVC architecture and Struts Framework.
DSpace XML UI Project Texas A&M University Digital Initiatives, Research and Technology Scott Phillips, Cody Green, Alexey Maslov, Adam Mikeal, Brian Surratt,
Section 13.1 Add a hit counter to a Web page Identify the limitations of hit counters Describe the information gathered by tracking systems Create a guest.
1 Introduction to Web Development. Web Basics The Web consists of computers on the Internet connected to each other in a specific way Used in all levels.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
CHAPTER 9 DATABASE MANAGEMENT © Prepared By: Razif Razali.
Aurora: A Conceptual Model for Web-content Adaptation to Support the Universal Accessibility of Web-based Services Anita W. Huang, Neel Sundaresan Presented.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
@2011 Mihail L. Sichitiu1 Android Introduction Platform Overview.
Favorite Twitter® Searches App Android How to Program © by Pearson Education, Inc. All Rights Reserved.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Using JavaBeans and Custom Tags in JSP Lesson 3B / Slide 1 of 37 J2EE Web Components Pre-assessment Questions 1.The _____________ attribute of a JSP page.
Java Server Pages A JSP page is a text-based document that contains two types of text: static template data, which can be expressed in any text-based format,
Standalone Java Application vs. Java Web Application
ASP.NET.. ASP.NET Environment ASP.NET is Microsoft's programming framework that enables the development of Web applications and services. It is an easy.
Designing and Developing WS B. Ramamurthy. Plans We will examine the resources available for development of JAX-WS based web services. We need an IDE,
The Basics of Javadoc Presented By: Wes Toland. Outline  Overview  Background  Environment  Features Javadoc Comment Format Javadoc Program HTML API.
Introduction to HTML Tutorial 1 eXtensible Markup Language (XML)
Lecturer: Prof. Piero Fraternali, Teaching Assistant: Alessandro Bozzon, Advanced Web Technologies: Struts–
Chapter 8 Introduction to HTML and Applets Fundamentals of Java.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic.
Hour 7 The Application Layer 1. What Is the Application Layer? The Application layer is the top layer in TCP/IP's protocol suite Some of the components.
XML Registries Source: Java TM API for XML Registries Specification.
File System Interface. File Concept Access Methods Directory Structure File-System Mounting File Sharing (skip)‏ File Protection.
interactive logbook Larry Bridgefoot Paul Kiddie Neil Sandle Tom Marianczak Dan Williams Chet.
IBM Software Group ® Context-Sensitive Help with the DITA Open Toolkit Jeff Antley IBM October 4, 2007.
Topic Java EE installation (Eclipse, glassfish, etc.) Eclipse configuration for EE Creating a Java Web Dynamic Project Creating your first servlet.
Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Chapter 43 Remote Method Invocation.
Server-side Programming The combination of –HTML –JavaScript –DOM is sometimes referred to as Dynamic HTML (DHTML) Web pages that include scripting are.
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
1 Java Servlets l Servlets : programs that run within the context of a server, analogous to applets that run within the context of a browser. l Used to.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
Applets, Images, and Audio Chapter 14 CSCI CSCI 1302 – Applets, Images, and Audio2 Outline Introduction The Applet Class –The init Method –The start.
1 Java Server Pages A Java Server Page is a file consisting of HTML or XML markup into which special tags and code blocks are inserted When the page is.
WebDat: A Web-based Test Data Management System J.M.Nogiec January 2007 Overview.
© 2010 IBM Corporation RESTFul Service Modelling in Rational Software Architect April, 2011.
Liang, Introduction to Java Programming, Fifth Edition, (c) 2005 Pearson Education, Inc. All rights reserved Chapter 29 Remote Method.
Introduction to Enterprise Search Corey Roth Blog: Twitter: twitter.com/coreyrothtwitter.com/coreyroth.
The Web Web Design. 3.2 The Web Focus on Reading Main Ideas A URL is an address that identifies a specific Web page. Web browsers have varying capabilities.
Introduction to Algorithm. What is Algorithm? an algorithm is any well-defined computational procedure that takes some value, or set of values, as input.
Introduction to Advanced Java Programming
Android Studio, Android System Basics and Git
Java Servlets By: Tejashri Udavant..
Tips on Online Help Tharun Unni.
Java Applets.
Chapter 40 Remote Method Invocation
Chapter 46 Remote Method Invocation
Chapter 46 Remote Method Invocation
Presentation transcript:

Presented By:

What is JavaHelp: Most software developers do not look forward to spending time documenting and explaining their product. JavaSoft has developed the JavaHelp API: a full-featured, platform- independent, extensible help system that gives developers and authors the ability to efficiently incorporate an online help system into applications (both network and stand-alone), applets, JavaBean components, HTML pages, operating systems, and devices. To use JavaHelp in an application we need to prepare a set of files described below. With the exception of content files and search files, each file is expected to be in the XML format. For more information about XML see lang htmlhttp:// lang html

1) Java Help API 2) HelpSet File - contains Helpset.hs 3) Map File - contains Map.jhm 4) Table of Contents(TOC) File (XML) 5) Index File (XML) 6) Help Content files. 7) Search Files( Database files) JavaHelp Configuration Files:

What needs to be done: Download and extract the JavaHelp API to the C:>, from Set up the path for the java indexer used for making a search database for the content files c:\jh2.0\javahelp\bin Edit the java run time environment in your IDE( Eclipse, Netbeans or BlueJ, to include the java help api bin files…). Start Coding

HelpSet File - contains layout.hs HelpSet file allows JavaHelp to locate the configuration files for the different views. It also stores the location of the map file which is used to map the content files to ID tags used in context sensitive help. Layout of the HelpSet file.

Map File - contains layout.jhm The map file is used to map the content files to the ID tags. ID tags are used in context specific help and allow for abstraction of content file urls. Map file layout.

Table of Contents(TOC) File (XML) TOC represents a view that typically contains references to help topic IDs in a logically grouped order. Layout of TOC file

Index File (XML) Index view is very similar to a TOC view described before, but typically organizes references to help topics in alphabetical order. Layout of the index configuration file.

Content Files JavaHelp content files are stored in the HTML format. We can use one or more content files. The files can be stored locally or on a server. The map file stores the IDs and the URLs of the content files.

Search Files( Database files) The search view allows users to search through the content files for specific keywords. Every instance of the keyword is highlighted in the content files where they are present. Jhindexer: jhindexer is a utility which catalogs all the keywords found in the content files. Running the indexer: from the root directory of the project, at the command prompt type: jhindexer contentFilesDirectoryName JavaHelpSearch directory is created

Now Lets look at what to code You will be Surprised to know that using this API cuts down the number of lines of code to less than 20. Here is how you use the API and start coding …………………………..

HelpSet Class This class represents a collection of help information files we discussed above: HelpSet, table of contents (TOC), index, content, and map files. To create a HelpSet instance we must supply two parameters: a ClassLoader instance used to locate any classes required by the navigators in the help set, and the URL of the main HelpSet file. The following code shows a typical HelpSet instantiation, assuming the main HelpSet file, helpset.hs, is contained in the current running directory: ClassLoader loader = this.getClass().getClassLoader(); URL url = HelpSet.findHelpSet(loader, “helpset.hs"); HelpSet hs = new HelpSet(loader, url);

The HelpBroker interface This interface describes a component used to manage the presentation and interaction with a HelpSet. We can use the HelpSet.createHelpBroker() method to retrieve an instance of HelpBroker. We can then use HelpBroker’s enableHelpKey() method, specifying the String ID of a desired help topic, to enable JavaHelp on a given Component. HelpBroker hb = hs.createHelpBroker(); hb.enableHelpKey(myFrame.getRootPane(), "MyTopicID", hs);

The Map interface This interface defines a String ID to URL mapping. The inner class Map.ID is used to identify a help topic. It encapsulates a HelpSet reference / String ID pair. Given an ID we can get the associated URL and vice versa. Each HelpSet has an associated Map instance.

JHelp Class This class represents the main JavaHelp viewer capable of displaying help set data using JTree or JList navigators in a JTabbedPane, and a content viewer (normally a JEditorPane for HTML display). The current implementation of JavaHelp does not provide public access to this class via HelpSet or HelpBroker instances. You can do a lot more to customize your help viewers and add neat features such as context sensitive help etc.

Customize your Help Application It is really easy to customize your application by using the classes offered by the API, Such as HelpModel interface :It maintains IDs and URLs corresponding to the HelpSet being displayed JHelpNavigator : navigation control (JTree or JList) for the GUI presentation of help topic data CSH : context sensitive help TreeItem : user objects in a navigational view’s JTree or JList. HelpModelListener interface : listener which receives javax.help.event.HelpModelEvents when the current help topic is changed