使用SAP WebIDE创建开发Java应用,并且在浏览器里调试
打开SAP WebIDE,新建一个项目,选择New from template,基于Multi-Target Application模板创建:
项目创建完毕后,右键选择New->Java Module:
新建的这个Java module同样要基于模板选择一个类型:这里我选择Simple Web Application:
Run->Run as Java Application:
这个操作会自动把该Java应用部署到SAP Cloud Platform的CloudFoundry环境上去,生成一个外界可以访问的url:
我们回到SAP云平台,看到这个自动被部署的Java应用:
能按照我们期望的方式工作:
WebIDE里同样可以进行单步调试:
本文来自云栖社区合作伙伴“汪子熙”,了解相关信息可以关注微信公众号"汪子熙"。
低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。
持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。
转载内容版权归作者及来源网站所有,本站原创内容转载请注明来源。
- 上一篇
SpringBoot的配置优先级,一个具体的练习例子
SpringBoot里的官方文档叫做Externalized Configuration: 优先级依次如下: (1) Devtools global settings properties in the $HOME/.config/spring-boot folder when devtools is active. (2) @TestPropertySource annotations on your tests. (3) properties attribute on your tests. Available on @SpringBootTest and the test annotations for testing a particular slice of your application. (4) Command line arguments. (5) Properties from SPRING_APPLICATION_JSON (inline JSON embedded in an environment variable or system property). (...
- 下一篇
使用Java程序通过http post访问ABAP Netweaver服务器
Created by Jerry Wang, last modified on Aug 20, 2014 source code如下: import java.io.FileNotFoundException; import java.io.IOException; import org.apache.commons.codec.binary.Base64; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.mime.HttpMultipartMode; import org.apache.http.entity.mime.MultipartEnti...
相关文章
文章评论
共有0条评论来说两句吧...
文章二维码
点击排行
推荐阅读
最新文章
- Eclipse初始化配置,告别卡顿、闪退、编译时间过长
- SpringBoot2整合MyBatis,连接MySql数据库做增删改查操作
- SpringBoot2整合Thymeleaf,官方推荐html解决方案
- SpringBoot2整合Redis,开启缓存,提高访问速度
- CentOS8编译安装MySQL8.0.19
- Docker使用Oracle官方镜像安装(12C,18C,19C)
- CentOS7,8上快速安装Gitea,搭建Git服务器
- Docker安装Oracle12C,快速搭建Oracle学习环境
- Springboot2将连接池hikari替换为druid,体验最强大的数据库连接池
- Windows10,CentOS7,CentOS8安装Nodejs环境