Archive for February, 2013

Using the RiverStar Training Instance on AWS

Posted by:

Typically, RiverStar clients install and use Studio in a local development environment. However, RiverStar uses Amazon Web Services (AWS) to host our demo and training environments “in the cloud.”

What this means is that our demo/training environments are readily accessible to:

  • Prospective customers for the evaluation of RiverStar Studio
  • Existing customers for a virtual training environment for RiverStar Studio

In order to use the demo or training environments, please follow these steps:

  1. Please talk to your RiverStar representative to register for access.
    If you don’t ...
Continue Reading →
0

SSL Errors when Connecting to RiverStar Servers

Posted by:

Problem

When connecting from a local tomcat instance to one of RiverStar servers, such as when invoking a REST web service hosted on our servers, you may occasionally get this error:

Resolution

This error indicates that the version of Java that you currently have configured for Tomcat DOES NOT contain the proper root SSL certificate. To fix this issue, simply download the attached zip file and follow the directions in README.rtf.

[wpdm_file id=1 title=”true” desc=”true” ]

Continue Reading →
0

Parsing XML Using the WWGXML Method

Posted by:

Challenge

The ability to parse XML in a generic way where you may not know tag names ahead of time.

Solution

RiverStar has a utility function, WWGXML, that provides this functionality.  This utility function encapsulates the Java (or C#) method of parsing XML. The added benefit of using this function is that is simplifies the porting of code from Java to C# or vice versa.

The following description is describing things from the java side, but for ...

Continue Reading →
0

Throwing Exceptions on a Database Interface

Posted by:

Prior to Studio Release 12, database interface exceptions were commonly handled by:

  1. Including a result code field for each database interface.
  2. Confirming the results for each return call of a database interface to decide the action to take (i.e. throw exception).
  3. Executing a special exception workflow with appropriate notifications.

For example, for one RiverStar client we created custom action to execute on every database interface that called an API to check the result code field. If it was set to “1”, the API would ...

Continue Reading →
0

Running Javascript within Tabs

Posted by:

When you place a tab container on a page with studio it is sometimes desirable to run javascript on the elements contained in the tab when the tab becomes activated.

There is a new event triggered on a tab panel when it activates.

To listen for the event you can do the following:

Where selector is an element in the tab panel.

Continue Reading →
0