Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member

[Update: April 5th, 2016 -  The Live3 on HCP tutorial series was created using the SAP HANA Cloud Platform free developer trial landscape in January 2015. The HCP landscape has significantly evolved over the past year. Therefore one may encounter many issues while following along with the series using the most recent version of the free developer trail edition of HCP.]


philip.mugglestone from the SAP HANA Academy continues the Live3 on HCP course by introducing the SAP HANA Web-based Development Workbench and showing how to create the live3 web services project. Check out Philip's video below.

(0:18 – 3:10) Examination of the SAP HANA Web-based Development Workbench

You have the option to preform your live3 application development either with the SAP HANA Development perspective in Eclipse or with the SAP HANA Web-based Development Workbench in a web browser.

In this course Philip opts for the web-based option. To follow along with Philip in your SAP HANA Cloud Platform Cockpit navigate to the HANA instances section and click on the link to the SAP HANA Web-based Development Workbench in your dev trial instance. In the workbench you can develop your web services projects that will appear on the web. Already displayed on the workbench is a project with your p-number trial account name and within that is a project called dev. A new live3 project will be built in dev.

The SAP HANA Web-based Development Workbench Catalog provides a very similar look to the Catalog in Eclipse. So you can look at look at all of the data in the $TA_Tweets table in your application schema on the web. You can run SQL on the web to see the data that you want and you will the same rights as you do in Eclipse.

(3:10 – 5:30) Creating the live3 Application

Philip recommends that you create the live3 project in the dev project and name it live3 in lowercase as there will be some dependences in the sample code from GitHub. Right click on dev, choose create application and name the sub-package live3. Choose blank application as the template before clicking create.

This will create a live3 project inside dev with three files. The index.html file is a boilerplate of some html. The .xsapp file basically says that this is an application in SAP HANA extended application services. The .xs file is currently empty. Typically the .xs file will have JSON syntax.


The .xsaccess file allows you to control who can access the application. To make the application visible on the web you need to set the exposed value as true. Also you can specify how people can authenticate when using the application.

Now click on the index.html file and then click the green arrow button to run on the server. This will run the application and generate a URL for the application.


Follow along with the Live3 on HCP course here.


SAP HANA Academy over 900 free tutorial videos on using SAP HANA and SAP HANA Cloud Platform.


Follow @saphanaacademy

Labels in this area