[prev in list] [next in list] [prev in thread] [next in thread] 

List:       moblin-dev
Subject:    Re: [Moblin Dev] Web service library on Moblin?
From:       Jeremiah Foster <jeremiah.foster () pelagicore ! com>
Date:       2010-01-25 14:52:08
Message-ID: 7C522DA9-BB2A-47DB-9D12-DE5D49A7D449 () pelagicore ! com
[Download RAW message or body]


On Jan 25, 2010, at 2:53 PM, Min, Hongbo wrote:
> 
> I want to setup a web service server on Moblin device which doesn't depend on other \
> external libraries(not in Moblin distro).

A "web server" and a "web service" are two different things. Usually, you can set up \
a web server to serve your service. But often your service depends on a specific type \
of server. For example, if you want to just serve a fastcgi instance for a RoR \
service, you'll need to install software that allows you to do both Rails \
applications and fast cgi. 

> I am not sure whether there is a existing library for this purpose on Moblin \
> distro. By this mean, a RPC mechanism based on web service can be implemented and \
> so developer can execute RPC API on Moblin device from PC host remotely. I am \
> investigating whether this solution is feasible for RPC implementation on MID.

RPC usually stands for "Remote Procedure Call." There are a lot ways to do that - \
using port 80 and a web server is just one way. It helps if you specify EXACTLY what \
you want to do. Like, I want to execute a database command or I want to squirellize \
the cat tray.

> 
> The purpose is actually, we want to build a Remote API framework for Moblin-based \
> MID. These APIs covers file system operations, application manager, so they allow \
> PC application to access file or install application on device.

Sounds like you want to use yum or some form of yum automation. But I will tell you \
right now, I wouldn't let you do this on my machine. You will need the root password \
to install and application on a client machine, and you are unlikely to ever get that \
from a security conscious user.

> 3rd software vendor is able to develop PC applications to communicate with MID by \
> means of invoking Remote API from PC host. A typical usage scenario is to develop a \
> Backup/Restore application based on these APIs. 
> I have read http://moblin.org/projects/mojito and found that it is just a web \
> service client which wraps some operations to send requests to external webservice \
> server, such as Flickr, Twitter. This is not what I want. 
> Any suggestions or feedbacks are welcome and appreciated.

You are going to have to be much more specific. And you most likely are going to have \
to do some of the coding yourself. It sounds like you want to do some kind of remote \
archiving. But this sort of thing, i.e. client / server programming, is non-trivial, \
though there are tons of working tools available and Linux is very good at this sort \
of thing.

Jeremiah

