Is it worth it to code web apps in Java? To replace flash?
GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.