28.01.2013 Views

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.4 Refactoring <strong>SAP</strong> <strong>HANA</strong> Based Applications<br />

The possibility to run application-specific code in <strong>SAP</strong> <strong>HANA</strong> raises the question: What kind of logic should run<br />

where? Clearly, data-intensive and model-based calculations must be close to the data and, therefore, need to be<br />

executed in the index server, for instance, using SQLScript or the code of the specialized functional libraries.<br />

The presentation (view) logic runs on the client – for example, as an HTML5 application in a Web browser or on a<br />

mobile device.<br />

Native application-specific code, supported by <strong>SAP</strong> <strong>HANA</strong> Extended Application Services, can be used to provide<br />

a thin layer between the clients on one side, and the views, tables and procedures in the index server on the other<br />

side. Typical applications contain, for example, control flow logic based on request parameters, invoke views and<br />

stored procedures in the index server, and transform the results to the response format expected by the client.<br />

Such applications can also send emails and consume external HTTP-based services.<br />

The communication between the <strong>SAP</strong> <strong>HANA</strong> XS server and index server is optimized for high performance.<br />

However, performance is not the only reason why the <strong>SAP</strong> <strong>HANA</strong> XS server was integrated into <strong>SAP</strong> <strong>HANA</strong>. It also<br />

leads to simplified administration and a better development experience.<br />

The <strong>SAP</strong> <strong>HANA</strong> XS server completes <strong>SAP</strong> <strong>HANA</strong> to make it a comprehensive development platform. With the <strong>SAP</strong><br />

<strong>HANA</strong> XS server, developers can write <strong>SAP</strong> <strong>HANA</strong>-based applications that cover all server-side aspects, such as<br />

tables and database views, database procedures, server-side control logic, integration with external systems, and<br />

provisioning of HTTP-based services. The integration of the <strong>SAP</strong> <strong>HANA</strong> XS server into the <strong>SAP</strong> <strong>HANA</strong> system also<br />

helps to reduce cost of ownership, as all servers are installed, operated and updated as one system.<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Developer</strong> <strong>Guide</strong><br />

<strong>SAP</strong> <strong>HANA</strong><br />

P U B L I C<br />

© 2012 <strong>SAP</strong> AG. All rights reserved. 15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!