Liferay Portal

Liferay Portal is a free and open source enterprise portal written in Java and distributed under the GNU Lesser General Public License[2] and proprietary licenses.

Source : http://en.wikipedia.org/wiki/Liferay

Alfresco Content Management

Alfresco is a Free/Libre enterprise content management system for Microsoft Windows and Unix-like operating systems.The Alfresco system is developed using Java technology.

Source : http://en.wikipedia.org/wiki/Alfresco

Business Rule Management

jBPM Activiti

Wednesday, 30 January 2013

How to integrate Konakart into Liferay

How to integrate KonaKart into Liferay

OverviewSteps on how to integrate KonaKart as portlet in Liferay, shop and administration portlets, having seamless login to administrators. Will be installed in CentOS 5, Liferay 6.0.5 and KonaKart 5.2.0.0.
Alias table
Variable                              Example              Description
${KK_HOST}                       localhost          Host where konakart server will be installed
${KK_DDBB}                      dbname             Database for konakart standard installation
${KK_USERNAME}             user                   Database username for the database in konakart
${KK_PASSWORD}            secret                Database password for the database in konakart
${KK_SRC}                         /KonaKart         Directory for the installation

Steps to followLiferay Installation

   1. Please check the post How to install Liferay because having Liferay properly installed is a precondition.

Java Installation

   1. Download and install java if you still don't have it installed
      yum install java-1.6.0-openjdk.x86_64
      (change the version from which is available for your platform)

KonaKart database creation

   1. Create a database
      create database ${KK_DDBB} character set utf8;

   2. Create a user with ${KK_USERNAME} and ${KK_PASSWORD} if doesn’t exist.
      create user '${KK_USERNAME}'@'localhost' identified by '${KK_PASSWORD}';
   3. Assign permissions for this user:
      grant all on ${KK_DDBB}.* to '${KK_USERNAME}'@'localhost' identified by '${KK_PASSWORD}' with grant option;

KonaKart wizard installation

   1. Download the community edition from http://www.konakart.com/downloads/community_edition.Download both, the installation wizard and the zip containing the sources.Both are required for this integration.

   2. Execute the installation wizard. Follow the steps selecting where the installation will be done and select the database, user and password created in the step below.
      You can use the "silent" version if you don't have a graphical environment.
      Launch at the end the konakart server.

   3. Open http://${KK_HOST}:8780/konakartadmin (or the port that you have choosen), and change the roles to allow administrators login as single sign on. To do that, go to Customers - Maintain roles, select SuperUser and edit, fill field Custom1 with "Administrator" and save.

KonaKart portlet generation

   1. Unzip the zip file downloaded with the source code in the folder ${KK_SRC}.It could be the file KonaKart-5.2.0.0.zip.

   2. Run the next command:
      ${KK_SRC}\custom>bin\kkant -p
      You will see a list of tasks availables.
     
   3. Run the next command to generate the portlet for administration:
      ${KK_SRC}\custom>.\bin\ant make_admin_liferay_portlet_war
     
      If you have some problems deploying this war in liferay, try to make this task with the extra parameter -Djbossliferay=true
      A file called konakartadmin.war will be created in the ${KK_SRC}\custom\admin_portlet_war directory.

   4. Run the next command to generate the portlet for the frontend:
      ${KK_SRC}\custom>.\bin\ant make_liferay_portlet_war
     
      If you have some problems deploying this war in liferay, try again to make this task with the extra parameter -Djbossliferay=trueA file called konakart.war will be created in the ${KK_SRC}\custom\portlet_war directory.

KonaKart deployment

   1. Deploy konakartadmin.war and konakart.war files in liferay.
      If you have some warning messages in the catalina.out file, try to delete the file wsdd included in /WEB-INF/classes/ in the konakart.war file.

   2. Change some parameters defined in the file konakartadmin.properties, konakartadmin_axis.properties and konakart.properties and konakart_axis.properties to the correct values about users, passwords and ports.

Getting Started with Mule ESB


Introduction
 Mule ESB is a light weight java based framework and integration platform that allows developers to connect applications together quickly and easily, enabling them to exchange data. Mule ESB enables easy integration of existing systems,
Prerequisite
Start with Development
First create a new mule project File->Mule Project
 
