Re: any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-24 Thread Albretch Mueller
>>  If using Java Web Start would not require any Java on the back end
>> whatsoever, then Marinilli on this JNLP wouldn't have dedicated a
>> chapter to it ;-)

>I'm curious - what functionality is required to serve JNLP apps - is
>there something more than HTTP requests?
~
 for example the jardiff thing I found great and it is part of JNLP,
not just HTTP
~
// __ And What About This JARDiff Stuff?
~
 informit.com/articles/article.aspx?p=25044&seqNum=6
~
 JARDiff is a mechanism for updating incrementally JAR files. It is a
part of the JNLP specification, but it can be used outside usual JNLP
deployment as well. Figure 4 shows its mechanism.
 Figure 4 The JARDiff working mechanism.
 
http://ptgmedia.pearsoncmg.com/images/art_marinilli2B_jnlptutorial2/elementLinks/marinilli2B_fig04.gif
 As discussed, the JARDiff format is a way to perform incremental
updates to a JAR file. It consists of a special JAR file sent to the
client, which describes the differences between two JAR files—OldJAR
and NewJAR, for example.
 The differencing information is stored in the META-INF/INDEX.JD text
file, which describes the copies of new or changed files in the NewJAR
file relative to the OldJAR file.
 The file is composed of lines  space . The first line
describes the JARDiff format version (currently 1.0):
 version 
 And following are lines of two types:
 remove 
 move  .
 They describe the differences between the already installed OldJAR
file and the to-be-installed NewJAR file.
 The following sections summarize the pros and cons of using JNLP.
~
 Perhaps those mobile apps are so small and selfcontained that
jardiffs don't make any sense. Users would just download the new
application instead of diff'ing it
~
 lbrtchx

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-23 Thread Pid
On 23/10/2012 21:14, Albretch Mueller wrote:
>> Using Java Web Start does not require any Java on the backend
>> whatsoever. You can serve a Java Web Start app from a vanilla IIS with
>> no dynamic content at all. So, Tomcat itself has really nothing to do
>> with it all.
> ~
>  Not quite. The JNLP/java did most of the work itself, but if you use
> advanced server support with elaborate versioning descriptors you have
> to declare and handle the logical (URL) to physical (file system)
> mapping, declare new mime types for jardiff functionality, handle
> Locale related issues, ...

All of that seems like things that can be handled with Apache HTTPD.


>  If using Java Web Start would not require any Java on the back end
> whatsoever, then Marinilli on this JNLP wouldn't have dedicated a
> chapter to it ;-)

I'm curious - what functionality is required to serve JNLP apps - is
there something more than HTTP requests?


p

>> Is he asking if Tomcat has an AppStore for JNLP apps?
> ~
>>> I *think* he's asking if anybody has started a project to create an app
>>> store that runs under TC, as an open-source project.  I.E. he's looking
>>> for code to make his own app store.
> ~
>> For JNLP.  Right...
> ~
>  No exactly. I do have two things in mind. I have developed a full
> blown application based on Swing (its features are a bit too
> complicated for a mobile device) and there are some light
> functionalities with a nails and thumbs kind of GUI for client mobile
> devices
> ~
>  I have noticed (and confirmed by your reactions) that this is
> something that most people are not interested in
> ~
>  lbrtchx
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


-- 

[key:62590808]



signature.asc
Description: OpenPGP digital signature


Re: any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-23 Thread Albretch Mueller
> Using Java Web Start does not require any Java on the backend
> whatsoever. You can serve a Java Web Start app from a vanilla IIS with
> no dynamic content at all. So, Tomcat itself has really nothing to do
> with it all.
~
 Not quite. The JNLP/java did most of the work itself, but if you use
advanced server support with elaborate versioning descriptors you have
to declare and handle the logical (URL) to physical (file system)
mapping, declare new mime types for jardiff functionality, handle
Locale related issues, ...
~
 If using Java Web Start would not require any Java on the back end
whatsoever, then Marinilli on this JNLP wouldn't have dedicated a
chapter to it ;-)
~
> Is he asking if Tomcat has an AppStore for JNLP apps?
~
>> I *think* he's asking if anybody has started a project to create an app
>> store that runs under TC, as an open-source project.  I.E. he's looking
>> for code to make his own app store.
~
> For JNLP.  Right...
~
 No exactly. I do have two things in mind. I have developed a full
blown application based on Swing (its features are a bit too
complicated for a mobile device) and there are some light
functionalities with a nails and thumbs kind of GUI for client mobile
devices
~
 I have noticed (and confirmed by your reactions) that this is
