ofBiz on Android and REST Webservices

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

ofBiz on Android and REST Webservices

Milind P
I am very near to delivering ofBiz on Android. This would be native port
(not just building web pages that could be visible on an Android Browser)
because of certain requirements. [such as displaying customers that are near
my current location through LBS]

All mobile devices will require REST as opposed to SOAP bc of fundamental
overhead of SOAP. Hence I am building a SOAP "proxy" through restlet. The
REST API would look like [http://<server>/rest/customer/1/contact/1 ] etc...
http://www.restlet.org/ is LGPL 2.0, 3.0 and CDDL. Is LGPL compatible with
OfBiz ? Or would this need to be another "plugin"?

Regards
-- Milind
Reply | Threaded
Open this post in threaded view
|

Re: ofBiz on Android and REST Webservices

Milind P
Rereading a previous post [
http://www.mail-archive.com/user@.../msg14879.html], I believe
that LGPL would be compatible with OfBiz. Sorry for the noise.



On Thu, Jan 22, 2009 at 9:39 PM, Milind Parikh <[hidden email]>wrote:

> I am very near to delivering ofBiz on Android. This would be native port
> (not just building web pages that could be visible on an Android Browser)
> because of certain requirements. [such as displaying customers that are near
> my current location through LBS]
>
> All mobile devices will require REST as opposed to SOAP bc of fundamental
> overhead of SOAP. Hence I am building a SOAP "proxy" through restlet. The
> REST API would look like [http://<server>/rest/customer/1/contact/1 ]
> etc... http://www.restlet.org/ is LGPL 2.0, 3.0 and CDDL. Is LGPL
> compatible with OfBiz ? Or would this need to be another "plugin"?
>
> Regards
> -- Milind
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: ofBiz on Android and REST Webservices

David E Jones-3

I'm not sure what Adrian meant by this: "With a LGPL license we could  
bundle ZK with OFBiz."

We can include code that uses LGPL libraries in OFBiz, whereas we  
cannot include code that uses GPL libraries. However, we can't include  
the LGPL library files themselves.

There are quite a few of these optionally used with OFBiz, but we try  
to avoid them wherever possible. For more info and examples see the  
OPTIONAL_LIBRARIES file in the ofbiz home/root directory.

-David


On Jan 22, 2009, at 11:44 PM, Milind Parikh wrote:

> Rereading a previous post [
> http://www.mail-archive.com/user@.../msg14879.html], I  
> believe
> that LGPL would be compatible with OfBiz. Sorry for the noise.
>
>
>
> On Thu, Jan 22, 2009 at 9:39 PM, Milind Parikh  
> <[hidden email]>wrote:
>
>> I am very near to delivering ofBiz on Android. This would be native  
>> port
>> (not just building web pages that could be visible on an Android  
>> Browser)
>> because of certain requirements. [such as displaying customers that  
>> are near
>> my current location through LBS]
>>
>> All mobile devices will require REST as opposed to SOAP bc of  
>> fundamental
>> overhead of SOAP. Hence I am building a SOAP "proxy" through  
>> restlet. The
>> REST API would look like [http://<server>/rest/customer/1/contact/1 ]
>> etc... http://www.restlet.org/ is LGPL 2.0, 3.0 and CDDL. Is LGPL
>> compatible with OfBiz ? Or would this need to be another "plugin"?
>>
>> Regards
>> -- Milind
>>
>>
>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: ofBiz on Android and REST Webservices

Milind P
The approach, as outlined by you, would work for the REST WS for ofbiz as
per the current thinking.

Are you (or anyone else) aware about any other effort that tries to bring in
REST WSs into OfBiz through APL schemes (instead of LGPL which should be
avoided)?

Regards
-- Milind



On Thu, Jan 22, 2009 at 11:07 PM, David E Jones <[hidden email]
> wrote:

>
> I'm not sure what Adrian meant by this: "With a LGPL license we could
> bundle ZK with OFBiz."
>
> We can include code that uses LGPL libraries in OFBiz, whereas we cannot
> include code that uses GPL libraries. However, we can't include the LGPL
> library files themselves.
>
> There are quite a few of these optionally used with OFBiz, but we try to
> avoid them wherever possible. For more info and examples see the
> OPTIONAL_LIBRARIES file in the ofbiz home/root directory.
>
> -David
>
>
>
> On Jan 22, 2009, at 11:44 PM, Milind Parikh wrote:
>
>  Rereading a previous post [
>> http://www.mail-archive.com/user@.../msg14879.html], I
>> believe
>> that LGPL would be compatible with OfBiz. Sorry for the noise.
>>
>>
>>
>> On Thu, Jan 22, 2009 at 9:39 PM, Milind Parikh <[hidden email]
>> >wrote:
>>
>>  I am very near to delivering ofBiz on Android. This would be native port
>>> (not just building web pages that could be visible on an Android Browser)
>>> because of certain requirements. [such as displaying customers that are
>>> near
>>> my current location through LBS]
>>>
>>> All mobile devices will require REST as opposed to SOAP bc of fundamental
>>> overhead of SOAP. Hence I am building a SOAP "proxy" through restlet. The
>>> REST API would look like [http://<server>/rest/customer/1/contact/1 ]
>>> etc... http://www.restlet.org/ is LGPL 2.0, 3.0 and CDDL. Is LGPL
>>> compatible with OfBiz ? Or would this need to be another "plugin"?
>>>
>>> Regards
>>> -- Milind
>>>
>>>
>>>
>>>
>>>
>
Reply | Threaded
Open this post in threaded view
|

Re: ofBiz on Android and REST Webservices

David E Jones-3

While different approaches, you should find what you need in either  
Apache CXF or Apache ServiceMix.

-David


On Jan 23, 2009, at 12:24 AM, Milind Parikh wrote:

> The approach, as outlined by you, would work for the REST WS for  
> ofbiz as
> per the current thinking.
>
> Are you (or anyone else) aware about any other effort that tries to  
> bring in
> REST WSs into OfBiz through APL schemes (instead of LGPL which  
> should be
> avoided)?
>
> Regards
> -- Milind
>
>
>
> On Thu, Jan 22, 2009 at 11:07 PM, David E Jones <[hidden email]
>> wrote:
>
>>
>> I'm not sure what Adrian meant by this: "With a LGPL license we could
>> bundle ZK with OFBiz."
>>
>> We can include code that uses LGPL libraries in OFBiz, whereas we  
>> cannot
>> include code that uses GPL libraries. However, we can't include the  
>> LGPL
>> library files themselves.
>>
>> There are quite a few of these optionally used with OFBiz, but we  
>> try to
>> avoid them wherever possible. For more info and examples see the
>> OPTIONAL_LIBRARIES file in the ofbiz home/root directory.
>>
>> -David
>>
>>
>>
>> On Jan 22, 2009, at 11:44 PM, Milind Parikh wrote:
>>
>> Rereading a previous post [
>>> http://www.mail-archive.com/user@.../msg14879.html], I
>>> believe
>>> that LGPL would be compatible with OfBiz. Sorry for the noise.
>>>
>>>
>>>
>>> On Thu, Jan 22, 2009 at 9:39 PM, Milind Parikh <[hidden email]
>>>> wrote:
>>>
>>> I am very near to delivering ofBiz on Android. This would be  
>>> native port
>>>> (not just building web pages that could be visible on an Android  
>>>> Browser)
>>>> because of certain requirements. [such as displaying customers  
>>>> that are
>>>> near
>>>> my current location through LBS]
>>>>
>>>> All mobile devices will require REST as opposed to SOAP bc of  
>>>> fundamental
>>>> overhead of SOAP. Hence I am building a SOAP "proxy" through  
>>>> restlet. The
>>>> REST API would look like [http://<server>/rest/customer/1/contact/
>>>> 1 ]
>>>> etc... http://www.restlet.org/ is LGPL 2.0, 3.0 and CDDL. Is LGPL
>>>> compatible with OfBiz ? Or would this need to be another "plugin"?
>>>>
>>>> Regards
>>>> -- Milind
>>>>
>>>>
>>>>
>>>>
>>>>
>>