Convert app in CDF into Scala?

Folks

We have an app developed by Wolfram and delivered in CDF format. We would like to convert the CDF into Scala and transfer the functionality into Big Data; so it can immensely scale and perform against very large data sets.

The App although a CDF, because the interactivity requires Mathematica license and does not work on CDF Player, and is limited to few thousands of records.

Any ideas.

Thanks