something that most people are not interested in
~
 lbrtchx

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-23 Thread Pid
On 23/10/2012 20:13, David kerber wrote:
> On 10/23/2012 2:58 PM, Pid wrote:
>> On 23/10/2012 12:28, David kerber wrote:
>>> On 10/23/2012 4:39 AM, Albretch Mueller wrote:
> Unless you are talking about setting up some kind of "app store" and
> using Tomcat to do that? but in such a case, the issue would not be
> about Tomcat, but about creating an "app store webapp" running under
> Tomcat. Or?
 ~
Exactly! Where is an (or the?) "app store webapp" running under
 Tomcat?
>>>
>>> ...
>>>
 ~
So, again, where is the "app store webapp" running under Tomcat,
 Jetty, or any other servlet container?
 ~
Are we starting such a project?
 ~
lbrtchx
>>>
>>> I'm not; are you?
>>
>> Is he asking if Tomcat has an AppStore for JNLP apps?
> 
> I *think* he's asking if anybody has started a project to create an app
> store that runs under TC, as an open-source project.  I.E. he's looking
> for code to make his own app store.

For JNLP.  Right...


p


-- 

[key:62590808]



signature.asc
Description: OpenPGP digital signature


Re: any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-23 Thread David kerber

On 10/23/2012 2:58 PM, Pid wrote:

On 23/10/2012 12:28, David kerber wrote:

On 10/23/2012 4:39 AM, Albretch Mueller wrote:

Unless you are talking about setting up some kind of "app store" and
using Tomcat to do that? but in such a case, the issue would not be
about Tomcat, but about creating an "app store webapp" running under
Tomcat. Or?

~
   Exactly! Where is an (or the?) "app store webapp" running under Tomcat?


...


~
   So, again, where is the "app store webapp" running under Tomcat,
Jetty, or any other servlet container?
~
   Are we starting such a project?
~
   lbrtchx


I'm not; are you?


Is he asking if Tomcat has an AppStore for JNLP apps?


I *think* he's asking if anybody has started a project to create an app 
store that runs under TC, as an open-source project.  I.E. he's looking 
for code to make his own app store.



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-23 Thread Pid
On 23/10/2012 12:28, David kerber wrote:
> On 10/23/2012 4:39 AM, Albretch Mueller wrote:
>>> Unless you are talking about setting up some kind of "app store" and
>>> using Tomcat to do that? but in such a case, the issue would not be
>>> about Tomcat, but about creating an "app store webapp" running under
>>> Tomcat. Or?
>> ~
>>   Exactly! Where is an (or the?) "app store webapp" running under Tomcat?
> 
> ...
> 
>> ~
>>   So, again, where is the "app store webapp" running under Tomcat,
>> Jetty, or any other servlet container?
>> ~
>>   Are we starting such a project?
>> ~
>>   lbrtchx
> 
> I'm not; are you?

Is he asking if Tomcat has an AppStore for JNLP apps?

:/


p



-- 

[key:62590808]



signature.asc
Description: OpenPGP digital signature


Re: [OT] any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

André,

On 10/23/12 3:50 AM, André Warnier wrote:
> [OT philosophical section] Apps are "cool". The whole concept
> however seems to me a throwback, compared to the wonders of the
> Internet and the WWW.  We are going back from a WWW where any
> device running any standard-respecting browser is all that is
> needed to run applications hosted on any server of any vendor under
> any OS and written in any programming language

There /is/ the "what does your browser actually support" caveat. Witness
the slew of webapps that still need to support MSIE 6. Or the fact that
Microsoft can't let MSIE 6 die because so much internal IT
infrastructure (at clients... not at MS) has been built around it.

> [...] to a situation where this one "cool webapp" is only
> available for Apple or Android or Windows-based devices. And you
> have to buy every little bit of functionality separately, and
> scroll through 16 screenfuls of app icons in order to find the one
> you need, if you remember which icon it is.  And service providers,
> instead of developing a web application once for one standard
> browser platform, now have to invest in creating 3 different
> redundant "apps" in order to cover their cool clients lifestyle
> choices. It seems strange to me that nobody seems to raise any
> objection to this gigantic waste of resources.

My favorite part about the whole thing: someone can take a game idea
from 25 years ago -- something that could run in like 2k of memory --
and program it for iOS or Android and suddenly it's the greatest thing
ever and makes the app developer a billion dollars.

Sadly, I don't ever seem to be that guy.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCGzc0ACgkQ9CaO5/Lv0PAhUwCgikif+gFaHWicyhFI6Om1bHTn
mKwAoKRjxOIPCGtJHdKuTBaxEXOO6hTY
=TmOq
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Albrecht,

On 10/22/12 7:20 PM, Albretch Mueller wrote:
> What are the options you have if you want to develop your own
> android mobile apps and want to handle them from your site using
> tomcat as you would (or along with), say, regular http requests and
> Java Web Start applications from browsers?

Using Java Web Start does not require any Java on the backend
whatsoever. You can serve a Java Web Start app from a vanilla IIS with
no dynamic content at all. So, Tomcat itself has really nothing to do
with it all.

