Java Applets Revival? Back to SWING? Adieu, JavaScript?

R

RoboHobby

Hi,

We are working on Java hobby robotics project (http://
www.RoboHobby.com - Java code examples,
PIC programming, etc.).

Recently, viewing my site statistics (I use Google Analytics) I found
one interesting fact -
majority of our users (85-92%) use Java!

I found this information in section "Google Analitics/Visitors/Java
support".
And it was interesting and surprising - about 90% of users use Java.

As you might remember, there was a long period, when Java was 'rear
bird' on client's browsers.
Many years I've heard that:
-Nobody wants to download and install Java (JRE or plugin), because it
is too huge.
-Client's site Java is over.
-Everybody uses JavaScript, forget your Java and your applets.
JavaScript is already pre-installed in every browser, but your
'favorite toy' - Java is too big for downloading.
etc.

And - yes, it was true - 92-99% of our site's users turned on
JavaScript on their browsers.

I hate JavaScript. I know, it is the meter of taste, but I like Java,
not JavaScript and I suppose SWING is one of the best GUI, I've ever
seen during last 20 years.

Under pressure of the market we started to use GWT (Google Web Toolkit
- Java-to-JavaScript converter) as a client front end instead of good-
old SWING in applets.
(http://www.RoboHobby.com/web_remote_control_for_robotics_gwt.jsp)

And what I see now(!) - big percent of our users use Java too!

QUESTION - Is it time to forget about JavaScript and go back to SWING?
May be new wide channels - DSL, etc, changed the Wolrd and now it is
not a problem to install Java and we can go back to applets?

What do you think?

PS: Today's Connection Speed statistic from my site:

Unknown=45.41%
DSL= 27.36%
Cable= 16.44%
T1= 7.91%
Dialup= 2.70%

As you see only 2.7 % of users use low speed connection.
That means file size of JRE is not the problem now.

Sincerely, Oleg
 
A

Arne Vajhøj

RoboHobby said:
We are working on Java hobby robotics project (http://
www.RoboHobby.com - Java code examples,
PIC programming, etc.).

Recently, viewing my site statistics (I use Google Analytics) I found
one interesting fact -
majority of our users (85-92%) use Java!

I found this information in section "Google Analitics/Visitors/Java
support".
And it was interesting and surprising - about 90% of users use Java.

As you might remember, there was a long period, when Java was 'rear
bird' on client's browsers.
Many years I've heard that:
-Nobody wants to download and install Java (JRE or plugin), because it
is too huge.
-Client's site Java is over.
-Everybody uses JavaScript, forget your Java and your applets.
JavaScript is already pre-installed in every browser, but your
'favorite toy' - Java is too big for downloading.
etc.

And - yes, it was true - 92-99% of our site's users turned on
JavaScript on their browsers.

I hate JavaScript. I know, it is the meter of taste, but I like Java,
not JavaScript and I suppose SWING is one of the best GUI, I've ever
seen during last 20 years.

Under pressure of the market we started to use GWT (Google Web Toolkit
- Java-to-JavaScript converter) as a client front end instead of good-
old SWING in applets.
(http://www.RoboHobby.com/web_remote_control_for_robotics_gwt.jsp)

And what I see now(!) - big percent of our users use Java too!

QUESTION - Is it time to forget about JavaScript and go back to SWING?
May be new wide channels - DSL, etc, changed the Wolrd and now it is
not a problem to install Java and we can go back to applets?

What do you think?

PS: Today's Connection Speed statistic from my site:

Unknown=45.41%
DSL= 27.36%
Cable= 16.44%
T1= 7.91%
Dialup= 2.70%

As you see only 2.7 % of users use low speed connection.
That means file size of JRE is not the problem now.

Applets (especially with JavaFX) is a relevant option if you
need the functionality and like the language.

The questions are:
- can you live with 100% - 85-92% of your users (8-15%) having
a problem
- they have Java but what version, Java is not always being
kept uptodate

JavaScript and Flash/Flex are dominating the industry. But if you
like applets, then you can use it.

Arne
 
R

Rzeźnik

Hi,

We are working on Java hobby robotics project (http://www.RoboHobby.com- Java code examples,
PIC programming, etc.).

Recently, viewing my site statistics (I use Google Analytics)  I found
one interesting fact -
majority of our users (85-92%) use Java!

Perhaps that's because you have the Java project there so typical
visitor is interested in Java which causes him to install Java on his
machine consciously.

QUESTION - Is it time to forget about JavaScript and go back to SWING?
May be new wide channels - DSL, etc, changed the Wolrd and now it is
not a problem to install Java and we can go back to applets?

What do you think?

I do not think so given considerable effort the browser vendors make
in promoting Java Script. Also the code base is enormous. But there is
a observable shift from using 'naked' JavaScript to framework oriented
programming (GWT/jQuery) which makes programming JS more pleasant. I
am not sure, I do not like JS. As a language it is very nice post-OO
language but all theses browser-related idiosyncrasies are killing me.
PS: Today's Connection Speed statistic from my site:

Unknown=45.41%
DSL=    27.36%
Cable=    16.44%
T1=    7.91%
Dialup=    2.70%

As you see only 2.7 % of users use low speed connection.
That means file size of JRE is not the problem now.

The bigger problem in my opinion is that applet experience is not so
seamless (Java FX might be in position to change it), also Java
gadgets are still considerable heavy when compared to most of JS code,
net-book market may be lost.
 
A

Arne Vajhøj

Rzeźnik said:
also Java
gadgets are still considerable heavy when compared to most of JS code,
net-book market may be lost.

Java applets was pretty heavy 10 years ago. Unless it is a king
kong applet, then it should not be a problem on modern hardware
net-books included.

Arne
 
R

Rzeźnik

Java applets was pretty heavy 10 years ago. Unless it is a king
kong applet, then it should not be a problem on modern hardware
net-books included.

Arne

I wrote "heavy when compared to most of JS code" and I meant also
startup time
 
A

Arne Vajhøj

Rzeźnik said:
I wrote "heavy when compared to most of JS code" and I meant also
startup time

Users don't think in relative performance - they think in
absolute performance. 10 seconds is unacceptable slower
than 1 second. 100 milliseconds is the same user experience
as 10 milliseconds.

Arne
 
R

Rzeźnik

Users don't think in relative performance - they think in
absolute performance. 10 seconds is unacceptable slower
than 1 second. 100 milliseconds is the same user experience
as 10 milliseconds.

Arne

Yes, so basically JS bells and whistles for users have 0 time startup
and java applets >noticeable_time :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top