I've got an assignment to hand in a week time, i was just wondering if anyone is willing to help me out with it.
the problem iam facing at the moment is to take the input from a text field and insert it into a file.
the whole program is about a banking system which the user is able to Credit, Debit and check the balance of his or her account. the following is the specification of the program.
Server-side: create the necessary facilities to service customer needs for basic transactions on a personal bank account. Client-side: create an interface to permit customers to remotely access basic transactions on a personal bank account server. Each transaction will require: a customer identifier: a string an indicator for the transaction type: { C , D , B } C: Credit; D: Debit; B: Balance enquiry. a value representing the difference a float between the opening and closing balance an opening balance: a float a closing balance: a float the date of the transaction: a date a transaction concluded ?success? flag: a boolean
A total of 1 only text files should be used by your system (server-side) to store the account details, i.e. each transaction, for every customer. Each transaction should be recorded as a single line entry of tab separated values. You may wish to create a second file to maintain a list of valid customer Ids: when a new entry is made to this file it should be accompanied by the creation of an opening transaction. This should be recorded within the account details file as a transaction, a Balance transaction, of zero value, on an opening balance of zero.
-------------------------------------------- the file name should be: transactions.txt and should look exactly like the following:
000001 B 0.00 0.00 0.00 1 2 2003 true 000002 B 0.00 0.00 0.00 1 2 2003 true 000003 B 0.00 0.00 0.00 1 2 2003 true 000004 B 0.00 0.00 0.00 1 2 2003 true 000005 B 0.00 0.00 0.00 1 2 2003 true 000006 B 0.00 0.00 0.00 1 2 2003 true 000007 B 0.00 0.00 0.00 1 2 2003 true 000008 B 0.00 0.00 0.00 1 2 2003 true 000009 B 0.00 0.00 0.00 1 2 2003 true ----------------------- for the exact layout please email me on : basmah3@hotmail.com ___________________________________________
MARK REQUIREMENTS/CRITERIA
95 Provide the required code and demonstrate both a sockets-based and an RMI based implementation to meet the requirements for the distributed banking system. See next section (Mark of 85) for details of the system requirements.
85 Provide the required code and demonstrate a fully functional multi-threaded implementation to meet the requirements for the distributed banking system. Your Transaction class should be employed on both the client and server-side. Your client ? running as an Applet - should provide full customer notification for each transaction initiated by the customer. Your solution must include server-side ?transaction integrity checking? functionality driven by a user interface of your choice. Both a flat file based and a lightweight persistence based implementation must be demonstrated. As an alternative to writing your transaction objects to file you may opt to persist your transactions using JDBC. A sample data file, transactions.txt, will be provided during your demonstration. You will be asked to execute ? flawlessly - a number of transactions against this.
75 Provide the required code and demonstrate a fully functional multi-threaded implementation to meet the requirements for the distributed banking system. Your Transaction class should be employed on both the client and server-side. Your client ? running as an Applet - should provide full customer notification for each transaction initiated by the customer. Your solution must include server-side ?transaction integrity checking? functionality driven by a user interface of your choice. A sample data file, transactions.txt, will be provided during your demonstration. You will be asked to execute ? flawlessly - a number of transactions against this.
65 Provide the required code and demonstrate a credible multi-threaded implementation to meet the requirements for the distributed banking system. Your Transaction class should be employed on both the client and server-side. Your client ? running as an Applet - should provide full customer notification for each transaction initiated by the customer. Within your client marshal the arguments required by your server-side functionality before piping them across the socket connection. A sample data file, transactions.txt, will be provided during your demonstration. You will be asked to execute ? flawlessly - a number of transactions against this.
55 Provide the required code and demonstrate a credible single-threaded implementation to meet the requirements for the distributed banking system. Your client ? running as an Applet ? must make use of the functionality of a well defined Transaction class available within the Server. A sample data file, transactions.txt, will be provided during your demonstration. You will be asked to execute ? flawlessly - a number of transactions against this.
45 Provide the required code and demonstrate a single-threaded implementation to meet the requirements for the distributed banking system. Your client must run as an Applet. A sample data file, transactions.txt, will be provided during your demonstration. You will be asked to execute a number of transactions against this.
35 Provide the required code for a credible (sockets based) client-server implementation for the distributed banking system. You may employ a command line based user interface. Also provide a sample data file, transactions.txt, which you used to test your system.
25 Provide the required code and demonstrate the operation of a simple (sockets based) client-server system. The client should run as an Applet and the server as a single threaded application. The server should respond appropriately with greetings or a farewell to input from the client. The server-side messages should be generated randomly from a plain text file source. __________________________________________________
Iam not good at Java at all but i wana get a good marks on this assignment i know there must be some top java programmers in this forum so please help......