cancel
Showing results for 
Search instead for 
Did you mean: 

Deploy Java application on HANA platform

raffinkira
Participant
0 Kudos

Hi all,

I am a beginner of HANA.

I have a question for deploying Java application on HANA.

I saw that I can upload war file to HANA server.

But can I take the advantage of HANA if it is a Java application?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Check from my blog i have done this

https://chiranjeevigk.wordpress.com/

pfefferf
Active Contributor
0 Kudos

Hello Ming,

HANA itself provides an Apache TomEE Runtime via the XS Advanced Model since SPS11 ().

If your Java application takes advantage of the HANA capabilities depends on how you implement your application. If you just bring an existing application to HANA which follows the classical development paradigm to fetch the data into the application server to work on them then the benefit will not be to big. If your application pushes down logic to the DB layer (for instance intensive calculations/aggregations), or uses some specific HANA capabilities like for instance the Spatial Engine than also your Java application will benefit from HANA of course. But the advantage is more or less independent from the fact where your application runs (on HANA or a separate server).

Regards, Florian

raffinkira
Participant
0 Kudos

Thank you for you reply.

My application is developing in a traditional way which is Tomcat + Java EE + MySQL.

So if I want to move it to HANA platform, I need to rewrite the logic of the persistence layer(db) part, using HANA instead of MySQL. Is it right?

pfefferf
Active Contributor
0 Kudos

If you just wanna use HANA instead of MySQL than you just have to adapt the connection to the DB (assuming that you have not used any specific statements just supported by MySQL). If you wanna benefit from the strange of HANA than I think you need to adjust some of your code.

raffinkira
Participant
0 Kudos

Could you take a look at this?

https://help.hana.ondemand.com/help/frameset.htm?e4c52854bb571014aeb88753d0dad158.html

This article is a typical Java web application.

It seems nothing different from a normal Java application except it is deployed on HANA platform.

Can you take this as a sample to explain how to push the logic down into DB layer?

pfefferf
Active Contributor
0 Kudos

This document refers to SAP HANA Cloud Platform and not to SAP HANA Platform.

These are two different things.


But in general if you are using SAP HANA as DB, for both options the same rules apply regarding optimizations to benefit from HANA.