Hi, stadelmann Thanks for your kind explains. I knew how to cross development on my board. I already ported many libraries, utils for my boards, sometimes it is quite easy and sometimes it took time. I also write a lot of c application on my board to make provide business functions.
Now, after you told that, I think I need to learn develop simple lighthttpd modules and port axis2/c as a lighttpd module. Sounds not an easy task, but I like to try. What supprised me is that I still need things othet than axis2/c and lighthttpd, you mentioned axiom, xml2lib already. Why I still need these even after if I already had axis2/c? Thanks. -woody On November 11, 2014 4:31:54 PM GMT+08:00, Stadelmann Josef <josef.stadelm...@axa-winterthur.ch> wrote: >Hi Woody > >Think of your development and runtime environment first. You go for an >ARM HW with some kind of a OS which has already lighttpd on board. OK. >I would follow this architecture. Learn how the modules for lighttpd >are developed, downloaded, engaged and debugged first. Do that with a >simple module. You will learn how to develop on a PC/Lab-Top for an >embedded device (isn't it?) Embedded devices consisting of ARM's and >other HW demand very specific development environments. Learn about >that first. If you master your first simple module, using your >development environment, you know almost how to cross compile for ARM, >how to debug your module, how do download firmware, how to debug it in >the simulator or on the real target HW/OS Environment.. Then you can >take others much more complex sources like the simple http axis2 >service engine é all, and cross compile it to become a lighttpd module. >I am saying that because you don't need only the Axis2/C simple server >but many of the lower level layers like Axiom and Axutil's xml2lib. Go >by debugger and look how they work. > >It depends on your architecture, HW/SW constraints, design you like, >flexibility, secureness, robustness, traffic, amounts, etc. etc. >It sounds OK for me for your trials; And if it fits for you, well done. >Just be aware that the Axis2/C simple http server is said not to be of >production server quality. > >The simple http server is in fact an Axis2 engine on top of a simple >http server, all written in C. > >I would also start first making my experiments solely on a PC / Lab-Top >for Axis2/C. If you make your services r7unning there Client and >server, you know again much more. Then add complexity by cross >compiling and moving things to a different environment, and setup for >remote debugging etc. > >My thoughts. Don't know how good you are already doing so. > >Josef > >From: Woody Wu [mailto:narkewo...@gmail.com] >Sent: Montag, 10. November 2014 15:52 >To: Apache AXIS C User List >Subject: Re: axis2/c on ARM with lighttpd > >Hi, Stadelmann > >How do you thing about the option (a) if I run lighttpd only for those >not so many static web pages on my device and run axis2/c only for >providing web services for my non-browser clients that run on PC? The >axis/2 and lighttpd could be running on totally separated http ports? >Do you think it's feasible? > > >On Tuesday, 4 November 2014, Stadelmann Josef ><josef.stadelm...@axa-winterthur.ch<mailto:josef.stadelm...@axa-winterthur.ch>> >wrote: >AFAIK >I think you have two options with Axis2/C > >a) a simple standalone http server (was called not production quality >in the past) >b) axis2/C as a module, which is then engaged/called by apache >webserver, to be adapted for lighttpd > >Then I think you need to have a closer look at where and what and how >apache web server engages/calls the axis2 module. >Then if you understand that, learn how lighttpd adapts a module, start >with something very simple, then take the relevant axis2/C >code/module to match/fit into your lighttpd web server as a module. > >So - dive deep into lighttpd and read >http://redmine.lighttpd.net/projects/1/wiki/HowToWriteALighttpdPlugin >because that is what you have to do anyway; > >In my mind you will very likely end up building your lighttpd yourself >from source code. > >Josef (without knowing lighttpd but said this from a raw architecture >point of view) > > > >-----Original Message----- >From: Woody Wu [mailto:narkewo...@gmail.com<javascript:;>] >Sent: Montag, 3. November 2014 14:58 >To: Apache AXIS C User List; e-tge >Subject: Re: axis2/c on ARM with lighttpd > > > >On November 3, 2014 5:00:20 PM GMT+08:00, e-tge ><t...@e-tge.de<javascript:;>> wrote: >> >>A few months ago I built Axis2C natively (i.e. directly on an ARM >Linux >>sys!) w/o any problems as far as I can remember. Works the usual way: >>1. Unpack sources >>2. ./configure >>3. make >>done. >>Possibly some build tools must be installed first. >> >>I never did any cross-compiling, hence cannot say anything about this, >>but would expect that this is basically a matter of specifying the >>right compiler flags (?) When running configure (use --help) you can >>set compiler flags. >> >That's a good news to me, sounds likely. Thanks! > >>Regarding lighttpd - no idea, but would be interesting to me too. >>Axis2c >>has an apache integration, so assuming lighthttpd supports the same >>module extension mechanism, it's probably the same/similar >> >>HTH :-) >> tge >> > >What modules that axis2/c requires from apache? > >>On So, 2014-11-02 at 16:13 +0800, Woody Wu wrote: >>> Hi, >>> >>> I want to choose a web service engine workable on my ARM+lighttpd >>environment. For axis2/c, it requires that axis2/c can be cross >>compiled for ARM and that the axis2/c does not require apache httpd >>itself as web server. Since I am quite new to axis2/c, could some be >>kind to clarify theses points for me? >>> >>> Thanks in advance. >>> >>> -woody, sent from mobile >>> >>> >--------------------------------------------------------------------- >>> To unsubscribe, e-mail: >c-user-unsubscr...@axis.apache.org<javascript:;> >>> For additional commands, e-mail: >c-user-h...@axis.apache.org<javascript:;> >>> > >-woody, sent from mobile > >--------------------------------------------------------------------- >To unsubscribe, e-mail: >c-user-unsubscr...@axis.apache.org<javascript:;> >For additional commands, e-mail: >c-user-h...@axis.apache.org<javascript:;> > > >-- >Sent from Gmail Mobile -woody, sent from mobile --------------------------------------------------------------------- To unsubscribe, e-mail: c-user-unsubscr...@axis.apache.org For additional commands, e-mail: c-user-h...@axis.apache.org