> To me Java Web Start was/is an excellent technology and the way I
> see things are happening with Android is that developers (must?)
> keep their applications on "google play" (and a few other
> alternatives), but to me there is something odd and basically wrong
> with that

I don't own an Android device, but my understanding was that you can
side-load apps without having to go through any Marketplace/App
Store/Google Play. Is that what you are trying to do: side-load using
Java Web Start?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCGzOIACgkQ9CaO5/Lv0PAMegCgkmrneVglBi3tu7zpXSRZ0atk
m/QAnR4p8vpsd/KCoy44C2wIVlOhzln5
=YL6D
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-23 Thread Albretch Mueller
 these guys tag on app store messiness issues
~
 http://techcrunch.com/tag/app-store/
~
 lbrtchx

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




Re: any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-23 Thread David kerber

On 10/23/2012 4:39 AM, Albretch Mueller wrote:

Unless you are talking about setting up some kind of "app store" and using Tomcat to do 
that? but in such a case, the issue would not be about Tomcat, but about creating an "app 
store webapp" running under Tomcat. Or?

~
  Exactly! Where is an (or the?) "app store webapp" running under Tomcat?


...


~
  So, again, where is the "app store webapp" running under Tomcat,
Jetty, or any other servlet container?
~
  Are we starting such a project?
~
  lbrtchx


I'm not; are you?

D


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-23 Thread Albretch Mueller
> Unless you are talking about setting up some kind of "app store" and using 
> Tomcat to do that? but in such a case, the issue would not be about Tomcat, 
> but about creating an "app store webapp" running under Tomcat. Or?
~
 Exactly! Where is an (or the?) "app store webapp" running under Tomcat?
~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~
 http://en.wikipedia.org/wiki/Java_Web_Start
~
 Some key benefits of this technology include seamless version
updating for globally distributed applications ...
~
 Java Network Launching Protocol (JNLP):
~
 Updates of the software download from the Web become available when
the user has a connection to the Internet, thus easing the burden of
deployment.
~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~
 I would add that you could run it on any browser backed by a JRE (any
browser!) and from any compliant java web server. Other than the
little obsession google has about constantly being on your face/"being
reality", becoming some sort of "Internet goverment"
~
> The whole concept however seems to me a throwback ...
> ... And service providers, instead of developing a web application once for 
> one standard browser platform, now have to invest in creating 3 different 
> redundant "apps" in order to cover their cool clients lifestyle choices.
It seems strange to me that nobody seems to raise any objection to
this gigantic waste of resources.
> Or is that my fossilised brain at work again ?
~
 This is also exactly how I feel about it. I have seen that before in
technology, we are going now through the "talking dog" phase ;-), then
people will start making sense by asking themselves. Well, what it is
actually saying? Does it make sense? ...
~
 I find really odd that "while Android Market keeps 30% of your app
price and gives you the remaining 70% ..." and the percentages is not
what I find odd, but the tacit fact that it is google the one
"keeping" and "giving".
~
 I see things technological getting uglier and uglier. Oracle "buying"
Sun, Oracle suing google, Apple suing Samsung ... so I thought there
might be some "legal" issues developers are avoiding, but it doesn't
seem to be the case. As of today:
~
$ date
Tue Oct 23 04:31:07 UTC 2012
~
 there certainly are "alternatives":
~
 http://www.getjar.com/
 http://www.amazon.com/b?node=2350149011
 http://slideme.org/
 http://www.appbrain.com/
 http://www.1mobile.com/
 http://www.papktop.com/
~
 So, again, where is the "app store webapp" running under Tomcat,
Jetty, or any other servlet container?
~
 Are we starting such a project?
~
 lbrtchx

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-23 Thread André Warnier

Albretch Mueller wrote:

 OK, I may not have been clear enough and I have been "gone fishing"
for quite a long time.
~
 To me Java Web Start was/is an excellent technology and the way I see
things are happening with Android is that developers (must?) keep
their applications on "google play" (and a few other alternatives),
but to me there is something odd and basically wrong with that
~
 It is not just about an http request, but the way google goes about
the whole "Java Web Start" thing (I would call it that to make my
(possibly wrong/outdated) point)
~
 What are the options you have if you want to develop your own android
mobile apps and want to handle them from your site using tomcat as you
would (or along with), say, regular http requests and Java Web Start
applications from browsers?
~


Maybe it is due to my age and my consequently rigid brain synaptic connections, but I 
still do not understand what you mean by "handle them from your site using tomcat".


