Giter VIP home page Giter VIP logo

advancedjava's Introduction

AdvancedJava

Source code for CS410J: Advanced Java Programming (Summer 2014) projects

airline-gwt

This is a web application that allows a user to add an airline and add invidivual flights information. The page updates a list of stored flights for that airline. The user can search for flights via source and destination airport codes and flight numbers with the page updating a result table. The user can select any item on the result table and delete the flight from storage.

This project demonstrates how a rich Internet application is created using Java, and using tools like the Google Web Toolkit (GWT) API, which abstracts most of the JavaScript HTML in wrapper classes.

About the application Alt-text

Adding an airline and a flight Adding an airline and a flight

Searching/filtering flights by flight number, source, and destination Alt-text

Deleting a flight entry Alt-text

HOW TO RUN

  1. Ensure that you have the Java JDK version 1.7 or higher installed on your machine
  2. Install Apache Maven on your system:
  3. Download the latest version of Maven at: http://maven.apache.org/download.cgi
  4. Unzip apache-maven3.x.y archive
  5. Add the location of the extracted archive folder to your environment path
  6. Ensure that the JAVA_HOME variable is pointing to actual JDK path (in Linux: /usr/libexec/java_home)
  7. in Linux, in your ~/.bash_profile file, add the following:
  8. export JAVA_HOME=$(/usr/libexec/java_home)
  9. export PATH=/usr/local/apache-maven-3.x.y/bin:$PATH (after moving apache-maven folder to /usr/local/)
  10. in the terminal, enter: source ~/.bash_profile to add
  11. in the terminal, in the airline-gwt folder, type in: mvn package (Note: this will take a while)
  12. in the terminal, type in:mvn jetty:run-war (Note: this will take a while, as Java code is converted to JavaScript and HTML)
  13. Open a web browser and go to: http://localhost:8080/airline-gwt/airline/

advancedjava's People

Stargazers

yameen avatar  avatar Emerald Laurente avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.