This document describes how to access data in IJC using a URL. This lets you do things like:
Send an email containing an IJC URL so that when user clicks on the link IJC opens and displays the appropriate data.
Provide links in web pages that open IJC and take you to a particular set of data.
IJC URLs operate on two different levels:
1. They can refer to data in a shared project using information in any of the databases that are defined in this shared project. In this mode a URL can be generated by one person and used by a different person in their own copy of IJC. To use this mechanism a shared project must be set up.
1. The information in a shared project can be referred to using a HTTP based URL. In this mode a Java Web Start installation of IJC can be referred to so that clicking on the link for the URL (e.g. in an email or web page) loads IJC, opens the shared project and then opens the data that is specified. To use this mechanism the administrator needs to install the IJC UrlWepApp application to your web server as well as the shared projects.
IJC URLs are used with shared projects. Only by using a shared project is it possible for a URL to refer to the same thing in different running copies of IJC. To deploy a shared project you need a standard HTTP server.
You must have an IJC enterprise license to deploy shared projects and use IJC URLs.
To deploy the web application that provides the HTTP URLs (mechanism 2 above) you must have a web server that supports Servlets (e.g. Tomcat or most other J2EE servers). You must also deploy the Java Web Start version of IJC to your server.
The exact steps you need to follow depends on which mechanism you are using. See above for details.
Create the .ijp and .zip files that are needed for shared project configurations. See here for details of these files. Do not deploy these files yet.
The UrlWebApp application is contained in the file UrlWebApp.war that can be downloaded from here: UrlWebApp.war .
Recommended: If you have a servlet container that supports Servlet 2.4/JSP 2.0 or later, such as Glassfish, Tomcat 5, JBoss, Jetty 6, etc., then you can deploy URLWebApp.war as you would any WAR file. e.g. to install on Tomcat, simply copy UrlWebApp.war to $TOMCAT_HOME/webapps, then access http://yourhost.com:8080/URLWebApp/ for further instructions.
Alternative: If you do not have a servlet container such as Tomcat you can alternatively run the server application directly from the command line:
This starts a web server contained within the UrlWebApp.war file. More details and possible command line arguments can be found here .
Once deployed connect to the server with a web browser using a URL like this:
from the server machine.
Follow the exact instructions on the page UrlWebApp regarding folders, repeated here for simplicity:
1. Download
1. Unzip the downloaded file to the folder and it should create several items for you:
1. Copy the Chemaxon license file to:
1. The extra.properties file is used in case that you forward url from a webserver (e.g. Apache, IIS, Lighttpd) to java webserver with the deployed
Structure of folder with configurations data
*
*
*
Once installed IJC URLs can be used. Create these using the 'Generate URL' function within IJC. See the user documentation for more details.
1. Download
1. Unzip the downloaded file to the temporary folder.
1. Customize
1. Copy
If you find problems or have any questions then please report them to the IJC freshdesk.