Both were elaborated with totally different purposes, although it is true that the language-oriented to the web environment, the one that concerns us, has that name because its creators tried to take advantage of the seriousness and popularity of Java to throw an air of trust and professionalism with this form of Schedule so young at the time.
Unlike other languages, Java keeps the promise of compatibility between different platforms (cross-platform), which means that a programmer could write a Java program that runs on any kind of computer, already running this Windows, Mac OS X or any of the different versions of Unix. In practice, Java has not completed that dream, due in large part to disputes between Sun and Microsoft regarding language direction.
First, Microsoft got involved because it wanted to integrate Java into Windows in its way (the way Sun says it would make Java work in one way on Windows and otherwise on other computers, thereby breaching the main purpose of Java ); later, Microsoft introduced Java for Windows, once it created its Java-style language, C #.
After a lot of litigation between the two companies (and a big deal favorable to Sun), Microsoft removed its Java from Windows and, now, the user can install the latest version of Sun Java for Windows (or Linux) from Your official website Mac OS X has Java installed as part of the operating system.
In addition to the independent applications, the main use of Java on the client-side, that is, in the user’s browser, is the creation of applets, small programs that are downloaded on the Internet, and run in Web browsers. Due to the cross-platform character of Java, these applets should also run in any browser that supports Java. In recent years many Java applets began to be replaced by Macromedia Flash animations, which are usually easier to create than Java applets. Today, Flash is gradually being replaced by the new possibilities offered by HTML5 along with CSS3 and Jquery.
The applets are embedded in the Web pages using the HTML <object> tag, with additional information that the server’s Java applet specifies and executes it in the screen area specified in the tag.
- write (‘NeoAttack test text in JS’);
It is nothing new for people to constantly talk about the advantages of being a “full stack developer” or being a “cross-platform developer”.
At some point JAVA was the best solution for all this, beyond the operating system we could make desktop applications since java runs on a virtual machine (JVM) and that same virtual machine was also in a “minimalist” version on some cell phones (J2Me).
But like everything else in the world, and especially in technology, advances are getting faster and faster.