on 07-11-2014 10:39 AM
We have created couple of REST API applications to run through SUP 2.2 and netweaver gateway.
At first we just used SUP proxy directly without using connection creation. Later on we added also application connection.
We are still wondering what are the actual benefits for using application connection creation? Is it only that you can get push notifications and see some client related logs, browse user lists in SUP SCC? After creating a connection, you still need to pass username/password in headers in order to get data from the backend (netweaver) so there seems to be no real benefits in client development perspective.
Is there something what we are missing here?
In short the REST APIs allows you to develop apps for any platform and provides security, push notifications, management and monitoring of apps. You are free to choose third party developer tools for development (javascript libraries, Cordova, sencha, Appcelerator etc).
Midhun VP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The benefit of REST API is the support to different mobile OS. Ex. Windows 8 and BB are supported by SMP through REST API approach. The Odata SDK supports only Android and Ios for now, that can give many enterprise level features to the app out of the box (ex. offline, encryption) those are not available with REST API approach.
Midhun VP
Well the original question was that is there specific benefits for client side developing if application connection is created before using the HTTP GET requests?
We know that the APPCID is the thing which we can play with, but we can also get it generated without creating the app connection.
I thought you needed an application connection in order to retrieve an endpoint? Sounds like you folks did it, or maybe published the endpoint all the way out to the SUP proxy?
Regardless, I think the value of app connection is simply management.debugging. Like you said, you can get client logs. I believe there's an additional layer of encryption at network layer as well.
As I mentioned earlier the app connection is needed for features like security, push notifications, management and monitoring of app.
I am assuming that you are developing the app without registering the user by directly using the whitelisted URL. That is not recommended and there is no advantage of doing that. The licensing is based on the number of users registered.The app should register with the server to get the advantage of the product.
Midhun VP
Hello Virinchy p,
No, in this case we are not creating or using MBOs. I just brought it up in comparison that after creating app connection in MBO dev model, developer did not need worry about passing user credidentials anywhere. Creating a application connection In REST API do not seem to offer the same kind of possibilities in client side.
The approach mentioned is not recommended. There is no advantage of using this approach where you whitelist an end point URL and using the URL directly in app. It is equal to directly using the end point in the app without whitelisting it. You will get advantage of the product only when you register the app with the server.
Midhun VP
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.