1

我知道,Oracle MAF用于开发Android and IOS device具有原生外观和感觉的混合移动应用程序。

我已按照本教程中的说明在服务器上创建REST Web Service和部署,还使用​​. 它在 上成功运行。WebLogicAndroid SDKAndroid Device

现在,可以在服务器(可能WebLogic, Glassfish, Tomcat)上运行移动客户端,以便可以作为 Web VersionWeb 应用程序)访问它。


作为尝试,我将移动客户端应用程序压缩为一个war文件,并且也部署在该文件上TomcatWebLogic但没有成功。

以下是我URLWebLogic服务器访问主页时收到的错误消息。

Error 403--Forbidden

From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

10.4.4 403 Forbidden

The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.

如果您有任何解决此问题的想法,请分享您的想法,它将帮助当前和未来的 MAF 开发人员。

4

2 回答 2

2

MAF 创建在设备上部署和运行的应用程序。ADF 创建可以从移动设备上的浏览器访问的服务器端应用程序。两种不同的架构解决了两种不同的需求。

于 2015-09-02T21:52:57.397 回答
1

不,这是不可能的。压缩.apk(Android) 或.ipa(iOS) 文件不会使其成为 Web 应用程序。这些文件也是容器,但它们包含本机代码。

用于Oracle ADF网络应用程序。

于 2015-08-29T11:10:28.310 回答