美文网首页
Sample Java Repo Analysis (1)

Sample Java Repo Analysis (1)

作者: xycodes | 来源:发表于2021-09-17 13:26 被阅读0次

Repo Address

https://github.com/SAP-samples/cloud-cap-samples-java

Basic Folder Structure of Project

What is behind "mvn spring-boot run" ?

app/index.cds,db/index.cds will be totally compiled.

What is the basic layout of app ?

It is the card component. Url is only the key path for the embedded path ("/browse/webapp"). Sample codes are below.

window["sap-ushell-config"] = {

defaultRenderer: "fiori2",

applications: {

"browse-books": {

title: "Browse Books",

description: "Find your favorite book",

additionalInformation: "SAPUI5.Component=bookshop",

applicationType : "URL",

url: "/browse/webapp",

navigationMode: "embedded"

},

"manage-reviews": {

title: "Manage Reviews",

description: "Add/edit/delete reviews",

additionalInformation: "SAPUI5.Component=reviews",

applicationType: "URL",

url: "/reviews/webapp",

navigationMode: "embedded"

}

}

};

相关文章

网友评论

      本文标题:Sample Java Repo Analysis (1)

      本文链接:https://www.haomeiwen.com/subject/jchfgltx.html