Facebook uses a java applet to upload photos!

I was putting up my holiday photos on facebook when this huge orange thing appeared on the screen… and it was the java applet loading animation!

So facebook uses java to upload photos. That’s pretty amazing, since most people have facebook and do photo uploads, most people must have java.

Unfortunately the facebook photo-uploading app is not very good. It uses the bad-looking default orange starting animation and it hangs the UI when loading files. ALso there’s no way to refresh the file view without reloading the whole page.

I noted that too. It’s seems overkill though!? Someone must really like Java over at the facebooks ::slight_smile:

Probably has more do will forcing simple filtering before 10MB files are sent to face book. You know, ensure that the image is not some massive 8 megapixels or in a TIFF file format or whatever.

I was assuming that the Java Applet did the resize right then and there, so it didn’t matter what size the photos were.

Haven’t uploaded anything for awhile via the PC (now always just done using Android), but it used to come up with a big warning saying that there was a version of Java that would hang, and you should make sure you have the latest version, blah… blah… which was a little embarrassing.

Nice, but what suprised me even more was that i downloaded the Flash sdk from the Adobe site a while back, they use a signed Java Applet to download it for you :slight_smile:

bit like JavaFX web site using flash… ::slight_smile:

Costco also uses a similar photo upload app for their site as well. I think it has more to do with file level access, multiple select, size checking, etc. than anything else.

Ah so the java app does the processing of the fat images on the client side and then sends the scaled-down compressed images to the facebook server… makes sense. But I wonder why flash wouldn’t be better for the job?

Very funny!

I think it’s a lot harder to get out of the sandbox with Flash. I tried to do a bit of simple image processing before and it was giving me tons of trouble unless I was using their simple tools (like drawing shapes on top of images). Java image processing is very easy.

[quote=“CommanderKeith,post:1,topic:34933”]
Facebook has “more than 400 million” active users. That’s about 5% of the human population, or if we pretend like only North America and Europe exists, that’s about 40%.
If we ignore Europe too, it’s an amazing 120% of the population of North America.
The percentage of the people who use facebook AND upload photos is by necessity lower.

So, no, most people don’t have facebook and upload photos, but most of your friends and family might. :wink:

Still: “More than 3 billion photos uploaded to the site each month”.

(source)

WHAT? :o IF IT’S MORE THAN THE POPULATION OF AMERICA, THEN WHO ELSE COULD BE ON IT? MARTIANS?!? THERE ARE ONLY PEOPLE IN THE USA! USA! USA! USA!

:wink:

who says that marsians dont have a social life dependent upon the internet :wink: lol

it would explain a lot… :smiley:

I just logged into Yahoo Mail for the first time in ages, and it appears that they use a Java applet to add attachments to emails in their web client. Java Console came up and everything. They even gave me a nice little popup that said “This may take a moment. You don’t have to do anything.” :stuck_out_tongue: