roberth
Resident Full Stop Abuser.....
Posts: 4,580.2098 Threads: 200
Joined: 18th Jun 2007
Reputation: -5.5814
E-Pigs: 43.8419
|
Hypothetically, could you make a website entirely in java?
Someone has just this minute asked me this question, and i replyed with the following
me Wrote:you could do in theory i suppose, you just write the applet and upload it to a webserver. i wouldnt recommend it though, it would be so heavy that any users on an average connection would give up waiting for it to load
It does raise an interesting question though. Would it actually be a viable option to write an entire webpage in java. There are pages written entirely in flash, and although tacky and bandwidth heavy, they can be quite clever sometimes. So, it would stand to reason that, sooner or later, someone will attempt to write an entirely java based website.
Just wanted to know what other peoples thoughts on this were, and how much they would hate someone who did such a stupid thing
Me=-----------------------------------------------------------------------------------» This much :P, 2Mbps for the loss
|
|
21/09/2008 03:12 PM |
|
Slushba132
BustyLoli-Chan
Posts: 3,125.3993 Threads: 508
Joined: 20th Feb 2008
Reputation: -8.27558
E-Pigs: 73.1299
|
RE: Hypothetically, could you make a website entirely in java?
...
I don't know if there is anyway to arm java code without html...
the flash base is handled by the mime type written into machines with flash installed.
I don't know...
hmmm...
|
|
21/09/2008 03:18 PM |
|
S7*
Sweet Dreams
Posts: 16,689.4373 Threads: 1,056
Joined: 3rd Apr 2007
Reputation: 14.29926
E-Pigs: 383.2309
|
RE: Hypothetically, could you make a website entirely in java?
well it'd be like a Java app filling the entire window... in its JAR form that'd be.. but it'd work nicer if it was HTML handled (URLwise) this, however is more like a program, and yes, it would involve downloading the entire program before it is run in its entirety.
Java was simply not designed for this purpose.
|
|
21/09/2008 03:43 PM |
|
Slushba132
BustyLoli-Chan
Posts: 3,125.3993 Threads: 508
Joined: 20th Feb 2008
Reputation: -8.27558
E-Pigs: 73.1299
|
RE: Hypothetically, could you make a website entirely in java?
precisely...
but thinking about it, webpages are downloaded and then used as well.
so in a way they are also like applications
|
|
21/09/2008 03:48 PM |
|
Incadude
Peruano User
Posts: 1,091.2150 Threads: 90
Joined: 13th Feb 2007
Reputation: -4.77735
E-Pigs: 46.4848
|
RE: Hypothetically, could you make a website entirely in java?
a webpage does not get downloaded...
the browser just reads the code and displays it. The browser makes the rules. A java site would need its own "browser" to be displayed properly.
|
|
21/09/2008 05:29 PM |
|
Kaiser
The Average Lucky Bastard
Posts: 2,512.2567 Threads: 296
Joined: 13th Apr 2007
Reputation: 0.38918
E-Pigs: 43.7138
|
RE: Hypothetically, could you make a website entirely in java?
Actually, you can't make a website without HTML...
even with flash, you would need html to embed the swf for display on a web browser...
Incadude Wrote:a webpage does not get downloaded...
the browser just reads the code and displays it. The browser makes the rules. A java site would need its own "browser" to be displayed properly.
GChrome?
COLEGIOOOOOOOOOOOOOOOOOOOOOOO!!!!!!!!!!!!!!!!!!!!!!
FEEL THE POWER \(m)/ (@_@) \(m)/
Vi Veri Veniversum Vivus Vici
|
|
21/09/2008 06:57 PM |
|
S7*
Sweet Dreams
Posts: 16,689.4373 Threads: 1,056
Joined: 3rd Apr 2007
Reputation: 14.29926
E-Pigs: 383.2309
|
RE: Hypothetically, could you make a website entirely in java?
Kaiser Wrote:Actually, you can't make a website without HTML...
Depends if you define something as, per se, "HTML = A Website"
Think about Python Web Scripts, which run .py
All that's needed is for a domain to point at an index page , e.g. http://www.blahaha.com/index.jar and it'll load with http://www.blahaha.com in the address bar (I think ;p)
Java Environment will load and download the application... just like Flash would, essentially... they would in very familiar ways.
|
|
22/09/2008 01:51 AM |
|
ZiNgA BuRgA
Smart Alternative
Posts: 17,022.2988 Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
|
RE: Hypothetically, could you make a website entirely in java?
I'm not sure if browsers will execute .jar files directly, or based on the MIME type the server sends the client. In terms of size, it's not necessarily large - the initial download would probably be the "browser code" - which can be small-ish (maybe a few hundred KB at most).
It's somewhat not very practical though, but possible, yes.
(This post was last modified: 22/09/2008 02:43 AM by ZiNgA BuRgA.)
|
|
22/09/2008 02:43 AM |
|