[android-developers] Re: Tomcat on Android
For me, Tomcat is just an example of a complete implementation. For our application we just need HTTP, HTTPS, and some basic server instrumentation and logging to identify problems. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Tomcat on Android
Hi, Saw this as well - http://www.androidzoom.com/android_applications/communication/kws-android-web-server_hlfb.html Implementing a simple / custom webserver / appserver is pretty straight forward, don't understand why you'd need Tomcat (java servlet) capabilities ? Regards On Nov 6, 3:17 pm, Hal dsheppar...@gmail.com wrote: I'm afraid I agree with the previous postings. This looks difficult under Android Java, you may be better off by creating you own component server. I would recommend a server based on MDP messaging and sockets: MDP and a distributed Component/Service Modelhttps://jt.dev.java.net/files/documents/5553/149793/MDPdistributedMod... This runs on Android. It is also lighter and more efficient. Marc Fleury wrote: I have seen other threads on the topic, most notably one asking about tomcat/jboss on android. Anyway, I am actually interested in hearing if people have successfully ported tomcat on android? the use case for me would be www.openremote.org. We distribute a controller that is written in java6. I have actually started porting parts of it to Android and in doing so got to thinking we could port the whole thing to android. As a dedicated controller in the wall (forget screens and such, this is not an smart phone) it would be quite killer. Has anyone succeeded? maybe I haven't searched hard enough? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Tomcat on Android
My experience is that Jetty (http://www.mortbay.org/jetty/) tends to be a bit more lightweight than tomcat, and also a LOT easier to embed (it's basically just a JAR file). Or you could try this: http://tjws.sourceforge.net/ Haven't tried it myself, but looks like it's designed to be lightweight. Or.. maybe even better: http://code.google.com/p/i-jetty/ In either case it's likely to be: A) A battery killer due to much heavier resource usage than normal mobile apps B) Could be a performance problem if the container itself is allocating a lot of objects, and thus causing the GC to kick in. On Nov 5, 4:51 pm, Miguel Morales therevolti...@gmail.com wrote: All I gotta ask is, why? I'd imagine Tomcat is not written to be run in embedded/legacy devices such as an android device. You'd be wasting a lot of memory and cpu cycles. I guess if it's a wall mounted device, it might be ok. But at that point why not just use a PC of sorts and use some linux distribution and use your app as is, why even use Android at all? I really don't see a case where this is desirable. On Thu, Nov 4, 2010 at 10:35 PM, Bret Foreman bret.fore...@gmail.com wrote: I've been looking into this too. We have an industrial embedded control application that I'd like to run on Android and control from a remote browser. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- ~ Jeremiah:9:23-24 Android 2D MMORPG:http://developingthedream.blogspot.com/,http://www.youtube.com/user/revoltingx -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Tomcat on Android
I guess if it's a wall mounted device, it might be ok. But at that point why not just use a PC of sorts and use some linux distribution and use your app as is, why even use Android at all? You would be surprised how difficult it is to get a decent ARM based fanless PC with a stable linux and working JVM. We have been working on it at www.openremote.org and you can find it but it is hard to do and then distribution is a headache. These are part of the reason why we are looking for an android based server (in the wall). Also I think the prices will be go down quickly due to economies of scale. IT then may be a decent server platform. But yeah, I got to weight the difficulty of porting against the joy of an in-wall android. I got to admit that porting is complicated and was full of nasty surprises for me :(. This is not java, the libraries, this is android-java, unfortunately a different beast. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Tomcat on Android
Thanks Jason. Very useful. i-jetty looks quite interesting run as a service on android and may just be the ticket. I may also contact the tjws guy see if he is porting to android. On A/ this is meant for an in-wall device so no issues of power. Thanks again. MF On Nov 5, 7:20 am, Jason jason.poli...@gmail.com wrote: My experience is that Jetty (http://www.mortbay.org/jetty/) tends to be a bit more lightweight than tomcat, and also a LOT easier to embed (it's basically just a JAR file). Or you could try this: http://tjws.sourceforge.net/ Haven't tried it myself, but looks like it's designed to be lightweight. Or.. maybe even better: http://code.google.com/p/i-jetty/ In either case it's likely to be: A) A battery killer due to much heavier resource usage than normal mobile apps B) Could be a performance problem if the container itself is allocating a lot of objects, and thus causing the GC to kick in. On Nov 5, 4:51 pm, Miguel Morales therevolti...@gmail.com wrote: All I gotta ask is, why? I'd imagine Tomcat is not written to be run in embedded/legacy devices such as an android device. You'd be wasting a lot of memory and cpu cycles. I guess if it's a wall mounted device, it might be ok. But at that point why not just use a PC of sorts and use some linux distribution and use your app as is, why even use Android at all? I really don't see a case where this is desirable. On Thu, Nov 4, 2010 at 10:35 PM, Bret Foreman bret.fore...@gmail.com wrote: I've been looking into this too. We have an industrial embedded control application that I'd like to run on Android and control from a remote browser. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- ~ Jeremiah:9:23-24 Android 2D MMORPG:http://developingthedream.blogspot.com/,http://www.youtube.com/user/r... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Tomcat on Android
Hello Marc and Bret would be nice, if you could describe what you try to do ?! Currently the easiest thing for you would be i-jetty, the android port of jetty from WebTide Look here : http://code.google.com/p/i-jetty/ And after that provide your impressions to the community. Thanks ! Frank On 5 Nov., 09:17, Marc Fleury marcf...@gmail.com wrote: I guess if it's a wall mounted device, it might be ok. But at that point why not just use a PC of sorts and use some linux distribution and use your app as is, why even use Android at all? You would be surprised how difficult it is to get a decent ARM based fanless PC with a stable linux and working JVM. We have been working on it atwww.openremote.organd you can find it but it is hard to do and then distribution is a headache. These are part of the reason why we are looking for an android based server (in the wall). Also I think the prices will be go down quickly due to economies of scale. IT then may be a decent server platform. But yeah, I got to weight the difficulty of porting against the joy of an in-wall android. I got to admit that porting is complicated and was full of nasty surprises for me :(. This is not java, the libraries, this is android-java, unfortunately a different beast. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Tomcat on Android
What we need is something with built-in 3G and WiFi, a small touch- screen, low power consumption, fan-less, and able to tolerate frequent power cycling. It should also have a large installed base (millions), lots of developers familiar with it, and the hardware should be available from a number of vendors. And it should cost under $200 in quantity. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Tomcat on Android
Also, an integrated database designed to run on top of NV memory would be helpful. On Nov 5, 8:53 am, Bret Foreman bret.fore...@gmail.com wrote: What we need is something with built-in 3G and WiFi, a small touch- screen, low power consumption, fan-less, and able to tolerate frequent power cycling. It should also have a large installed base (millions), lots of developers familiar with it, and the hardware should be available from a number of vendors. And it should cost under $200 in quantity. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Tomcat on Android
I'm afraid I agree with the previous postings. This looks difficult under Android Java, you may be better off by creating you own component server. I would recommend a server based on MDP messaging and sockets: MDP and a distributed Component/Service Model https://jt.dev.java.net/files/documents/5553/149793/MDPdistributedModel.pdf This runs on Android. It is also lighter and more efficient. Marc Fleury wrote: I have seen other threads on the topic, most notably one asking about tomcat/jboss on android. Anyway, I am actually interested in hearing if people have successfully ported tomcat on android? the use case for me would be www.openremote.org. We distribute a controller that is written in java6. I have actually started porting parts of it to Android and in doing so got to thinking we could port the whole thing to android. As a dedicated controller in the wall (forget screens and such, this is not an smart phone) it would be quite killer. Has anyone succeeded? maybe I haven't searched hard enough? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Tomcat on Android
I've been looking into this too. We have an industrial embedded control application that I'd like to run on Android and control from a remote browser. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Tomcat on Android
All I gotta ask is, why? I'd imagine Tomcat is not written to be run in embedded/legacy devices such as an android device. You'd be wasting a lot of memory and cpu cycles. I guess if it's a wall mounted device, it might be ok. But at that point why not just use a PC of sorts and use some linux distribution and use your app as is, why even use Android at all? I really don't see a case where this is desirable. On Thu, Nov 4, 2010 at 10:35 PM, Bret Foreman bret.fore...@gmail.com wrote: I've been looking into this too. We have an industrial embedded control application that I'd like to run on Android and control from a remote browser. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://developingthedream.blogspot.com/, http://www.youtube.com/user/revoltingx -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en