When I look at a smartphone or iPad screen showing "apps", it very much reminds me of a 
web page showing icons, under which hide java "applets"; and when you click one of these 
"apps", a piece of code starts running and takes over the screen.
Now what this "app" does, is another story.  It could be self-contained and not 
communicate with anything else, like a tic-tac-toe app or a calculatro app.  Or it could 
be that it needs to communicate with some server on the Internet in order to be useful 
(like an airplane reservation app e.g.).  In that case, it needs to use a communication 
protocol in order to talk to that server, and that communication protocol could be HTTP 
and that server could be running Tomcat.
Now from the Tomcat point of view, whether the client talking to it is an app or a browser 
or anything else which properly talks HTTP should not matter.


Unless you are talking about setting up some kind of "app store" and using Tomcat to do 
that ? but in such a case, the issue would not be about Tomcat, but about creating an "app 
store webapp" running under Tomcat. Or ?


I have the feeling that something fundamental may be escaping me here, but for now I am 
still puzzled.



[OT philosophical section]
Apps are "cool".
The whole concept however seems to me a throwback, compared to the wonders of the Internet 
and the WWW.  We are going back from a WWW where any device running any 
standard-respecting browser is all that is needed to run applications hosted on any server 
of any vendor under any OS and written in any programming language, to a situation where 
this one "cool webapp" is only available for Apple or Android or Windows-based devices. 
And you have to buy every little bit of functionality separately, and scroll through 16 
screenfuls of app icons in order to find the one you need, if you remember which icon it 
is.  And service providers, instead of developing a web application once for one standard 
browser platform, now have to invest in creating 3 different redundant "apps" in order to 
cover their cool clients lifestyle choices.
It seems strange to me that nobody seems to raise any objection to this gigantic waste of 
resources.

Or is that my fossilised brain at work again ?


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-22 Thread Albretch Mueller
 OK, I may not have been clear enough and I have been "gone fishing"
for quite a long time.
~
 To me Java Web Start was/is an excellent technology and the way I see
things are happening with Android is that developers (must?) keep
their applications on "google play" (and a few other alternatives),
but to me there is something odd and basically wrong with that
~
 It is not just about an http request, but the way google goes about
the whole "Java Web Start" thing (I would call it that to make my
(possibly wrong/outdated) point)
~
 What are the options you have if you want to develop your own android
mobile apps and want to handle them from your site using tomcat as you
would (or along with), say, regular http requests and Java Web Start
applications from browsers?
~
 lbrtchx

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-22 Thread Darryl Lewis
I think he is asking is it possible to run tomcat ON Android and IOS.

With IOS, IMHO no, as the Apple TOS forbids running other languages or
emulations.



On 22/10/12 8:23 PM, "André Warnier"  wrote:

>Albretch Mueller wrote:
>> ~
>>  apache tomcat and other servlet engines would easily do java web
>> start apps based on JNLP and there are servlet engines running -on-
>> Android:
>> ~
>>  http://code.google.com/p/i-jetty/
>> ~
>>  but I wanted to actually serve Android-based and other mobile devices
>> as you would do with PC's running different types of browsers and
>> operating systems
>> ~
>>  Are we there yet?
>> ~
>Hi.
>
>Due to what I believe is largely temporary fad-like marketing pressure, I
>am quite 
>interested in the general subject myself, but I do not understand your
>question.
>What is it precisely that you would want Tomcat to do (that it does not
>yet do currently) ?
>
>If some "app" on some device makes a TCP connection to a Tomcat server,
>and then talks 
>HTTP with it, Tomcat will handle this fine.  And if this app then
>requests a particular
>context (webapp) in Tomcat, and they understand eachother, everything
>should work also as
>expected. So what is the issue ?
>
>Or am I missing something ?
>
>
>
>-
>To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>For additional commands, e-mail: users-h...@tomcat.apache.org
>


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-22 Thread André Warnier

Albretch Mueller wrote:

~
 apache tomcat and other servlet engines would easily do java web
start apps based on JNLP and there are servlet engines running -on-
Android:
~
 http://code.google.com/p/i-jetty/
~
 but I wanted to actually serve Android-based and other mobile devices
as you would do with PC's running different types of browsers and
operating systems
~
 Are we there yet?
~

Hi.

Due to what I believe is largely temporary fad-like marketing pressure, I am quite 
interested in the general subject myself, but I do not understand your question.

What is it precisely that you would want Tomcat to do (that it does not yet do 
currently) ?

If some "app" on some device makes a TCP connection to a Tomcat server, and then talks 
HTTP with it, Tomcat will handle this fine.  And if this app then requests a particular 
context (webapp) in Tomcat, and they understand eachother, everything should work also as 
expected. So what is the issue ?


Or am I missing something ?



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-22 Thread Albretch Mueller
~
 apache tomcat and other servlet engines would easily do java web
start apps based on JNLP and there are servlet engines running -on-
Android:
~
 http://code.google.com/p/i-jetty/
~
 but I wanted to actually serve Android-based and other mobile devices
as you would do with PC's running different types of browsers and
operating systems
~
 Are we there yet?
~
 thanks
 lbrtchx

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org