PDA

View Full Version : Will Java be Killed by Web Application?


dealmaker
09-15-2006, 10:48 PM
Hi,
It seems that many desktop applications will be replaced by web applications like Yahoo Mail Beta, Google Spreadsheet, etc. They all use some kind of AJAX technologies or script language. I think that web application is the only thing that can be implemented once and run on any platforms.

Java never have a real present in the desktop world. And now, Java is totally killed by web application in at least the desktop world. In server side, I am not sure if Java's multiple platform capability is really that useful.

What do you think?

nikkiH
09-15-2006, 11:14 PM
I think EJB is a good contender for ASP.NET if only because not every business in the world runs Windows.
If you think java doesn't do web apps, you haven't been looking at job postings for banks and finance corps.

Brokenhope
09-16-2006, 01:43 AM
I personally would be happy if Java was killed... I hate it with a passion.

Not the language, but the lag my computer takes when a java application starts running on a webpage... unexpectidly. I guess its because I never ever have the java console running, I alway close it, so it has to start up whenever it reaches a page with it... but still... most of the time it runs on stupid simple things that could be achieved with beginners javascript... but its not like im looking at well built sites or anything.

Maybe my view will change, I have AP Computer Science next semester and it teaches Java.

Aradon
09-16-2006, 04:11 AM
Java Applets are perhaps the worst thing on the web cause of people's design...

However, JSP and servlets provide functionality that is hard to compete with. Java has many many uses. It's still a very applicable desktop application builder, it is one of the most prevalent mobile phone game design language, and it is continued to become the number one teaching language for it's ease.

And there ARE very well written applets out there. The trick is to find them.

I know that the company I work for part times uses an applet to help them with something. And it works like a charm.

I think that Java will be around for a long time.

DELOCH
09-17-2006, 02:55 AM
Java is not a script!

it is a full fledged programming language, it can create programs that run on your system.

they are REALLY powerfull and are in a lot of ways better than c++(not completely better though)

in web, java is slow because it is a programming language, it is really heavy for the browser.

also, jave is slower BECAUSE of 2 points(that i know of... there are more)

1) it is both compiled and interpreted: java, javac, appletviewer/(browser)
2) it has a monster called Garbage collector, it makes sure useless memory is removed after needed use.

strong point:
there is no C++/ java/ Visual basic/ .net or anything!
the only language there is is: ASSEMBLER and CPU Language(simple binary commands to do something like: move, drag etc)

Java is not a scripting language, you can't compare Web to Desktop.

why java rocks:
1) it runs on multiple platforms(not only windows)
2) c++ only runs on multi-platforms when the reciever has a compiler for their platform
3) it makes sure every useless memory is reset.

disadvantages:
1) It is slow because it
a) gets compiled into java byte code(.class)
b) has to be interpreted by browser or appletviewer or:
a) is turned into executable jar file which runs on JVM which makes it run on any platform
As C++ only:
a) has to be compiled and becomes CPU ran application

plus, java has nothing to do with web except for applets and servlets,
java is in no way weaker than C++ *

Aradon
09-17-2006, 04:15 AM
Java is not a script!

it is a full fledged programming language, it can create programs that run on your system.

they are REALLY powerfull and are in a lot of ways better than c++(not completely better though)

in web, java is slow because it is a programming language, it is really heavy for the browser.

also, jave is slower BECAUSE of 2 points(that i know of... there are more)

1) it is both compiled and interpreted: java, javac, appletviewer/(browser)
2) it has a monster called Garbage collector, it makes sure useless memory is removed after needed use.

strong point:
there is no C++/ java/ Visual basic/ .net or anything!
the only language there is is: ASSEMBLER and CPU Language(simple binary commands to do something like: move, drag etc)

Java is not a scripting language, you can't compare Web to Desktop.

why java rocks:
1) it runs on multiple platforms(not only windows)
2) c++ only runs on multi-platforms when the reciever has a compiler for their platform
3) it makes sure every useless memory is reset.

disadvantages:
1) It is slow because it
a) gets compiled into java byte code(.class)
b) has to be interpreted by browser or appletviewer or:
a) is turned into executable jar file which runs on JVM which makes it run on any platform
As C++ only:
a) has to be compiled and becomes CPU ran application

plus, java has nothing to do with web except for applets and servlets,
java is in no way weaker than C++ *

JSP = Java Server Pages. It is web based, not slow, and very versitle, just like Java.

Now the good thing about JSP is you can use servlets, which are basically mini java programs to increase the functionality of the page. These things don't require the user to have java or run java, as it is run on serverside. Does this slow down the page? Not in any noticible light.

Is it as fast as PHP, probably not. But you get more functionality.

Of course many will argue that JSP is not pure java and they're right it's not. But if you make THAT distinction then you are correct, you can't compare apples and oranges.

DELOCH
09-17-2006, 11:42 PM
not to be mean but... he was talking about java and AJAX, while jsp was not mentioned.

the thing is that ajax is xml for javascript and those aren't server-side, while jsp is server-side

Programming Language(java)
Server-Side-Scripting Language(Java Server Pager(JSP))
Client side script(AJAX(javascript+xml))

^ are not the same!, you can't compare air to water to trees, all are needed to survive on earth.

Aradon
09-18-2006, 07:29 PM
Ah, I missed the point. Then yes, java is basically already out of the door as far as scripting client side goes.

And yes, JSP is a server-side language, but it flawlessly uses servlets which are java programs. So that's why I got confused.

Dohs

skinner927
09-19-2006, 05:06 AM
Java applets are the in-between of Flash and AJAX. Java can be used to program online games but usually flash is easier and better at it, and it can also be used for some type of app but AJAX is slowley taking that over. AJAX would just eat the market but the cost of transfering over your billion dollar java app that already works fine is the issue.

I myself program in Java and enjoy it, it has all thoes nice little pre-made garbage for you. It can also to complex things that as far as I know you'd need to combine some type of ajax and php combo thing to get done. (So specific)

Such as talking with servers, its better at that than PHP. Don't forget Runescape is a java applet, ha!