You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Milind Parikh <mi...@gmail.com> on 2009/01/23 06:39:07 UTC

ofBiz on Android and REST Webservices

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

Re: ofBiz on Android and REST Webservices

Posted by David E Jones <da...@hotwaxmedia.com>.
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 <david.jones@hotwaxmedia.com
>> 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@ofbiz.apache.org/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 <milindparikh@gmail.com
>>>> 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>


Re: ofBiz on Android and REST Webservices

Posted by Milind Parikh <mi...@gmail.com>.
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 <david.jones@hotwaxmedia.com
> 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@ofbiz.apache.org/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 <milindparikh@gmail.com
>> >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
>>>
>>>
>>>
>>>
>>>
>

Re: ofBiz on Android and REST Webservices

Posted by David E Jones <da...@hotwaxmedia.com>.
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@ofbiz.apache.org/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  
> <mi...@gmail.com>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
>>
>>
>>
>>


Re: ofBiz on Android and REST Webservices

Posted by Milind Parikh <mi...@gmail.com>.
Rereading a previous post [
http://www.mail-archive.com/user@ofbiz.apache.org/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 <mi...@gmail.com>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
>
>
>
>