Hello, World!

Let's start our development by creating the standard first application used in every language under the sun; the Hello, World application. This will allow us to ensure that our development environment is functioning correctly, that our application descriptor files (.xsapp and .xsaccess) are correct and that the XS Engine is working correctly.

To do this, we'll create a new file in our application, called hello.xsjs. This file will be our application's main file, the one we'll call from our browser.

An XS Engine program is written in JavaScript, and the program generates HTML for the browser. Our program will be very simple—it will just tell the browser that we're sending some HTML, and then output the Hello, World text.

Our program ...

Get Software Development on the SAP HANA Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.