将数据从 SAP 抓取到 BlackBerry
我正在为 BlackBerry 开发一个 Java 应用程序,现在我在 SAP 中构建一些 RFC,以便我可以在系统内搜索一些信息以显示给黑莓用户。
我的第一次尝试(实际上有效):我做了一个通过php文件调用的rfc,php文件通过Json将信息发送到BlackBerry(反之亦然,bberry调用php文件并从这里发送到SAP)
我的老板告诉我我不能使用中间件来做到这一点,我必须直接从 SAP 获取数据,但我们的 SAP 没有移动模块
我的问题是:首先,没有中间件可以完成吗?如果答案是肯定的,那么...最干净、更好的方法应该是什么? (我们没有移动模块!!!)
SAP==>MiddleWare==>bberry
或
SAP==>bberry???
im developing an app in java for BlackBerry, right now im building some RFC's in SAP so i can search some info inside the system to show to the blackberry users.
my first attempt (that actually worked): i made a rfc that was called trough a php file and the php file sends the info through Json to the BlackBerry ( and viceversa, the bberry calls the php file and from here to SAP)
my boss told me that i cant use a middleware to do this, that i had to get the data directly from SAP, but our SAP doesn't have the mobile module
my question is: first, can it be done without the middleware? if the answer is yes, then... what should be the cleanest and better way? (we dont have a mobile module!!!!)
SAP==>MiddleWare==>bberry
or
SAP==>bberry???
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您有多种选择:
you have multiple options:
BSP 是您最好的选择。要么返回 XML,要么只是从 BSP 将应用程序作为网页运行(如果用例适合)。由于黑莓浏览器仅支持某些功能,因此您必须手动编写 HTML 才能使其正常工作。
BSP is your best bet. Either to return the XML or even just run the app as a web page from the BSP (if the use case suits). You will have to hand craft the HTML to get it to work though since the blackberry browser only supports certin features.
我们现在正处于 SAP Netweaver Gateway RampUp 过程中。这符合您的要求,因为它通过 Restful Web 服务返回 sap 数据,并且具有适用于多种编程语言的代理生成器。我真的很喜欢它。也许你可以尝试一下。
We are right now in the process of the SAP Netweaver Gateway RampUp. This fits your requirements because it returns the sap data via restful web services and has proxy generators for several programming languages. I really like it. Maybe you could give it a try.