Nikrad Enterprise Gateway

Operation and Development

 

Software Requirements

 

Automated Installation

If you wish to have an automated installation for Windows based systems you may download the Nikrad Framework from the download center on www.nikrad.com and Install it into a convenient location e.g. "d:\". It is recommended not to install the framework into the same partition which windows o/s has been installed. Nikrad Framework is a set of structured directories and useful utilities bundled with JDK and Apache Tomcat that simplifies the installation process and enhances maintenance of information and files. Please refer to "{Nikrad Framework}\readme.html" for more information.

 

Manual Installation

This type of installation is useful when we tend to install the Nikrad platform and/or gateway on a remote host on the web or a local linux based machine. Manual installation of web application for nikrad enterprise gateway is similar to nikrad enterprise platform.

To establish a web application (context) for the gateway (e.g. "nepw"), create a folder with the same name ("nepw") in the tomcat "webapps" directory (or "domains/{domain name}" if the domain is mapped) and extract contents of the Nikrad Enterprise Gateway distribution package of base and other licensed gateway packs into that web application folder (e.g. "{tomcat}/webapps/nepw" or "{tomcat}/domains/mydomain.com/nepw"). You also should open "{web application}/WEB-INF/web.xml" in the gateway context with a standard text editor and set context parameters of the gateway with appropriate values.

* Please refer to "readme.html" inside of the package "nep-en-fundaments.zip" for more information.

 

Operation and Development

To get started with Nikrad Enterprise Gateway, a web browser must be used. Type "http://{Server:Port}/{Gateway Context}" in the address bar. Server and Context refer to the name of the service-providing computer and the gateway web application respectively (e.g. "http://localhost:8080/nepw"). We may also enter the service-providing computer's IP address (e.g. "http://192.168.0.1:8080/nepw") instead of its name. As a whole the address should either begin with "//" or "http://", and ":8080" refers to the port number that corresponds to the application server (tomcat).

Nikrad Enterprise Gateway could be run as an independent web application beside the Nikrad Enterprise Platform web application or on a remote web server. Platform and Gateway both connect to the same database on database server. Gateway presents the information that are directly fetched from platform database and registers information related to requests of visitors (Tickets and Invoices) directly to the platform database.

The best way to get familiar with nikrad enterprise gateway is reviewing its interface objects and source codes. If you wish to develop and extend features of your installed gateway, you need to have enough knowledge and experience about Java language programming and "JSP" (JavaServer Pages) technology.

Note: Some of JSP files are compiled and mapped as servlet class. Therefore you can not have access to related source codes. You may refer to "web.xml" to view the list of mapped servlets.

Gateway reads information of GUI contents and language packs from html and ini files that are placed in "templates/{lang}" directory, then replaces variables that are specified by "%" characters with appropriate values and finally sends processed template contents to the screen.

Nikrad gateway achieves value of parameters from "WEB-INF/properties.ini" to set its configuration options. You can review contents of this file and change values of parameters to define gateway behaviors based on your needs.

If you wish to let gateway visitors change language state of their sessions on nikrad gateway you should prepare links to some of major pages with the additive parameter "lang=xx" (e.g. "index.jsp?lang=en", "neg.serve.content.jsp?subject=about&lang=fr"). The default lang is "en". When you use the "lang" parameter while calling a page that has included the "includes/config.jsp", that page will set the default "lang" attribute of the visitor session for further needs automatically.

Nikrad gateway uses a routine mechanism to validate email addresses of new registered users. This feature will be enabled if the parameter "accounts.activation" on the gateway properties ("properties.ini") is set to "1". In this mode all accounts will have the text "{NOT-ACTIVATED}" on their "CID" field on the database once they are created (registered). Nikrad gateway will not allow its users to log into the system while they have the mentioned text on their CID field.

While a new account is created, gateway will send confirmation email to the email address that is provided by the user to inform him that his account is created and needs to be activated by him. User must click on the provided URL inside of the confirmation email to activate his account. After that user can log on to the gateway system and take advantage of his membership. If a user does not receive the confirmation email within a day, he can send an activation request from the registered email address to us. On the platform side, we can activate account profile of the user by removing the mentioned text from the CID field manually.

Please refer to "Mail Servers" section on the gateway properties file to control system units that the gateway will use to send emails to its users for different purposes.

 

Please review all parameters on the gateway properties file ("properties.ini") and set appropriate values to customize behavior of the system as your needs.


Warning
!
You may not copy, reproduce, distribute, lease or sell this software. Only Licensed and Registered users can use this program and customize it as their needs.


Copyright © 2012 Nikrad Hypersystems.
All rights reserved.