openSAP course guide – Developing Java-Based Apps on SAP Cloud Platform* (Update Q1/2017) – week 1
Welcome
Hi everyone,
our openSAP course Developing Java-Based Apps on SAP Cloud Platform* (Update Q1/2017) started this week, on Wednesday, April 5th 2017, and ends on Thursday, May 18th 2017. It’s a 5 week course followed by another week for the final exam. New in this update is among others a System Preparation week which opened last week, 1 week before the actual course start. The document openSAP course guide – Developing Java-Based Apps on SAP Cloud Platform* (Update Q1/2017) – 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 FAQ 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-1/items/3IzkzZdEdM6sf4PVIodkCp
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 (Repeat) – 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
- …
Unit 2 – Git and the ESPM Application
See the video here: https://open.sap.com/courses/hcp2-1/items/3qhZOM7Yf0sp7QmlnwgtjJ
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-1/items/6TqNdjHyPghNjPbIS2CAkQ
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-1/items/6pWVPYEE34iLdL9TH57Os9
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-1/items/4dZEgnkgByBm5FRgzN7mgt
What you will learn
- What SAP HANA is
- How we will be using SAP HANA
- You 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? -> Might be that somehow the database schema and binding was not created automatically. Try the following: create a database schema through the cockpit and create binding to the application. Restart the application afterwards. Then the products should appear. [ https://open.sap.com/courses/hcp2-1/question/050b547c-8218-4ff2-8dfe-42c7493117ce ] .
During the original course last year Amol Gupta wrote a very good complementary installation guide which you might also still find useful:
Additionally, we have a new Enterprise Sales and Procurement Model (ESPM) Installation Guide with screenshots, have a look!
All the best,
Sven
*) Please note: SAP has announced that SAP HANA Cloud Platform is being renamed to SAP Cloud Platform. You can read more about the reasons behind the change and what you can expect in the official SAP Press Release.