openSAP course guide – Developing Java-Based Apps on SAP HANA Cloud Platform – week 1
Welcome
Hi everyone,
our new openSAP course Developing Java-Based Apps on SAP HANA Cloud Platform started this week, on Wednesday, September 7th 2016, and ends on Thursday, October 20th 2016. It’s a 5 week course followed by another week for the final exam. The document openSAP course guide – Developing Java-Based Apps on SAP HANA Cloud Platform – overview gives an overview over the course and has the links to all the week guides. This blog post you are reading just now will guide you through week 1 of the course and provide you with additional material, explanations or Q&A around the topic of the week. Depending on the feedback and questions inside the forum of the course I might also add additional material (e.g. videos) during and after the course to address the frequently asked questions so that you have a one-stop-shop of additional materials for this course. I hope you will enjoy the week!
Content Week 1
The topic for week 1 is The ESPM Application, and this is the content you can look forward to:
- Unit 1: Welcome and Overview
- Unit 2: Git and the ESPM Application
- Unit 3: Maven and the ESPM Application
- Unit 4: The App Front End
- Unit 5: The App Back End and Database
Table of Contents
Unit 1 – Welcome and Overview
See the video here: https://open.sap.com/courses/hcp2/items/6lKXouLxRRt8rR7ALrGLHI
What you will learn
- SAP HANA Cloud Platform elevator pitch
- Where you can get an introduction to SAP HANA Cloud Platform with the SAP HANA Cloud Platform Essentials openSAP course
- Capabilities and benefits of the
- Java Runtime
- Eclipse IDE
- SAP HANA Cloud Platform cockpit
- ESPM application overview
- Scope of this course
Additional links
- Overview | SAP HANA Cloud Platform website
- SAP HANA Cloud Platform documentation
- SAP HANA Cloud Platform Essentials – Rui Nogueira and Sven Kohlhaas | openSAP
- GitHub – SAP/cloud-espm-v2: This sample is a reference application project, showcasing an end-to-end development scenari…
Q&A
- Eclipse installation? Please register for the openSAP course SAP HANA Cloud Platform Essentials https://open.sap.com/courses/hcp1 and complete week 1 to get an introduction to SAP HANA Cloud Platform. Sign up for your free developer account, install the necessary development tools, and more.
Unit 2 – Git and the ESPM Application
See the video here: https://open.sap.com/courses/hcp2/items/4lHZZuNWhh7GeBhj2NF9Oj
What you will learn
- What Git is
- How Git works
- How you can use Eclipse and Git together
- The ESPM application – architecture and code
- You have cloned the ESPM application to your local machine
Additional links
- Git
- EGit
- GitHub – SAP/cloud-espm-v2: This sample is a reference application project, showcasing an end-to-end development scenari…
Q&A
- …
Unit 3 – Maven and the ESPM Application
See the video here: https://open.sap.com/courses/hcp2/items/6P7dA0zgz5Az3ujEw1DAqw
What you will learn
- What Maven is
- How Maven works
- How you can use Eclipse and Maven together
- You have imported and built the ESPM application
- You have deployed the ESPM application to your SAP HANA Cloud Platform account
Additional links
- https://maven.apache.org/
- M2Eclipse | M2Eclipse
- GitHub – SAP/cloud-espm-v2: This sample is a reference application project, showcasing an end-to-end development scenari…
- Maven “cheatsheet”
- [HOW TO] Run ESPM app locally: https://open.sap.com/courses/hcp2/question/172ecbfd-8004-4670-af71-89ba5b419928
Q&A
- Error: Console post connection timed out – what can I do? What happens is that during the Maven install procedure the integration tests are run, here a local server is created and the WAR file installed on it to run the tests. With this error it looks like some port is getting blocked and therefore the server cannot be started. One solution would be to edit the espm-cloud-web/pom.xml and set the local-integration-tests action to “false”. Then the integration tests are not run and you should not face this error. [https://open.sap.com/courses/hcp2/question/1807ac54-2579-4538-8ee7-3f039ed65d79]
- Eclipse/Maven error: “No compiler is provided in this environment” -> http://stackoverflow.com/questions/21099072/eclipse-maven-error-no-compiler-is-provided-in-this-environment
- I am unable to upgrade mavean project as its showing error in projects. -> https://open.sap.com/courses/hcp2/question/c9468df3-e8fb-4867-9a56-651cb095c56f
Unit 4 – The App Front End
See the video here: https://open.sap.com/courses/hcp2/items/4y347tfd5faSAWCuYPLv1U
What you will learn
- SAPUI5 capabilities and benefits
- You have investigated the ESPM application front end in the browser
- as a customer
- as a retailer
- in a desktop browser
- in a mobile browser
- You have investigated the ESPM application front end code in the web module
Additional links
Q&A
- …
Unit 5 – The App Back End and Database
See the video here: https://open.sap.com/courses/hcp2/items/Ix8IyoWRJrpYxrZcqgxKH
What you will learn
- What SAP HANA is
- How we will be using SAP HANA Y
- ou have investigated the ESPM application data source binding and corresponding database/schema
- You have investigated the ESPM application back end code in the JPA module
Additional links
Q&A
- Hi! Webshop still empty, No schema and no data source binding. Probably a deployment that went wrong or is missing? -> Try the following: create a database schema through the cockpt and create binding to the application. Restart the application afterwards. Suprisingly the products apear. I’ll guess the tables and the content a create by some scripts during startup. This solved the issue for me. [https://open.sap.com/courses/hcp2/question/9797e35f-383e-4309-b719-fc8bdccb64e0] For how to create such a schema and binding, please see here https://open.sap.com/courses/hcp2/question/5c7bdbc4-c042-48fc-b45e-7990c95dc48f.
All the best,
Sven