> 
> Hongbo
> 
> -----Original Message-----
> From: dev-bounces@moblin.org [mailto:dev-bounces@moblin.org] On Behalf Of Herriot, \
>                 Nicholas, VF-Group
> Sent: Monday, January 25, 2010 5:51 PM
> To: dev@moblin.org
> Subject: Re: [Moblin Dev] Web service library on Moblin?
> 
> Hi, Hongbo,
> 
> There is also a nice article on Moblin to get started with in the Linux
> Developer mag.
> 
> It's issue 82 Dec, page 72. It goes through all the basics and talks
> about the toolkits including Mojito.
> 
> 
> Kind regards, Nicholas.
> 
> 
> 
> 
> -----Original Message-----
> From: dev-bounces@moblin.org [mailto:dev-bounces@moblin.org] On Behalf
> Of dev-request@moblin.org
> Sent: 22 January 2010 15:05
> To: dev@moblin.org
> Subject: dev Digest, Vol 13, Issue 43
> 
> Send dev mailing list submissions to
> dev@moblin.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.moblin.org/listinfo/dev
> or, via email, send a message with subject or body 'help' to
> dev-request@moblin.org
> 
> You can reach the person managing the list at
> dev-owner@moblin.org
> 
> When replying, please edit your Subject line so it is more specific than
> "Re: Contents of dev digest..."
> 
> 
> Today's Topics:
> 
> 1. Unsubscibe please. (Mike Laurel)
> 2. how to get started? (Arthur Hsiao)
> 3. compiling kernel (Monika Regneri)
> 4. Web service library on Moblin? (Min, Hongbo)
> 5. Re: Web service library on Moblin? (Yang, Lei A)
> 6. Re: Web service library on Moblin? (Min, Hongbo)
> 7. Re: Web service library on Moblin? (Yang, Lei A)
> 8. Re: Web service library on Moblin? (Ross Burton)
> 9. Re: Application service layer with driver? (nicepat@gmail.com)
> 10. Re: compiling kernel (Arjan van de Ven)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 21 Jan 2010 17:26:08 -0800
> From: Mike Laurel <mlaurel@mac.com>
> To: "dev@moblin.org" <dev@moblin.org>
> Subject: [Moblin Dev] Unsubscibe please.
> Message-ID: <BE13E04E-9882-4F16-B135-2A00012994FA@mac.com>
> Content-Type: text/plain; charset=us-ascii; format=flowed
> 
> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Thu, 21 Jan 2010 23:02:17 -0800
> From: Arthur Hsiao <ahsiao123@gmail.com>
> To: dev@moblin.org
> Subject: [Moblin Dev] how to get started?
> Message-ID:
> <fd025d81001212302w347eb192pa7cfab12c3d2ebb2@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Maybe it is kind of off topic here, but I really need some help.  Our
> company uses ARM9+Monta Vista Linux now, but we feel Intel Menlow
> XL+MOBLIN will be better for our next generation prouct (eMID).  Can
> someone recommend where I can purchase its reference board
> (+schematitcs)?  Most of our engineers are located in China.  We are
> still quite small, so we can't afford lots of money.  By the way, what
> is the best MOBLIN bsp for Menlow XL that I can download to get started?
> What about BIOS?
> 
> Thanks in advance.
> 
> Ta Hsiao
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Fri, 22 Jan 2010 08:22:40 +0100
> From: Monika Regneri <mregneri@creatix.de>
> To: dev@moblin.org
> Subject: [Moblin Dev] compiling kernel
> Message-ID: <4B595240.6070406@creatix.de>
> Content-Type: text/plain; charset=UTF-8; format=flowed
> 
> Dear all,
> 
> I want to compile the kernel because I need some more functions for usb
> webcams. But "make prepare" is stopped with "no rule to make target
> `missing syscalls?."
> 
> I installed the kernel-headers for 2.6.31.6-17.1 and the "devel" package
> for this.
> 
> Does anyone have an idea what the problem is?
> 
> regards
> Monika
> 
> --
> 
> R&D, Network Administration
> Creatix Polymedia
> Gesellschaft f?r Kommunikationssysteme mbH Kastanienweg 11-13; D - 66386
> St. Ingbert
> ------------------------------------------------------------------------
> -----------------------------------------------------
> Gesch?ftsf?hrer: Roland Weller, Wolfgang Schmidt Handelsregister
> Saarbr?cken HRB 11345
> USt-IdNr.: DE 812511831
> ------------------------------------------------------------------------
> -----------------------------------------------------
> Tel: +49 6894 92967 56
> Fax: +49 6894 92967 10
> email: mregneri@creatix.de
> 
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Fri, 22 Jan 2010 15:29:23 +0800
> From: "Min, Hongbo" <hongbo.min@intel.com>
> To: "dev@moblin.org" <dev@moblin.org>
> Subject: [Moblin Dev] Web service library on Moblin?
> Message-ID:
> 
> <EB8593BCECAB3D40A8248BE0B6400A38359AA1DB@shzsmsx502.ccr.corp.intel.com>
> 
> Content-Type: text/plain; charset="us-ascii"
> 
> Is there any library for web service provided on Moblin? Thanks.
> 
> Best Regards.
> Hongbo
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Fri, 22 Jan 2010 15:37:26 +0800
> From: "Yang, Lei A" <lei.a.yang@intel.com>
> To: "Min, Hongbo" <hongbo.min@intel.com>, "dev@moblin.org"
> <dev@moblin.org>
> Subject: Re: [Moblin Dev] Web service library on Moblin?
> Message-ID:
> 
> <D9A17B578FBED845A729B465C3A7FBAD0EFAEE8BB8@shzsmsx501.ccr.corp.intel.co
> m>
> 
> Content-Type: text/plain; charset="us-ascii"
> 
> Hi, Hongdo,
> 
> What kind of web service you want?
> 
> Moblin have a library, called "mojito", to handle web services: lastfm
> and twitter.
> The mojito is based on library "rest" to communicate to low level
> libraries "libproxy" and "libsoup", which actually communicate to web
> server for getting web service.
> 
> More information, please read http://moblin.org/projects/mojito
> 
> Thanks,
> Lei Y
> 
> -----Original Message-----
> From: dev-bounces@moblin.org [mailto:dev-bounces@moblin.org] On Behalf
> Of Min, Hongbo
> Sent: Friday, January 22, 2010 3:29 PM
> To: dev@moblin.org
> Subject: [Moblin Dev] Web service library on Moblin?
> 
> Is there any library for web service provided on Moblin? Thanks.
> 
> Best Regards.
> Hongbo
> _______________________________________________
> Moblin dev Mailing List
> dev@moblin.org
> 
> To manage or unsubscribe from this mailing list visit:
> http://lists.moblin.org/listinfo/dev or your user account on
> http://moblin.org once logged in.
> 
> For more information on the Moblin Developer Mailing lists visit:
> http://moblin.org/community/mailing-lists
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Fri, 22 Jan 2010 15:40:25 +0800
> From: "Min, Hongbo" <hongbo.min@intel.com>
> To: "Yang, Lei A" <lei.a.yang@intel.com>, "dev@moblin.org"
> <dev@moblin.org>
> Subject: Re: [Moblin Dev] Web service library on Moblin?
> Message-ID:
> 
> <EB8593BCECAB3D40A8248BE0B6400A38359AA1EF@shzsmsx502.ccr.corp.intel.com>
> 
> Content-Type: text/plain; charset="us-ascii"
> 
> Thanks.
> 
> The web service library that I want is, I can build a web service server
> on Moblin based on it, and also I can develop a client based on it. In a
> short, I want to develop a C/S framework based on it to implement RPC.
> 
> -----Original Message-----
> From: Yang, Lei A
> Sent: Friday, January 22, 2010 3:37 PM
> To: Min, Hongbo; dev@moblin.org
> Subject: RE: Web service library on Moblin?
> 
> Hi, Hongdo,
> 
> What kind of web service you want?
> 
> Moblin have a library, called "mojito", to handle web services: lastfm
> and twitter.
> The mojito is based on library "rest" to communicate to low level
> libraries "libproxy" and "libsoup", which actually communicate to web
> server for getting web service.
> 
> More information, please read http://moblin.org/projects/mojito
> 
> Thanks,
> Lei Y
> 
> -----Original Message-----
> From: dev-bounces@moblin.org [mailto:dev-bounces@moblin.org] On Behalf
> Of Min, Hongbo
> Sent: Friday, January 22, 2010 3:29 PM
> To: dev@moblin.org
> Subject: [Moblin Dev] Web service library on Moblin?
> 
> Is there any library for web service provided on Moblin? Thanks.
> 
> Best Regards.
> Hongbo
> _______________________________________________
> Moblin dev Mailing List
> dev@moblin.org
> 
> To manage or unsubscribe from this mailing list visit:
> http://lists.moblin.org/listinfo/dev or your user account on
> http://moblin.org once logged in.
> 
> For more information on the Moblin Developer Mailing lists visit:
> http://moblin.org/community/mailing-lists
> 
> 
> ------------------------------
> 
> Message: 7
> Date: Fri, 22 Jan 2010 17:11:38 +0800
> From: "Yang, Lei A" <lei.a.yang@intel.com>
> To: "Min, Hongbo" <hongbo.min@intel.com>, "dev@moblin.org"
> <dev@moblin.org>
> Subject: Re: [Moblin Dev] Web service library on Moblin?
> Message-ID:
> 
> <D9A17B578FBED845A729B465C3A7FBAD0EFAEE8C8D@shzsmsx501.ccr.corp.intel.co
> m>
> 
> Content-Type: text/plain; charset="us-ascii"
> 
> Hongbo,
> 
> Sorry, I have no idea for this.
> I think this may depend on the environment which you implement the web
> services.
> Suggest that you describe more concrete requirements about web service
> development.
> This will be helpful to be understood by the experts in the mail list.
> 
> Thanks,
> Lei Y
> 
> -----Original Message-----
> From: Min, Hongbo
> Sent: Friday, January 22, 2010 3:40 PM
> To: Yang, Lei A; dev@moblin.org
> Subject: RE: Web service library on Moblin?
> 
> Thanks.
> 
> The web service library that I want is, I can build a web service server
> on Moblin based on it, and also I can develop a client based on it. In a
> short, I want to develop a C/S framework based on it to implement RPC.
> 
> -----Original Message-----
> From: Yang, Lei A
> Sent: Friday, January 22, 2010 3:37 PM
> To: Min, Hongbo; dev@moblin.org
> Subject: RE: Web service library on Moblin?
> 
> Hi, Hongdo,
> 
> What kind of web service you want?
> 
> Moblin have a library, called "mojito", to handle web services: lastfm
> and twitter.
> The mojito is based on library "rest" to communicate to low level
> libraries "libproxy" and "libsoup", which actually communicate to web
> server for getting web service.
> 
> More information, please read http://moblin.org/projects/mojito
> 
> Thanks,
> Lei Y
> 
> -----Original Message-----
> From: dev-bounces@moblin.org [mailto:dev-bounces@moblin.org] On Behalf
> Of Min, Hongbo
> Sent: Friday, January 22, 2010 3:29 PM
> To: dev@moblin.org
> Subject: [Moblin Dev] Web service library on Moblin?
> 
> Is there any library for web service provided on Moblin? Thanks.
> 
> Best Regards.
> Hongbo
> _______________________________________________
> Moblin dev Mailing List
> dev@moblin.org
> 
> To manage or unsubscribe from this mailing list visit:
> http://lists.moblin.org/listinfo/dev or your user account on
> http://moblin.org once logged in.
> 
> For more information on the Moblin Developer Mailing lists visit:
> http://moblin.org/community/mailing-lists
> 
> 
> ------------------------------
> 
> Message: 8
> Date: Fri, 22 Jan 2010 10:15:03 +0000
> From: Ross Burton <ross@burtonini.com>
> To: dev@moblin.org
> Subject: Re: [Moblin Dev] Web service library on Moblin?
> Message-ID: <1264155303.2464.30.camel@flashheart.burtonini.com>
> Content-Type: text/plain; charset="UTF-8"
> 
> On Fri, 2010-01-22 at 15:40 +0800, Min, Hongbo wrote:
> > The web service library that I want is, I can build a web service
> > server on Moblin based on it, and also I can develop a client based on
> 
> > it. In a short, I want to develop a C/S framework based on it to
> > implement RPC.
> 
> Moblin doesn't have anything for building web *servers*, but it's a
> fairly standard Linux base so you can easily install something like
> Django.
> 
> Ross
> --
> Ross Burton                                 mail: ross@burtonini.com
> jabber: ross@burtonini.com
> www: http://burtonini.com
> 
> 
> 
> 
> ------------------------------
> 
> Message: 9
> Date: Fri, 22 Jan 2010 06:58:51 -0800
> From: "nicepat@gmail.com" <nicepat@gmail.com>
> To: "Kok, Auke" <auke-jan.h.kok@intel.com>
> Cc: "dev@moblin.org" <dev@moblin.org>
> Subject: Re: [Moblin Dev] Application service layer with driver?
> Message-ID:
> <7ea636971001220658m4048713fs7543840d5736bb78@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> if I like to re-design and re-implement those daemons. can you point me
> where the code exists?
> And I like to know if the kernel compilation and service layer sw stack
> compilation falles into our existing moblin image creation. or, do I
> need just to follow the generic compilation procedure?
> 
> Thanks
> 
> On Thu, Jan 21, 2010 at 9:47 AM, Kok, Auke <auke-jan.h.kok@intel.com>
> wrote:
> > nicepat@gmail.com wrote:
> > > Hello,
> > > 
> > > I like to ask a question about the moblin software stack diagram.
> > > There are two layers on top of kernel, App services and UI services.
> > > App Services has the WiFi/WiMAX (Drivers, OMA-DM). I understand
> > > OMA-DA falls into this area, but not sure if 'drivers' is in. As far
> > > as I know, WiFi/WiMAX drivers are in kernel mode. I see the source
> > > code location of WiFi/WiMAX in the moblin kernel source.
> > 
> > yes, in general, the drivers are all in the kernel. the "layer" on top
> 
> > of the kernel is for interfacing daemons that do low level device
> > control from userspace, like the wimax daemon.
> > 
> > Auke
> > 
> 
> 
> ------------------------------
> 
> Message: 10
> Date: Fri, 22 Jan 2010 07:04:47 -0800
> From: Arjan van de Ven <arjan@linux.intel.com>
> To: Monika Regneri <mregneri@creatix.de>
> Cc: dev@moblin.org
> Subject: Re: [Moblin Dev] compiling kernel
> Message-ID: <4B59BE8F.3090809@linux.intel.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
> 
> On 1/21/2010 23:22, Monika Regneri wrote:
> > Dear all,
> > 
> > I want to compile the kernel because I need some more functions for
> > usb webcams. But "make prepare" is stopped with "no rule to make
> > target `missing syscalls?."
> > 
> > I installed the kernel-headers for 2.6.31.6-17.1 and the "devel"
> > package for this.
> > 
> > Does anyone have an idea what the problem is?
> 
> 
> the problem is that you didn't get the kernel sources...
> 
> to build the kernel you need to start with the kernel .src.rpm
> 
> 
> ------------------------------
> 
> Moblin dev Mailing List
> dev@moblin.org
> 
> To manage or unsubscribe from this mailing list visit:
> http://lists.moblin.org/listinfo/dev or your user account on
> http://moblin.org once logged in.
> 
> For more information on the Moblin Developer Mailing lists visit:
> http://moblin.org/community/mailing-lists
> 
> End of dev Digest, Vol 13, Issue 43
> ***********************************
> _______________________________________________
> Moblin dev Mailing List
> dev@moblin.org
> 
> To manage or unsubscribe from this mailing list visit:
> http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once \
> logged in. 
> For more information on the Moblin Developer Mailing lists visit:
> http://moblin.org/community/mailing-lists
> _______________________________________________
> Moblin dev Mailing List
> dev@moblin.org
> 
> To manage or unsubscribe from this mailing list visit:
> http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once \
> logged in. 
> For more information on the Moblin Developer Mailing lists visit:
> http://moblin.org/community/mailing-lists


=============================================
Jeremiah C. Foster	
Software Developer
Pelagicore AB
Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden
Mobile: +46 (0)730 93 0506
E-Mail: jeremiah.foster@pelagicore.com
=============================================

=== NOTE ===
The information contained in this E-mail message is
intended only for use of the individual or entity
named above. If the reader of this message  is not
the intended recipient, or the employee or agent
responsible to deliver it to the intended recipient,
you are hereby notified that any dissemination,
distribution or copying of this communication is
strictly prohibited.
=============

_______________________________________________
Moblin dev Mailing List
dev@moblin.org

To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once \
logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic