UI5 – Transitioning from Local to Cloud

Now, silly me, I really thought once I developed something, had it working, that I’d be able to just copy and paste and “alakazam”, it would work.  I really should know better than that by now, but hey, wishful thinking :).  So, here’s what happened.  I did all of my development in eclipse, ran it off the local server, used a simple proxy servlet, and everything worked great… well except that no one else could see it unless I showed them on my machine.  So I started digging.  A good friend of mine told me to check out the Hana Cloud Platform.  They have free versions.  So I did… and I’m really glad that I did.  However, like everything, the design of my app wouldn’t work in the cloud.

First I tried just adding HCP to my eclipse platform…  no love.  No matter how hard I tried, it wouldn’t work (granted, if I used my current version, it might now).  So, I tried just creating a template app in the SAP Web IDE, then copying my code into there…  nothing but errors.  After trying lots of other little attempts, I faced reality and started with a clean slate from the Web IDE.  I was able to salvage a lot of my original code, but of course, I had to add it in piece by piece, and often rewrite or move pieces of code within other functions.

When it was all said and done, I ended up with a better product (because I got to leverage new SAP standard functionality like the cloud connector, the Web IDE, and routing features that I’m only now beginning to understand 🙂

Stay tuned.  I’m finalizing my first round of testing, then I’ll send it out and hope to get your feedback on it,

Thanks for reading,

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top