Skip to main content

Basic integration

1 reply [Last post]
Anonymous

Hello good Java Help people. I'm in Stockholm, working as a technical writer at SmartTrust ( www.smarttrust.com). I'm very new to Java Help and need some help to get started. What I need to do is a basic integration with an application. The user should be able to select a text-string and execute "Help search". This will open text search in Java Help help set and present the result of the search. Is this difficult to achieve? Can it be done with just a URL from the application towards Java Help? The help content is three help sets, from three Word documents, that will be merged. Thanks in advanced, Per-Arne Ekfeldt

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.
[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Roger Brinkley

Per-Arne Ekfeldt wrote:
> Hello good Java Help people. I'm in Stockholm, working as a technical
> writer at SmartTrust (www.smarttrust.com ).
> I'm very new to Java Help and need some help to get started. What I need
> to do is a basic integration with an application. The user should be
> able to select a text-string and execute "Help search". This will open
> text search in Java Help help set and present the result of the search.
> Is this difficult to achieve? Can it be done with just a URL from the
> application towards Java Help? The help content is three help sets, from
> three Word documents, that will be merged. Thanks in advanced, Per-Arne
> Ekfeldt

Yes it can be done. I assume that application is on a mobile phone and
that the HelpSet and other information would be on a server. This would
require a java server as the server. JavaHelp V2.0 provides developers
with a set of JSPs to extract data from a helpset. In this particular
case what you need to do is create search jsp, similar to
javax.help.SearchView.jsp in javahelp server demo. It will differ from
the demo in that the text would probably be passed to the URL. Also you
wouldn't want to modify the output to be appropriate for a mobile phone.

There are other options that require significant more programming. One
possibility is to write a small java applications as a front in on the
mobile phone that does the search on the server and then formats the
results. The search would run in a small application on the server and
would be accessed through the protocol of choice.

I believe the right choice is model the design after the design your
currently using in your application. If it's using URLs and accessing a
server then do that. If it's making remote connections to a server then
use that method. Either way I believe that JavaHelp will be able to meet
your needs.

Binky

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.