Java as a General app Language
Java was introduced to the world through the web browser and the Java applet API. However, Java is more than just a tool for building multimedia apps. Java is a powerful, general-purpose coding language that just happens to be safe and architecture-independent. Standalone Java apps are not subject to the restrictions placed on applets; they can perform the same jobs as do programs written in languages such as C and C++. Any software that implements the Java runtime system can run Java apps. apps written in Java can be large or small, standalone or component-like, as in other languages. Java applets are different from other Java apps only in that they expect to be managed by a larger app. They are also normally considered untrusted code. In this tutorial, we will build examples of both applets and standalone Java apps. With the exception of the few things untrusted applets can't do, such as access files, all the tools we examine in this tutorial apply to both applets and standalone Java apps.