LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices



Reply
 
Search this Thread
Old 03-13-2007, 10:49 PM   #1
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Rep: Reputation: 30
Is it worth it to code web apps in Java? To replace flash?


As the title asks, and:

what is the main reason why I don't see a whole lot of Java apps online?

Since the GPL'ing of Java, will we see more Java Apps replacing Flash?

Any other comments on Java?

-- BTW --

JavaScript and Styles for games and eye candy slows down the page. Java should make a difference in speed right?

Last edited by RHLinuxGUY; 03-13-2007 at 10:58 PM.
 
Old 03-14-2007, 03:29 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
Quote:
Originally Posted by RHLinuxGUY
As the title asks, and:

what is the main reason why I don't see a whole lot of Java apps online?
The main reason is Java is far more used on the server side nowadays.
Quote:
Since the GPL'ing of Java, will we see more Java Apps replacing Flash?
Possibly. One other reason that may happen would be Java performance being now much better than it used to be.
Quote:
JavaScript and Styles for games and eye candy slows down the page. Java should make a difference in speed right?
Not particularly, Javascript is already fast.
 
Old 03-14-2007, 02:16 PM   #3
taylor_venable
Member
 
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 41
Quote:
Originally Posted by RHLinuxGUY
Any other comments on Java?
Well, since you asked, my -- Java became useful with the introduction of generics; since Java 5 we've finally been able to write Java code that's almost as powerful as C++. Now Java 6 has a really nice performance boost, at least on my systems, and I'm very pleased to see it being offered in the Ubuntu Feisty Fawn repositories. It's a nice generic language for nice generic people solving nice generic problems; unless you're a Java Guru, in which case you can do basically anything you want with reflection. Too damn many libraries means you can basically write an entire application using everybody else's code -- that's a good thing. Anyways...

Quote:
Originally Posted by RHLinuxGUY
JavaScript and Styles for games and eye candy slows down the page. Java should make a difference in speed right?
While I've never had too any bad problems with JavaScript slowing down a page, I would think that you'd basically be trading speed at load time for speed at runtime. You know, kind of like the compiled vs. interpreted debate -- where do you want to lose performance at?
 
Old 03-14-2007, 02:59 PM   #4
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,092

Rep: Reputation: 222Reputation: 222Reputation: 222
While I have a certain disdane for Java, I would much rather see a java coded page than a flash page, not only for size but also in some cases speed. Although the JVM is initially designed to run on any platform without recompiling, that is also the main reason for it's slowness however compared to flash nowadays, it is no where near the resource hog that flash is.

Now in your next question about Java being GPL'ed, there are still certain Java libraries perhaps that will have to be written again from scratch only because certain parties have written them that are their own and not from Sun, therefore Java being released under the GPL won't exactly cover 100% of Java.
 
Old 03-14-2007, 04:43 PM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
Quote:
Originally Posted by Jeebizz
Although the JVM is initially designed to run on any platform without recompiling, that is also the main reason for it's slowness however compared to flash nowadays
Actually the "Flash Player" is also a virtual machine designed to run on many platforms without recompiling.
Nothing really different than the JVM, but well marketed: A "Player" is something less scary to install than a "Virtual Machine" for a casual user.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Avoid traps when porting Java Web apps from Windows to AIX LXer Syndicated Linux News 0 02-08-2007 09:33 PM
LXer: MyFaces and Facelet Java-based MVC Web apps LXer Syndicated Linux News 0 10-26-2006 01:03 AM
Having problems with web sites/flash/(?)java(?) on Mac Ubuntu 5.04. RHLinuxGUY Ubuntu 8 02-06-2006 04:18 PM
Web-based apps: ActiveX/Java:Windows <--> ${???}:GNU/Linux johnMG Programming 3 12-03-2004 09:37 PM
Could I replace the soundcard? Would it be worth it? silentwhispers Linux - Hardware 1 08-27-2004 09:57 PM


All times are GMT -5. The time now is 05:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration