Wednesday, May 9, 2012

Configure liferay in eclipse

Requirements

·         Java 5.0 JRE

Installation steps

·         1. Install Eclipse Indigo or Helios (unzip download file from above)
·         2. Run eclipse.exe
·         3. When eclipse opens, go to Help > Install New Software... 
·         4. Click "Add..." button to open Add Site dialog
·         5. Type in Liferay IDE for name, and location use one of the following URLs

Eclipse Indigo Update sites

Indigo release nightly URL - http://releases.liferay.com/tools/ide/eclipse/indigo/nightly/ (Unstable version)

Eclipse Helios Update sites

Helios release nightly URL - http://releases.liferay.com/tools/ide/eclipse/helios/nightly/ (Unstable version)
·         6. Select OK
·         7. Select the Liferay IDE site from the combo selection box.
·         8. When the table refreshes you should see Liferay Tooling category and one entry for Liferay IDE feature, select the checkbox to install the feature.
·         9. Click Next and then click Finish to begin the install
·         10. After plugins download and install you will have to accept that the content is unsigned and then restart eclipse.
·         11. After you restart, go to Help > About Eclipse and you should see a Icon badge for Liferay IDE that shows you have it properly installed.

Liferay Plug-ins SDK Setup

Requirements before getting started

·         1. Liferay Portal 6.0 (RC2 or greater) downloaded and installed (or download in the IDE itself)
·         2. Liferay Plug-ins SDK 6.0 (RC2 or greater) downloaded and installed (or download in the IDE itself)
·         3. Eclipse Helios/Galileo Java EE for developers package.

Liferay Plug-ins SDK Setup
Before you can begin creating new Liferay plug-in projects, a Liferay Plug-ins SDK and Liferay Portal must be installed and configured in the IDE.
·         1. Open Eclipse with Liferay IDE installed.
·         2. Open Preference page for Liferay > Installed SDKs ( Go to Window > Preferences > Liferay > Installed SDKs )
·         3. If you have not already downloaded the Liferay Plug-ins SDK for your portal version you can download it from thesourceforge.net Liferay downloads page. Liferay plugin sdk is located available in the "portal" folder. In the "portal" folder, select the Liferay version matching the Liferay version. Within this folder, look for liferay-plugins-sdk-x.x.x.zip (usually the last file).
·         4. Add your SDK using the Add button which brings up the Add SDK Dialog:
·         5. Browse to the location of your Plug-ins SDK installation.
·         6. The default name is the name of the directory but you can change it if you wish.
·         7. Select OK and you should see your SDK in the list of Installed SDKs.
Note: multiple SDKs can be added to the preferences but you will need to select at least one SDK to be the default which is represented by the SDK that has the checkbox selected.
Note: if you have version 6.0.4 of Liferay Portal and the Plugin SDK, you will need to change your build.properties file. The SDK plugin assumes you have installed the SDK at the same level (same directory) as the portal directory. In the line
·         app.server.dir=${project.dir}/../bundles/app_server_name of build.properties you have to change bundles with the name of the Liferay portal installation directory e.g. liferay-portal-6.0.4.
Otherwise, portlets created with the SDK plugin will not be deployed by Ant.








·         





Thursday, May 3, 2012

Cloud Computing Basic Components

Successful implementation of cloud computing requires proper implementation of certain components. Without any of these components, cloud computing will not be possible. These components can’t be easily implemented by one person alone.
Cloud Computing will require persons with different expertise, experiences and backgrounds. As it will require more people in the industry, it’s no wonder why cloud computing is a very expensive venture. But even with the expenses that the company would often have to spend, the advantages provided by cloud computing is far more than the initial spending.
Some would resort to a cloud computing vendor because of the lack of resources while others have the resources to build their cloud computing applications, platforms and hardware. But either way, components have to be implemented with the expectation of optimal performance.

The Client – The End User

Everything ends with the client. The hardware components, the application and everything else developed for cloud computing will be used in the client. Without the client, nothing will be possible.
The client could come in two forms: the hardware component or the combination of software and hardware components. Although it’s a common conception that cloud computing solely relies on the cloud (internet), there are certain systems that requires pre-installed applications to ensure smooth transition. The hardware on the other hand will be the platform where everything has to be launched.
Optimization is based on two fronts: the local hardware capacity and the software security. Through optimized hardware with security, the application will launch seamlessly.

The Service – the Functions in Cloud Computing

Cloud computing always has a purpose. One of the main reasons cloud computing become popular is due to the adoption of businesses as the easier way to implement business processes. Cloud computing is all about processes and the services launched through cloud computing always has to deal with processes with an expected output.
The optimization on services is based on two things: the proper development of the application and the end user. Sometimes, the service could be used by the user wherein their experience is greatly affected by their gadget.

The Application – Backbone of Service

The service is often though as the application. Although it’s partly correct given the fact that it provides the functions, the application is entirely different because it is through the application that the service is realized. This is where software developers have to focus in terms of ensuring the application will work as expected.
Optimization of the application is based the actual coding of developers. Through extensive testing on load handling, security and functionality, the application could work as expected.

The Platform – “Soft Infrastructure” for the Application

In regular websites or applications that don’t deal with cloud computing, the application is directly connected to the server. In cloud computing, the application is still launched to another application called the platform. The platform usually comes as the programming language such as Ajax (Asynchronous JavaScript and XML) or Ruby on Rails.
At this point, those who opted to seek cloud computing providers will have to follow the set programming languages that could be run in the platform. Although most programming languages could be launched in different platform, a powerful application with real time updating capability is a must for cloud computing.

The Storage – The Warehouse of Cloud Computing

Everything that the application knows and the functions that could be provided by service are possible through storage. The storage holds pertinent data and information on function on how they will be implemented.
Optimization on storage is based on how the storage facility protected from different attacks and availability of back-up. Could computing is always about consistency and availability of service which will naturally require the storage to be available all the time.

The Infrastructure – The Backbone of Cloud Computing

Every function, service and the ability of storage to provide the needed data is only possible through optimized infrastructure. This could be considered as the platform behind the storage as the infrastructure helps the storage deal with load problems. 
The infrastructure is a platform wherein it weights the ability of the storage against the number of requests. The infrastructure has the ability to make some changes by load balancing and even management. 
These are the components for cloud computing. Each of these components have to be optimized for a secured and well functioning application for cloud computing.

Your Reviews/Queries Are Accepted