StudentShare
Contact Us
Sign In / Sign Up for FREE
Search
Go to advanced search...
Free

The Advantages of Using Java in Creation Application - Assignment Example

Cite this document
Summary
The paper "The Advantages of Using Java in Creation Application" presents java language. Java language has an extensive library of routines for easily coping with TCP/IP protocols like Http and FTP. This allows java application to open and access objects across the net via URLs…
Download full paper File format: .doc, available for editing
GRAB THE BEST PAPER92% of users find it useful
The Advantages of Using Java in Creation Application
Read Text Preview

Extract of sample "The Advantages of Using Java in Creation Application"

Understanding the principles of programming in java Principles, characteristics of java programming Programming in the java language has gain a lot of acceptance by a lot of people and programmers in the world. This is mainly due to the many advantages of using java in creation application that can be either stand alone or web based applications. Java is simple, object oriented, distributed, interpreted, robust, secure, architecture neutral, portable, high performance, multithreaded, and dynamic. Simple Java language omits many rarely used, poorly understood, confusing features found in other programming languages. Java does not need a lot of training to learn how to use it. Java is also simple in that software that can run in small machines can be constructed in java. Object Oriented This feature in java enable clean definition of of interfaces and makes it possible to provide reusable software. Object orientation focuses on the design on the data or objects and on the interfaces to it. Distributed Java language has an extensive library of routines for easily coping with TCP/IP protocols like Http and ftp. This allows java application to open and access objects across the net via URLs with the same ease the programmers are used to accessing a local file system. Robust This characteristic of java has pointer models that eliminates the possibility of overwriting memory and corrupting data. High Performance Byte code in java can be translated at run-time into machine code for the particular CPU the application is running on. Multithreaded This is a way of building applications out of multiple threads. This results in better interactive responsiveness and real-time behavior Dynamic Javas design is meant to enable it adapt to an evolving environment. Java libraries can freely add new methods and instance variables without any effect on their clients. Interpreted Java interpreter can execute java byte-code directly on any machine to which the interpreter has been ported. This means that the development process can be much more rapid and exploratory. 2. Environmental flexibility of java programming Java is a very environmentally flexible language since it can be easily run in multiple operating system. An interface can be multiply-inherited and they can be used in a more flexible way than the usual rigid class inheritance structure. Java one can compute a data type name and have it trivially dynamically linked into the running system. By making interconnections between modules later in the execution of the program, java will completely avoid problems and make the use of object-oriented paradigm much more straightforward, Libraries can freely add new methods and instance variables without any effect on their clients. Java design Solutions 1. use-case diagram of user interaction Shows a set of use cases and actors (a special kind of class) and their relationships. Use case diagrams address the static use case view of a system, these diagrams are important in organizing and modeling the behaviors of a system. The goal of the use case is to identify all the features that the users of the system expects the system to support, but it does not reveal any details about the implementations of these features. 2. Architecture of system components and structure The system can be run in systems from windows XP that has MS_Access as the database management software. The hardware minimum hardware requirements of the system that will be used to implement the system are Pentium II and above. Ram of -1gb and at-list a hard disk capacity of 20gb. 3. Components, data and file structure used in booking system implementation The other components and resources used in the development of the system include: Images This are the images in the system that users will upload during registration, the icons for various buttons in the application. Images are also use in the user interface of the bus booking system application like its header, logo of the system and some images of the bus. Database The system uses a Microsoft access database system (RVB.mdb) to manage and store the data like users, buses available, routes available, storing of user-names and passwords of the system users and administrator. Transaction information information like bus booking, canceling of reservations will also be stored in the database. The database contains several tables that include: Emp – this will hold data of the registered employees who will be registering the passengers of the system. Username: tobs Password:1234 Payment – will store the transaction information of payments made by the passengers using the buses while traveling from one destination to another. Passenger – this table will store data of the passengers using the system. It will contain information like name, id, address, telephone number Booking – this table will hold data on the booking of the passengers. The information will include start point and destination of the journey. It will also hold the number of seats a passenger has reserved for themselves. Route -this table holds the routes that are available for people to book and will also hold updated route that will be added. Buses – this table contains the buses available for passengers to book. Users – this is the data of the users who will register to use the system Schedules – this table contains information of already made schedules for the bus route that will be available to the passengers. Validator – this table contains data that will be used in the various validations needed for the system. The validations include the number of buses available, number of route available, and the number of seats that are still available for a passenger to reserve. 4. UML classes diagram This UML diagram will show the classes in the system, their attributes and operations of each class and the relationships between the classes. 5. Class, method and property definition The system has several java file and each have several classes and methods that will be defined in the source code of this system. Employee The methods in this class AbstractTable() are: getColumnCount() getColumnName() getRowCount() getValueAt() setvalueAt() Pass the methods in this class AbstractTable() are: getColumnCount() getColumnName() getRowCount() getValueAt() setvalueAt() Payment The methods are : payment() display() setAmount() setCombo() Passenger The methods are; passenger() generator() main() setCbx() NewUser the methods in this class are: NewUser() Main() Booking the methods are; amount() book() display() generator() passRoute() setCbx() setCombo() setRoute() Bus_Details the methods in this Class are; Bus_Details() main() printList() Connect The methods are; getConnection() MainMenu The methods in this Class are; AUT() createJMenuBar() createJToolBar() MainMenu() Sched() buses() emp() isLoaded() loginValidity1() loginValidity2() loginValidity3() main() pase() Java Solutions This is the source code of the bus booking project Test and Documentation of the Java solutions This incorporate critical review and testing of the bus booking system solution. This will involve analysis of the actual test results against the expected results to identify the discrepancies that will arise during the testing. All the modules and classes were separately checked for proper formatting and error correction. The Validations carried out on the system include the following: 1. Table Scheduling -bus information Column bus number. Data type -Integer. When i input characters in the input field then an error is indicated. This is because the input value is a character and not a number or integer. 2. Table passenger – passenger registration information. Column passenger_name -passenger name. Data type – String. When a number is entered into the field then an error occurs since the input required is of integer type and not a character or a string. Recommendations for future improvements -the system should incorporate the internet to allow users to register from their homes. - the system should have different categories of passengers like children and adults so that the fare charged will differ. The system should incorporate a lightweight database that will increase transaction speed. -the database should incorporate different levels of user access to the tables in the system like the administrator, employees and passengers. User documentation for the solution The steps involved in using the bus booking system are: Log-in A user is required to enter a user-name and the correct password in order to use the system. The categories of the user will be either manager or employee. The system only accepts three attempts of log-in and will automatically log you off when an invalid password is input. Username: tobs Password: 1234 Employee Registration This can be done through the add entry button and employee information is can also be updated. Booking process the booking of a bus is done through selection of passenger route to enable the controls of this process. The processes button is clicked in the tool bar then selecting the booking process. Other processes that can be done are: -scheduling -booking -payments views The following views can be made from the system: -view schedules -show the booked journeys - show buses -show passengers -show routes Technical Documentation for support and maintenance of the system The system will be maintained and improved by the development team and it will require knowledge of the system technical requirements. The source code of the system will be contained in the src folder in the source code directory. The system uses a database that is can be uploaded into the local machine and can be found in the classes folder of the system and the database details can be uploaded into the a database created in the local machine. Read More
Cite this document
  • APA
  • MLA
  • CHICAGO
