Page 34 - CA_Blue( J )_Class9
P. 34

•  Distributed language: Java can share data and programs among different computers which help to improve
                     the performance and efficiency of the system. Remote Method Invocation, Socket programming and CORBA
                     technology that helps to share objects are supported by Java.
                  •  Interactive programming: Java programming allows us to develop interactive Internet programs so that user
                     can interact with the webpage while browsing through it.
                  •  Huge area of Application: Java programming language is versatile as it can be used to develop programs of
                     various kinds and provides solutions for variety of devices such as mobiles, PC’s with networking, etc.


                       2.6 DISADVANTAGES OF JAVA
                  As a programming language it also has some disadvantages:

                  •  Time-consuming: Java is both compiled and interpreted. Since java runs on web, the compiled program is
                     send from the server and has to be interpreted in client machine by JVM to convert to machine-dependent
                     language. This makes Java significantly slower than C or C++. Also garbage collector consumes more CPU time
                     and leads to poor performance.
                  •  Unattractive look: Though in Java there are many GUI builders to create a graphical interface, but they are not
                     appropriate and many discrepancies are visible when used.
                  •  Lack of backup facility: Java does not provide any options of backing up of data which is one of the major
                     reasons for low ratings among users.
                  •  Required Large memory space: Requirement of memory space is much higher as compared to other languages
                     like C and C++.


                       2.7 WORKING WITH BLUEJ
                  BlueJ is an IDE (Integrated Development Environment) designed for beginners. It was designed and implemented
                  by the BlueJ team at Deakin University, Melbourne, Australia, and the University of Kent at Canterbury, UK. It has
                  a built-in editor, debugger and viewer. It provides a GUI (Graphical User Interface). BlueJ allows us to write programs
                  and a debugger allows us to find errors in the programs. On the other hand, viewer shows the output of the program.

                  2.7.1 Getting Started with BlueJ
                  BlueJ is an open source  application. We can download it from https://www.bluej.org. After downloading the
                  application, we need to install it on our computer. After installation, follow these steps to start BlueJ App:
                  Step 1:  Click on the Start button.
                  Step 2:  Click on the BlueJ folder.
                                                                                         Menu bar
                  Step 3:  Click on the BlueJ application icon.
                  The BlueJ application window appears.   New Class
                                                         button
                                                     Compile button


                                                       Project Icon








                                                       Object Bench




                  You can also open BlueJ by double-clicking on BlueJ shortcut icon from desktop.

                    32    Touchpad Computer Applications-IX
   29   30   31   32   33   34   35   36   37   38   39