Right click on src/main/java->New->Class






 Once the "New Java Class" window opens, first enter name “com.org” in the “package” filed and enter name "Greeting" in the "Name" field and click on "Finish" button.


Write the below code in "Greeting.Java"
package com.org;

public class Greeting {
     
      public String sayHi(String str)
      {
            return "How are you "+str;
           
      }

}

Now from the EndPoints pallete, choose Http Endpoint and change Port to 7777.Next from the Components pallete, choose "Java" component, From the pallete we drag two component, one from HTTP Endpoint and another form Java Component, Just Drag and Drop on the Flow canvas.
 


Configure the Java Component
Double click on the "Java Component" and from the properties window that appears, enter "com.oeg.Greeting" in the "Class Name". Click "OK" once done.
Deploy the application
Now we ready to start the deployment, right click on “hellomule.mflow” choose Run As->Mule Application.



open up the browser, and type "http://localhost:7777/Mule".Press Enter.
The output in the browser is as under

References

The sunny side of cloud-based AP


Having your “head in the clouds” means different things to different people. If you’re managing the finance department within your organization, having your head in the cloud is the smart way to go. Once considered a luxury, cloud-based SaaS (software as a service) for workflowautomation and invoice processing is now a necessity in a world of uncertain revenues and controlled costs.
The fact that SAP recently acquired SaaS provider Ariba for $4.3B should tell you all you need to know about the importance of cloud accounting for the future. Gartner forecasts that spending on cloud computing will increase at a rate of 19% compared to the total spending on IT, which is predicted to rise just 3%. As far as the growth in spending for cloud-based SaaS, Gartner expects that to grow from an estimated $12.1B in 2013 to $21.3B in 2015.
So what are the conditions that are making smart CFO’s and Finance Managers who haven’t already done so, put cloud-based automationcloud accounting software at the top of their wish list?
A paper-free environment is not the only endgame.
Moving into automated financial processing definitely has a paper-elimination advantage, to be sure. The problems that may arise from paper pileups and lost or misplaced invoices,and the efficiencies realized from accounts payable automation can’t be overstated; but the silver lining in the cloud is its value as a business information and cash management tool. One of the truly major transformation companies are experiencing is the changing role of accounts payable, from a transactional back office cost center to a strategic position within the organization. AP automation solutions enable this transformation by providing access to real-time data, and thus the insights necessary for procurement and treasury to effectively manage cash flow. Invoice Automation allows AP to:
  • Increase invoice processing speeds with streamlined workflows
  • Gain higher accuracy and faster access to data by removing touch points in the payables process
  • Eliminate late payments and take advantage of early-payment discounts with automated invoice approval workflows and payment disbursements
  • Enhance visibility at the click of a mouse for accurate reporting, better cash flow management, and improved supplier relationships
  • Improve supplier relationships through a seamless exchange of transaction-related information and payments.
Automation is a clear advantage, but why in the cloud?
New infrastructure, new software, and additional personnel are investments few companies are able, or willing, to undertake. Using a cloud-based SaaS provider means that companies only need a computer and internet access to run the application software, so there is no need to purchase hardware or software, make new hires, or pay the high cost of ongoing upgrades and training. Cloud automation has theadvantages of:
·   Low upfront costs
·   Fast deployment and flexibility
·   Minimal IT commitment
·   Access to data, anytime…anywhere
·   Rapid adoption and easy ERP integration
·   Automatic backup
·   Continuous software updates and upgrades

When real storm clouds appear, cloud-based AP softwareis essential
It’s no secret that storms are becoming more frequent and more treacherous, and that companies need to have a disaster recovery (DR) plan for all eventualities; but having multiple off-site servers, the personnel ready to implement emergency backups, and additional redundancies may not be feasible or optimal. Data stored in the cloud exists on the servers of service providers, who have their own system of servers at a variety of locations, constantly backing up data. Companies that have lost the ability to operate out of a brick-and-mortar facility can still access the necessary data through the cloud accounting system using their laptops, smartphones or tablets.

It’s clear that AP’s the future of Accounts Payable is in the clouds, and the future looks pretty bright…and definitely sunny. Have you transitioned into the cloud for your AP functions? If not, why not?. If so, let us know your experiences.