留言板
Modbile SDK and new Liferay 7 JAX-RS support
Denis Signoretto,修改在8 年前。
Modbile SDK and new Liferay 7 JAX-RS support
Expert 帖子: 375 加入日期: 09-4-21 最近的帖子
Hi,
I've seen that Liferay 7 will introduce a new way to define and develop services by JAX-RS.
I'd like to know if Mobile SDK will introduce support for services defined in this way in Liferay 7
and if with Liferay 7 JSONWS services can be developed as OSGI modules.
Thanks,
Denis.
I've seen that Liferay 7 will introduce a new way to define and develop services by JAX-RS.
I'd like to know if Mobile SDK will introduce support for services defined in this way in Liferay 7
and if with Liferay 7 JSONWS services can be developed as OSGI modules.
Thanks,
Denis.
Bruno Farache,修改在8 年前。
RE: Modbile SDK and new Liferay 7 JAX-RS support
Liferay Master 帖子: 603 加入日期: 07-5-14 最近的帖子
Hi Dennis!
Since these new services are truly restful I don't think a Mobile SDK is needed for them. You could use something like Retrofit, for example.
Regarding the question about OSGi and JSONWS, I'm not sure, probably yes since Liferay remote services are OSGi services.
Since these new services are truly restful I don't think a Mobile SDK is needed for them. You could use something like Retrofit, for example.
Regarding the question about OSGi and JSONWS, I'm not sure, probably yes since Liferay remote services are OSGi services.
Juan Gonzalez,修改在8 年前。
RE: Modbile SDK and new Liferay 7 JAX-RS support
Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
Hi Dennis,
here you have the DevCon presentation made by Carlos Sierra (the main developer of this great JAX standarization as Liferay OSGI services):
https://www.youtube.com/watch?v=y6rrP6zbfLk
Here you can download the slides (choose October 8) and select Carlos Sierra's presentation:
https://www.liferay.com/web/events2015/devcon/recap#agendaWrapper
Hope it helps...If you need more info, I can search for it.
here you have the DevCon presentation made by Carlos Sierra (the main developer of this great JAX standarization as Liferay OSGI services):
https://www.youtube.com/watch?v=y6rrP6zbfLk
Here you can download the slides (choose October 8) and select Carlos Sierra's presentation:
https://www.liferay.com/web/events2015/devcon/recap#agendaWrapper
Hope it helps...If you need more info, I can search for it.
Jose M. Navarro,修改在8 年前。
RE: Modbile SDK and new Liferay 7 JAX-RS support
Regular Member 帖子: 138 加入日期: 14-1-24 最近的帖子
Hey Denis,
Let me give you more insight since I'm involved in this JAX-RS project (kudos to Carlos Sierra, he did the whole design and implementation).
The main idea is to be able to expose REST-like endpoints from the portal, in order to allow clients (mobile apps, JS clients, IoT devices) to easily consume the portal content.
But this isn't only a way to do "more fancy" HTTP calls: it's the first step for us to be able to add useful features for all HTTP endpoints (aka remote services): endpoint versioning, quotas management, different caching or security strategies, different serializers (did I say protobuf?), etc.
As a nice side effect, if the HTTP API is more polite, then the MobileSDK is not necessary anymore, as Bruno said.
Regards!
Let me give you more insight since I'm involved in this JAX-RS project (kudos to Carlos Sierra, he did the whole design and implementation).
The main idea is to be able to expose REST-like endpoints from the portal, in order to allow clients (mobile apps, JS clients, IoT devices) to easily consume the portal content.
But this isn't only a way to do "more fancy" HTTP calls: it's the first step for us to be able to add useful features for all HTTP endpoints (aka remote services): endpoint versioning, quotas management, different caching or security strategies, different serializers (did I say protobuf?), etc.
As a nice side effect, if the HTTP API is more polite, then the MobileSDK is not necessary anymore, as Bruno said.
Regards!
Denis Signoretto,修改在8 年前。
RE: Modbile SDK and new Liferay 7 JAX-RS support
Expert 帖子: 375 加入日期: 09-4-21 最近的帖子Jose M. Navarro:
Hey Denis,
As a nice side effect, if the HTTP API is more polite, then the MobileSDK is not necessary anymore, as Bruno said.
Regards!
Hi Guys,
thank you all for the info and clarifications. I'll stay tuned on this thread to understand what is moving on Liferay 7 and related enhancements on Mobile front.
About Mobile SDK alternatives for full REST services, do you have something to suggest for iOS ?
Thanks!!!
Denis.
Jose M. Navarro,修改在8 年前。
RE: Modbile SDK and new Liferay 7 JAX-RS support
Regular Member 帖子: 138 加入日期: 14-1-24 最近的帖子Denis Signoretto:
About Mobile SDK alternatives for full REST services, do you have something to suggest for iOS ?
Denis.
I don't know any direct translation for iOS.
Probably the closest thing is a mixture of Alamofire/AFNetworking together with Mantle.
Also have a look at Restless, but I didn't used before.
It's too bad we don't have Retrofit for iOS (:
Jose M. Navarro,修改在8 年前。