<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: CAPM 4 Java with Spring Boot: Adding UI in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/capm-4-java-with-spring-boot-adding-ui/qaa-p/12206572#M4567633</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have to admit I barely use CAP Java so I'm just guessing here. I would assume it works in the exact same way as the nodejs-flavored CAP.&lt;/P&gt;&lt;P&gt;You'll have to add an approuter that reroutes incoming traffic either to your CAP Java service or to the static UI files (embedded in the approuter or from the HTML5 Application Repository).&lt;/P&gt;</description>
    <pubDate>Tue, 11 Feb 2020 12:40:15 GMT</pubDate>
    <dc:creator>mariusobert</dc:creator>
    <dc:date>2020-02-11T12:40:15Z</dc:date>
    <item>
      <title>CAPM 4 Java with Spring Boot: Adding UI</title>
      <link>https://community.sap.com/t5/technology-q-a/capm-4-java-with-spring-boot-adding-ui/qaq-p/12206571</link>
      <description>&lt;P&gt;Hello folks,&lt;BR /&gt;I'm currently trying - for learning purposes - to develop a Java (Spring Boot) based CAPM Application, which I implemented starting from this tutorial: &lt;A href="https://github.com/SAP-samples/cloud-cap-walkthroughs/tree/master/exercises-java" target="_blank"&gt;CAP Spring Boot Walkthrough&lt;/A&gt;.&lt;/P&gt;
  &lt;P&gt;For me, having prior experience with Spring and Spring Boot, is the perfect starting point.&lt;/P&gt;
  &lt;P&gt;However, there is something that is bugging me and I'm not able to find anything about it: how to add a UI to the application, just like how it is done in a NodeJS based CAPM App.&lt;/P&gt;
  &lt;P&gt;It seems to me that all Spring Boot based tutorials go directly at the deploy stage, with no mention on how to create a UI for our application. &lt;BR /&gt;The only tutorial I have found is this one &lt;A href="https://developers.sap.com/group.cp-apm-full-stack-app.html" target="_blank"&gt;Use the SAP Cloud Application Programming Model to Create a Full-Stack App&lt;/A&gt; , but is pure Java based and it is implemented via WebIDE: as far as I have understood, there's no Spring Boot container coming from the CAP wizard (to get the Spring Boot container, MTA is the only option).&lt;/P&gt;
  &lt;P&gt;Am I missing something? Is there any example to follow on?&lt;/P&gt;
  &lt;P&gt;Thanks a lot,&lt;BR /&gt;Roberto.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 22:00:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/capm-4-java-with-spring-boot-adding-ui/qaq-p/12206571</guid>
      <dc:creator>former_member231229</dc:creator>
      <dc:date>2020-02-10T22:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: CAPM 4 Java with Spring Boot: Adding UI</title>
      <link>https://community.sap.com/t5/technology-q-a/capm-4-java-with-spring-boot-adding-ui/qaa-p/12206572#M4567633</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have to admit I barely use CAP Java so I'm just guessing here. I would assume it works in the exact same way as the nodejs-flavored CAP.&lt;/P&gt;&lt;P&gt;You'll have to add an approuter that reroutes incoming traffic either to your CAP Java service or to the static UI files (embedded in the approuter or from the HTML5 Application Repository).&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 12:40:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/capm-4-java-with-spring-boot-adding-ui/qaa-p/12206572#M4567633</guid>
      <dc:creator>mariusobert</dc:creator>
      <dc:date>2020-02-11T12:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: CAPM 4 Java with Spring Boot: Adding UI</title>
      <link>https://community.sap.com/t5/technology-q-a/capm-4-java-with-spring-boot-adding-ui/qaa-p/12206573#M4567634</link>
      <description>&lt;P&gt;Hello Marius,&lt;BR /&gt;Thank you, but it is unclear to me how this setup can be tested locally. I tried this setup in WebIDE, but the Spring based service won't even start.&lt;BR /&gt;I really think I am missing something here &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;R.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 13:37:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/capm-4-java-with-spring-boot-adding-ui/qaa-p/12206573#M4567634</guid>
      <dc:creator>former_member231229</dc:creator>
      <dc:date>2020-02-11T13:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: CAPM 4 Java with Spring Boot: Adding UI</title>
      <link>https://community.sap.com/t5/technology-q-a/capm-4-java-with-spring-boot-adding-ui/qaa-p/12206574#M4567635</link>
      <description>&lt;P&gt;The Web IDE tutorial that you are referring to is, as you probably already found out, outdated. My colleagues are working on an updated version, so please ignore this tutorial for now.&lt;/P&gt;&lt;P&gt;For local testing, you could follow the approach that I used in the &lt;A href="https://github.com/SAP-samples/cloud-foundry-cap-azure-cities/"&gt;Azure Cities&lt;/A&gt; demo app. There, I basically set up an local approuter to redirect all "CAP traffic" to another port running on localhost.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 14:21:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/capm-4-java-with-spring-boot-adding-ui/qaa-p/12206574#M4567635</guid>
      <dc:creator>mariusobert</dc:creator>
      <dc:date>2020-02-11T14:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: CAPM 4 Java with Spring Boot: Adding UI</title>
      <link>https://community.sap.com/t5/technology-q-a/capm-4-java-with-spring-boot-adding-ui/qaa-p/12206575#M4567636</link>
      <description>&lt;P&gt;Marius,&lt;BR /&gt;Thanks a lot, it is very helpful.&lt;/P&gt;&lt;P&gt;All the best,&lt;BR /&gt;R.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 14:42:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/capm-4-java-with-spring-boot-adding-ui/qaa-p/12206575#M4567636</guid>
      <dc:creator>former_member231229</dc:creator>
      <dc:date>2020-02-11T14:42:24Z</dc:date>
    </item>
  </channel>
</rss>

