This case study is about developing a Java application to show the learnings of Object-oriented program. Java is a programming language, which produces software for different platforms. When a developer develops, the compiled code that is known as bytecode runs on different OSs (Operating systems) such as Mac OS, Linux and Windows. In fact, Java derives maximum of its syntax from the C++ and C programming languages. Java produces applets that facilitate Graphical User Interface (GUI) and object interaction by the internet users. Particularly, Java applets and web pages are static and non-interactive. Java applets have diminished in popularity with the release of competing products like Microsoft Silverlight and Adobe Flash. Java applets run in a web browser with the help of Java Virtual machine (JVM) that converts the Java codes into native processor instructions and enables indirect platform or OS program execution. JVM provides the required components to execute bytecode that is basically smaller than the written executable programs through other coding languages. If system does not have JVM within it, then bytecode cannot run. A Java software development kit is required for the development of Java program. Java programs are found in desktops servers, smart cards and Blu-ray Discs (BD). The case study provides the information regarding system requirements, software restrictions, assumptions and deliverable and structure of the developed Java application.
In order to show the ability to develop an objected-oriented program, a Java application will be developed. The requirement of the project, and system requirement related to Java application will be discussed in this case study. The assignment requirements such as proper Java programing, appropriate structure code, which must include constants, libraries and methods will be provided in this case study. For deriving the design of the system, UML notations and other class diagrams will be formulated. The used assessors, modifiers, constructors, methods and instance are provided in this case study. A comprehensive solution development will be discussed which will demonstrate the system building concepts, use of collections and return values and operations on collections as well. The advanced Object-oriented program concepts and User interface principles that are used in this Java application will be discussed. The deliverables and structure such as working source files, import Java files, compiled classes and project report will be provided along with the case study which will be beneficial to develop the Java application. This case study also discusses about the software restrictions and to implement them different tools and packages can be used such as JUnit 4.0 and Swing API. Along with this, the system must have Standard JDK version to implement the application and JAVA IO APIs to manipulate data from files. It is strictly quoted that the text or binary format files only used by the developer and use of other APIs like XML and using any database is not allowed. There are some recommendations provided in this case study, which are effectively beneficial for the developer to develop an efficient Java application such as, the developer must ensure that the developed application must function smoothly, ensure that the application must be compatible with the maximum number of operating systems, design test cases for the essential classes and test those classes thoroughly, ensure that the ample data must be created to demonstrate the system, if the developer has knowledge which can improve and enhance the application effectively than he must try his best to make it more impressive and enhance it as appropriate. Relevant assumptions related to the cost, budget and system deliverables are provided in this case study. As the Java application is going to be developed for the university it must have some functional and non-functional requirements. The general requirements such as required and relevant User interface (UI) based on Java Swing APIs, Data files that are for the users, inventory and for the transaction records, External Hardware such as barcode reader to obtain the product code and the member id will be provided in this case study. The data requirements such as categories, products, vendors, transactions, members, and discounts related to the shop are described in this case study. Functional requirements of the developed Java application such as payment gateway; offers and loyalty points; check and replenish inventory; Member registrations, new product entry, category addition, buying a product, and reporting are provided in the case study.
This case study is about providing a Java application for the souvenir store application that can be very helpful in handling all the operations of a store such as payment operations, member registration, new product entry and category addition. This case study also defines the classes and methods used in writing the Java application. The assumptions, software restriction and assignment requirements are clearly demonstrated in this case study.