Code Monkey home page Code Monkey logo

seng4400's Introduction

SENG4400

Assignment 2 and 3 plus some workshops from SENG4400 Semester 1 2013

Students are warned about academic integrity upon viewing any work in this repository.

None of the recevied marks will be discussed here.

seng4400's People

Contributors

rossbille avatar

Watchers

James Cloos avatar  avatar

seng4400's Issues

Object Names

Change from sample object names into meaningful object names

Audit Listener

Admin console -
Create startup servlet which listens for auditing events and stores into non-persistent bean

Console application

The console application for this assignment will record an event when it is started. When executing, it should expose a SOAP web service over HTTP called
‘processPaymentService’. This web service will expose two methods – processCard(String cardNo) used for credit card payments using the bank; and processPaypal(String paypalID) used for PayPal payments. When this method is called, an event will be logged recording the card number or PayPal Identifier as appropriate to System.out.

remove payment service

Leave the ‘back-end Paypal or bank payment application’ as a WAR package executing under a local Glassfish instance. Remove the web service created in assignment 2.

Instead, replace the integration between the ‘online website application’ and the ‘back-end Paypal or bank payment application’ with a REST client call to the REST service created above.

You will need to create a background Thread, which starts on application startup and then regularly polls the REST service hosted by the ‘online website application’

Add payment to online system

Enhance the online website application such that after a user successfully logs in they can provide either a credit card number or PayPal Identifier (but not both). Trigger a payment by having the online website application call the new back-end system via its web service. For the purpose of this assignment, you can assume the web service is running on ‘localhost’. You will need to configure your second Glassfish instance to listen on TCP port 8081 (so that all URLs in the WSDLs are consistent, to assist with marking).

Documentation

Refer to assignment sheet

finish all documentation for assignment 2

Clean up

Current implementation is hacky

Login

Create two basic HTTP servlets or JSPs that implement a login page for the online shopping website.

Add payment ReST

Add a new REST interface to the ‘online website application’, which will be used by the ‘back-end Paypal or bank payment application’ to poll for payments waiting to be processed. Update the ‘online website application’ to store Paypal or bank transactions on a Pull Task Queue for later retrieval through the REST interface. You can find examples on how to use Pull Tasks Queue’s on the Google API website - https://developers.google.com/appengine/docs/java/taskqueue/overview-pull

JSON

ATM not passing json, a post encoded string is being passed and parsed

Communication

Create communication topic and connection

Connection Factory: jms/myConnectionFactory
Topic: jms/seng4400ass2PS

Validate

Validate the user credentials against a static username/password pair, which you can store hardcoded in the code. Whenever a login is attempted the software will record if it was successful or failed.

Lastly, provide a document that includes

• An updated system diagram
• A high-level description of this diagram
• Any additional information the assessor may need to install, run and mark your submission.

JUL

Add more meaningful logging

Beans

Make the beans actual beans and not publicly accessible objects

Admin GUI

Admin Console -
Servlet to view last 50 records stored in bean

Polling

Remove the polling/empty messages that are being printed to the console once per second

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.