(“Java Programing Assignment Example | Topics and Well Written Essays - 1500 words”, n.d.)
Java Programing Assignment Example | Topics and Well Written Essays - 1500 words. Retrieved from https://studentshare.org/information-technology/1634736-java-programing
(Java Programing Assignment Example | Topics and Well Written Essays - 1500 Words)
Java Programing Assignment Example | Topics and Well Written Essays - 1500 Words. https://studentshare.org/information-technology/1634736-java-programing.
“Java Programing Assignment Example | Topics and Well Written Essays - 1500 Words”, n.d. https://studentshare.org/information-technology/1634736-java-programing.
  • Cited: 0 times

CHECK THESE SAMPLES OF The Advantages of Using Java in Creation Application

Reaction paper assignment

The researchers wanted to know whether an online social networking site like Facebook would lead to offline as well as online meetings between people.... The hypotheses are as follows: The researchers… They sent email invitations to all the students that included information about the study, a description of the confidentiality polices, the incentives the students would receive and a link to Reaction Paper Summarize the research questions/hypotheses The purpose of this study was to examine Facebook as an online social network....
2 Pages (500 words) Admission/Application Essay

The Advantages of College Education

The following essay "the advantages of College Education" deals with the attempt to enter college.... As the text has it, education is a great platform that enables one to explore and navigate the darkest avenues of life.... It provides not only a bare means for sustenance through a better job....
1 Pages (250 words) Admission/Application Essay

Creating Memorable Performances for Film & Television

I feel privileged while presenting my application to a prestigious institution.... The author of this admission essay "Creating Memorable Performances for Film & Television" comments on the film studies education.... As the text has it, the author's short term goal is to gain confidence and to overcome shyness as well as panic while acting on stage....
1 Pages (250 words) Admission/Application Essay

Research question using PICOT

It may also include other descriptions in terms of age, race, sex or medication used in the research question (Koshar, 2011). Intervention: this… entails use of a certain procedures, products, recommendations, therapy treatment or medication by patients; in fact, it is a major consideration for the patient in the research question (Koshar, 2011). Comparison: this entails the alternative that is considered in the Picot Framework Questions PICOT Framework Population: this element identifies patients' problems, which are used for description the subject in the research question....
1 Pages (250 words) Admission/Application Essay

Reaction paper

In fact it's a philosophical, legal and theological right of every single person to seek justice.... Eradicating justice from people's life can make their world upside down and can bring extreme chaos and destruction which… That's what Ofra Bikel has explained in her latest investigation into America's criminal justice investigation, “The Plea”....
1 Pages (250 words) Admission/Application Essay

Advantages and Disadvantages of Foreign Investment Protection

This research is being carried out to evaluate and present advantages and disadvantages of Foreign Investment Protection (FDI), costs of FDI to a host nation (effects of competition; effects on the balance of payment and effects on employment), benefits of FDI to a hosting nation....
3 Pages (750 words) Admission/Application Essay

Advantages of Boston University

From this paper, it is clear that Boston University has all that I need to achieve my future dreams.... My decision to choose Boston University has been influenced by the fact that the university has a good reputation in terms of academics and nurturing career vision.... hellip; This discussion talks that the high academic standards fully drive my desire to study at Boston University as compared to many other universities....
2 Pages (500 words) Admission/Application Essay

The Competitive Advantage and Issues of Outsourcing

This paper will describe my reasons for pursuing the diploma program in International Marketing at the Boston University....  I will also answer the question: “How will this program fit into my long-term academic and professional goals?... rdquo;… My reasons for pursuing the diploma program are of course varied....
2 Pages (500 words) Admission/Application Essay
sponsored ads
We use cookies to create the best experience for you. Keep on browsing if you are OK with that, or find out how to manage cookies.
Contact Us