Oracle MAF : Supports for Web application?

351 Views Asked by At

I know that, Oracle MAF is used to develop hybrid mobile application for both Android and IOS device with native look and feel.

I have created REST Web Service and deployed on the WebLogic server as described in this tutorial and also created mobile client app for Android device with use of Android SDK. It is running successfully on Android Device.

Now, It is possible to run mobile client on server (May be WebLogic, Glassfish, Tomcat) so that it can be accessed as a Web Version (Web Application).


As a try, I have zipped mobile client application as a war file and also deployed on Tomcat and WebLogic but without success.

Below is the error message which I got when accessing the home URL from WebLogic server.

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.

Share yours ideas to resolve this issue if you have any, it will help current and future MAF developers.

2

There are 2 best solutions below

6
On

No it's not possible. Zipping the .apk (Android) or .ipa (iOS) file will not make it a web application. Those files are also containers but they contain native code.

Use Oracle ADF for web applications.

3
On

MAF creates application that deploy and run on the device. ADF creates server side applications that can be accessed from the browser on a mobile device. Two separate architectures addressing two separate needs.