AjaxQuote Portlet

Johnathan Burbea
Data Modeling & Business Logic
Real-time market quote data is streamed to one or more portlets on the page by Ajax and JavaScript technology. Watch the tickers move in real-time on the screen (with no stress on the back-end; all client side services).

Quote data is updated on the page in real-time
Support for anonymous and personalized portlets (logged-in and non-logged-in home screens)
Multiple instances of portlets on the same page (different portfolio sets)

Installation (for vanilla LifeRay 6.1 CE GA2 tomcat bundle):
1. Update tomcat Context.xml to indicate a JNDI datasource called "jdbc/openfeedaq"
2. Create tables for OPENFEEDAQ schema (tested with MySQL and MSSQL Server"
3. Deploy "ajaxquote-portlet-"
4. Due to the issue (LPS-29103) with the deployment manager in LifeRay 6.1 CE GA2 the app deployment will fail (Spring contextListener position)
5 Stop the LifeRay server and edit the C:\liferay-portal-6.1.1-ce-ga2\tomcat-7.0.27\webapps\ajaxquote-portlet-\WEB-INF\web.xml; moving the "org.springframework.web.context.ContextLoaderListener" to the top the web.xml
6. Restart the server and proceed to add unlimited amount of AjaxQuote Portlets to logged-in and anonymous pages.

Instructions and Examples of the Tomcat Context.xml and JBOSS datasource modules, source code and build scripts are all located on GitHub:


This app has been tested end to end on LifeRay Portal 6.1 CE GA2 Tomcat and JBOSS bundles. This app boots and works on LifeRay 6.1 Beta 1 (see screenshots). Due to a bug in JBOSS and MySQL requiring the MySQL dialect declared in the persistence unit we are required to make a specific build using the following--mvn clean install -P jpa20,mysql
Liferay is trademark of Liferay, Inc., Liferay International Limited and/or Liferay Affiliate, registered in the United States and/or other countries.
    All prices displayed are in USD. For pricing specific to your country/currency, please follow the installation instructions below for accessing and purchasing this app through your Control Panel.
    Release Summary and Release Notes
    Version Change Log Supported Framework Versions Date Added
    Liferay Portal 6.1 CE GA2+
    Liferay Portal 6.1 EE GA2+
    Johnathan Burbea
    Published Date
    August 29, 2013
    Supported Versions
    EE, CE

    Installation Instructions

    This is a Legacy App that is no longer available in the new App Marketplace. You are able to acquire it from your installed DXP or CE instance and install it by following the instructions below.

    Acquiring this App through the legacy Liferay Portal Store

    1. Review app documentation for any specific installation instructions.
    2. Login to your Liferay Portal instance with administrative permissions.
    3. Navigate to the Control Panel, Marketplace (or Apps for 7.3 and prior), then Store.
    4. If needed, login to your Liferay.com account by choosing Sign In.
    5. Search for the app name in the Search dialog.
    6. Once the app is found, click on the app in the search results.
    7. On the app details page, choose to acquire the app by selecting the Free, Buy, or Trial button.
    8. Follow the instructions on the screen to complete the acquisition.

    Installing this App through legacy Liferay Portal Purchased Apps

    1. After acquiring the app, login to your Liferay Portal instance with administrative permissions.
    2. Navigate to the Control Panel, Marketplace (or Apps for 7.3 and prior), then Purchased.
    3. If needed, login to your Liferay.com account by choosing Sign In.
    4. Click the Install button to install your app on your Liferay Portal instance.

    See the legacy App Marketplace help documentation for more information.