Difference between Java and Flash

monkey36 Posted messages 165 Status Member -  
monkey36 Posted messages 165 Status Member -
Hello,

I have a general question: what is the difference between Java and Flash?

I know that Java is a development and execution environment for programs (correct me if I'm wrong) but what does Flash represent then?

Thank you if the experts among you could provide some clarifications on this topic :-)

Configuration: Windows 7 / Chrome 34.0.1847.131

2 answers

jean42400 Posted messages 2638 Registration date   Status Member Last intervention   937
 
Flash Player allows you to browse next-generation websites that include video, text, audio, and interactive graphics. This plugin is compatible with browsers such as Firefox, Opera, and Safari. Flash is an essential standard as it is already installed on 98% of desktop computers. Flash Player includes an API called Stage3D for the creation of interactive 3D content that leverages DirectX 9 or OpenGL 1.3/ES 2.0. It also supports the G.711 codec for telephony, improved H.264 encoding locally, and manages sound on 8 channels.
For java
https://www.commentcamarche.net/contents/557-java
0
ElementW Posted messages 5690 Status Contributor 1 293
 
"Flash Player allows you to visit next-generation websites": get ready, I'm about to throw up on you. Flash is old, ugly, slow, proprietary, not (anymore) cross-platform; and it has absolutely nothing of next generation! The next generation is HTML5; a world without plugins.
“already installed on 98% of desktop computers”: the desktop PC is “in decline” compared to the total number of devices. And the 98% is also in decline. Double decline.
0
KX Posted messages 19031 Status Moderator 3 020
 
Indeed, today the must-have for a website is HTML5 (with JavaScript everywhere...)

But returning to the question, I would emphasize that Java does not (only) do web, as it can be found in desktop applications (OpenOffice for example), on mobile devices (GPS, Android, etc.), in a large number of server applications (mainly in enterprises), not to mention indeed applets, which were the success of Java, but which today are also its biggest drawback in terms of security.
The functionalities of Flash are more or less limited to the functionalities of Java applets (without everything else) and are not necessarily better in terms of security, not to mention interoperability...
0
monkey36 Posted messages 165 Status Member 2
 
" The features of Flash are more or less limited to those of Java applets (without all the rest) and are not necessarily better in terms of security, not to mention interoperability... "

So, if I understand correctly, both allow for the creation of small applications that can be added to web pages, or as standalone applications (without a browser)?

How can we tell if an application is made in Java or in Flash?
0
KX Posted messages 19031 Status Moderator 3 020
 
"both allow the creation of small applications that add to web pages"
Yes.

"or as standalone applications (without a browser)"
No, only Java allows this. Flash is limited to browsers.

"How can we tell if an application is made in Java or Flash?"
It's quite easy; by right-clicking on the application, you should have a menu that opens. It is obviously different depending on whether you are on a Java applet or a Flash applet.

0
ElementW Posted messages 5690 Status Contributor 1 293
 
"Flash stops at browsers", and what about Adobe Air? :P
0
monkey36 Posted messages 165 Status Member 2
 
Thank you for your insights! Have a good evening.
0