CHESS PROBLEM (Clearing House Electronic Subregister System)

"CHESS is used to keep track of which clients own how many shares in which stocks, where a stock is basically a company. CHESS is one of the two main systems provided by the ASX (Australian stock exchange)".
So what i have to do is design, document, implement and test a complete, simple, text-based version of CHESS. Your application must have two independent components:
1. The model: One or more interfaces and classes that implement the basic database system.
2. The view: One or more classes that provide a user interface to the database system.
I didn't even know i could use java to create a database first of all. So this only ideas ive had is using .txt files in a program directory and searching through them for key clients or storing data in hashmaps and arraylists.
Anyone with experience care to explain a real or appropriate method a student can use to create this program. Because this project seems abit to out for my league for my 2nd ever programming project.
Anything of help would be greatly appreciated.

If I'm not mistaken the Berkely DB system is basically just a bunch of text files with key-value pairs. You could try something like that. Another option is to create a schema in which each each record must have a fixed length (so the length of a string would be limited). This would allow you to know that a new record starts every 40 bytes, or something along those lines. Another common practice is to start each field off with a number that indicates the total length of the field. This allows the lengths of the field to vary, but it also means you can only move sequentially through the file. You don't have random access to the data.
Obviously, for a second year project, I doubt they expect you to write a sql engine for this, so you will probably wan't to provide methods to do most of what anybody would want to do with the data.
You're going to want to implement some scheme for serializing and deserializing records from the database, so that you can work with them as objects, instead of byte arrays.
Does this help any?
- Adam

Similar Messages

  • CHIPS (The Clearing House Interbank Payments System ) in SAP

    Hello  Guru,
          Couple of banks we are dealing with are using CHIPS. I am trying to understand how to apply CHIPS into SAP. Currently I do not see any specific field for CHIPS in bank master data. If you have any experience on this, please share. I like to know:
         - what field to maintain this infomation
         - If it is maintained in the same field with IBAN, SWIFT Code, bank key, bank account, or etc, how do you distinguish the different?
    Regards,
    Song
    Edited by: Sorasit Thongthai on Nov 4, 2009 8:10 PM

    If I'm not mistaken the Berkely DB system is basically just a bunch of text files with key-value pairs. You could try something like that. Another option is to create a schema in which each each record must have a fixed length (so the length of a string would be limited). This would allow you to know that a new record starts every 40 bytes, or something along those lines. Another common practice is to start each field off with a number that indicates the total length of the field. This allows the lengths of the field to vary, but it also means you can only move sequentially through the file. You don't have random access to the data.
    Obviously, for a second year project, I doubt they expect you to write a sql engine for this, so you will probably wan't to provide methods to do most of what anybody would want to do with the data.
    You're going to want to implement some scheme for serializing and deserializing records from the database, so that you can work with them as objects, instead of byte arrays.
    Does this help any?
    - Adam

  • How to Maintain Default materials for clearing house fee (IS Oil) O3RECH1

    Hi,
    I am an ABAPer. I have come accross one issue in Transaction O3RECH1 (Create CH Settlement/ Transmission).
    I am getting error. as No Material Exist. .. In debugging i came to know that material is empty since there is no data in field FEEMATNR  of table OIRECH_APPL.
    Table OIRECH_APPL --> SSR PC:  Clearing House application data  (IS-Oil SSR).
    In that there is one filed FEEMATNR --> SSR PC: Default materials for clearing house fee.
    Can any one please let me know How to maintain it.
    Answer will be rewarded.

    Interesting requirement. This can be achieved through Search String as suggested by Mr. Shanid.
    Try to find a text in the note to payee line for bank charges for creating a search string.
    For Example. See below note to payee line and assume this line for bank charges.
    16,455,130155,0,5/3 BANKCARD SYS  CH,,5/3 BANKCARD SYS  CHARGBACKS.
    Identify a text which should always come with this line for every EBS file for bank charges. Assume here "BANKCARD".
    Now go to T-code OTPM.
    Click on create
    Srch strg name:  Bank Charges
    Description:     Bank Charges
    Search String: BANKCARD ( Based on this text system will search your not to payee line)
    Once you press enter, you will get mapping details on the left side with target field "BANKCARD". Now remove the BANKCARD from target field and put there cost center which you will post for one house bank. Save the data.
    Now move to second step.
    Click on Search String Use.
    Put your company code,
    House bank(mandatroy in your case).
    Interpretation Algorithm( same as you maintained in OT83 for posting rule with external transaction type).
    Search String: BANKCARD.
    Target Field: Cost Center.
    Save.
    Sorry I am not getting option to attach screenshot in SCN now. Dont know why.
    Let us know if you have any doubts.
    Hi Mr. Shanid,
    Correct me if I am wrong.
    Regards,
    Mohammed

  • Windows 7 problem with EFS (Encrypting file system)

    Hello colleagues!
    I think this topic is related more to the security.
    The problem is a bit unusual and google doesn't give me a clear answers, but maybe anyone came across
    with similar problem...
    In general, I suspect that my problem is EFS (Encrypting file system), ie
    service that automatically encrypts files using a digital signature (certificate).
    A little background:
    - On the work PC it was necessary to reinstall
    the system, according to corporate rules all the content we have is encrypted using EFS (Encrypted files are highlighted with green color as you know).
    I have copied all the data on a portable drive and also copied the certificates (certmgr.msc).
    The system was reinstalled. The only change - it was x32 and became x64.
    - It was necessary to free up some space on the hard drive (the file
    system on it is NTFS), so,  I temporary copied all the files on my home PC. My work certificate was installed on it too, because
    I work from home
    sometimes.
    When the  work PC was repaired, I've moved all the files back in
    the same way (ie on the portable HDD, then to the work PC).
    All files were working, but when I needed MS Word documents, it became clear that something was wrong.
    When I've opened the document, it gaveme a window with weird symbols and prompts me to select the encoding ... of course -
    no encoding was fit.
    Started to explore all the documents, it appears that some part of them were working,
    someof them not - all the old documents were working, ie the ones, which
    were created before deploying EFS (newly created or copied files immediately encrypted).
    So, now I am sure that the
    documents were somehow re-encrypted, at least on a portable hard drive, they do not look as encrypted (not highlighted in green), but it's still not open.
    Completely stopped opening all the documents that have
    been encrypted (for all types of files, ie it is not just an MS Word, but also pdf, presentations, charts, and even the pictures).
    Tell me, who faced similar?
    How can it all back? I have no possibility to restore those documents from another sources.

    Try copy those corrupted files and make sure you are using the same certificate and then re-encrypt the copied files and try decrypt them.
    If possible, use the same account as you used for encryption.

  • Firefox crashes with Publisher's Clearing House sites

    I play games with a couple of websites with Publisher's Clearing House. pchgames.com and pchlotto.com. They require a couple of plugins such as adobe reader and adobe flash. Now which of these plugins is causing firefox to crash I have no idea. Even with the latest version of firefox 13.0.1 it still crashes. The only way I can play games on both sites is through safemode which is such B.S. You people better have this looked at and get it fixed.

    hello, thanks for providing the crash ids - those crashes are caused by the trusteer rapport software on your pc.
    please look for an update of this software or report the issue to [http://www.trusteer.com/support/en/report-problem trusteer's support]
    or for a short term solution stop the program in the win start menu > all programs > trusteer rapport > stop rapport or totally remove it from the windows control panel/programs section in case you don't depend on it.

  • Problem with correlation on QA systems

    Hi all
    i need help!!!
    I have a problem with correlation on QA systems!!!!
    I have exported file (SCVW and CS) from DEV system and imported into QAL system!
    I ve changed the parameters of CCs!!
    But messages on sxi_moni doesn't meet correlation!!!!
    The same interface on DEV system work fine, everything it's ok!!!
    Everyone can help me? What could be the problem?
    Tnx all

    Hi Prateek
    Scheduled Background Job for Event Queue has a red flag in QA, while all flags are green on Dev!!!
    What I sholud do?

  • Problem in creating a JDBC System on VC7.1 portal ( CE7.1 SP3)

    I have a problem in creating a JDBC System on VC7.1 portal (CE7.1 SP3)
    I get the following error:
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the back-end application using the connector defined in this system object
    Results
    Default alias retrieved successfully
    Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
    Could you please let me know if there are any guides on SAP Library; I was not able to find any documentation nor any threads discussing this on VC7.1
    Although, I saw this thread Can Visual Composer talk to/connect to any Database?..
    which says that VC7.1 can connect to SAP backend
    and web services only, and there is no direct connection to the db.
    Help needed please.

    Hi Dharmi
    Here is a quote of Dafna's post in [another thread in this forum|Re: Copy VC controls]
    CE7.1.1 will be released at September 2008 for ramp-up customers.
    There are many improvements and new capabilities in the new release of Visual Composer for CE7.1.1. Among the new features you can find:
    The missing features from Visual Composer 7.0 (Html view, portal Eventing support (EPCM), JDBC, Undo/Redo, and more..)
    Many layout & modeling improvements
    Additional ALV table functionality - export to Excel, switch to chart, configure ALV behavior at design time
    Integration of Visual Composer in Eclipse - additional entry point to the Visual Composer models from the NWDS. This integration provides the option to add a WD component (in case of missing functionality in Visual Composer), as a black box component to the Visual Composer model. Right-clicking the component will open the Web Dynpro perspective for creating/modifying the component.
    Regards,
       Shai

  • HP Officejet Pro 8600 "Problem with Printer or Ink System'

    A gander at this forum suggests I am one ofa multitude of people perplexed by this issue. There is a notation beside one enquiry which says 'Problem Solved'.... well it isn't for me. My printer (typical!) is one month out of warranty. I had to replace the black cartridge and, when I did, it came up with this error prompt. I then replaced all the other cartridges. HP suggests removing the printhead and following that they say place it 'upside down on a clean sheet of paper'... NO instructions for cleaning it!! When it is replaced in the printer they suggest you 'rock the printhead left and right to make sure that the printhead fully seats in the carriage' and if THIS doesn't fix things 'try reseating the printhead up to 3 times'... This in itself is an admission of an 'issue' with this product. It doesn't sound like a very scientific engineering 'fix' to me!
    A new printhead costs almost what we paid for the printer a year ago. I hate consigning anything to landfill that I can avoid... unfortunately it looks like that is where this unit belongs...

    Hi @Robin_Perth,
    Welcome to the HP Forums!
    I am sorry to hear about you getting the problem with printer or ink system error, with your HP Officejet 8600, but I am happy to look into this for you!
    I am assuming you have already been through this guide, A 'Problem with Ink System' Error Message Displays on the Control Panel or Computer During Setup.
    If this guide does not resolve the issue, please call our technical support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region. Country-language selector.
    This guide, Limited Warranty for HP Ink Cartridges and Customer-Replaceable Printheads for HP Inkjet Supplies, will help you to determine if your printhead is still in warranty or not.
    Hope this helps!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • HP 4622 All in One Printer: Problem with Printer or Ink System

    Problem with Printer or Ink System Error OXC19a0027.

    charleshia wrote:
    Thanks so much for replying to my post. I tried the fist suggestions and they did not work. So, I attempted to move on Dow to the cleaning of my printer. I am the the first to admit that I'm not the genius when it come to electronics buys, my printer do not seem to have what is described in the photos. I'd like to upload a photo of my ink cartage but do not know how.
    Charleshia, you can upload a photo here to reply. Click Reply, then on the window you'll see the image below..
    click the one which has the red box, it's where you insert the photo
    Going back on your issue.. the basic step would be.. take out the inks then close the door... what error message you  got? If it's saying "Missing Ink Cartridge" just hit OK. Unplug the power cable at back of the printer, plug it back in.. Clean the copper contacts on the ink cartridges using a lint free cloth then reinstall them. Let me know if it resolved it or not.. I can only give basic troubleshooting here

  • Problem in Assigning the Business System

    Hi,
       I have problem in Assigning the Business System at Configuration when I am trying to configure the Communication Channel. I had created two Software Components and also Two Technical Systems (Third Party) and Business System and I imported the SWC into repository and done with the design and now I am not able to Configure, can anyone help me out as this is very urgent.
    Thanks in advance
    Andy

    Hi Andy,
    Check if you have created you business system according to the steps given here, maybe you missed out on something.
    Configuring a Business System
    http://help.sap.com/saphelp_nw04/helpdata/en/ae/e3bd4f6b61e146ad1384954ecabb41/content.htm
    Defining a Business System as a Service
    http://help.sap.com/saphelp_nw04/helpdata/en/3e/60653f0c9fa075e10000000a114084/content.htm
    Regards,
    Chandra

  • Flash Player sound problems on a 5.1 system

    I don't know if i found the right topic for asking for this question, but here it goes.
    I noticed that flash player has this issue with my 5.1 system, when i play music (and i mean any music, like my online radio, played through flash, or music through the site VK.com), the sound is extremely awful. Words actually can't explain it, there is no bass, and the sound, overall, seems to be of very low quality. But it's not. When the same music is played via stereo system (any), it seems to be perfect - with bass and etc.
    Now i'm really confused. It's either a problem of flash, or a problem of somewhat in my system. My guess is that flash simply does not support audio output rather than 2.0. I will be really grateful if anyone will at least point me in the direction of the source of this problem; it makes my life miserable. Thank you.

    Is it possible to have e version of flash player like silverlight which give thepossibility to hear audio on whole 5.1 system?
    I have the following system computer:
    Case: Thermaltake Mozart; PSU: Thermaltake Toughpower 750W; MainBoard: Asrock 4coredual-sata2; Heatsink: ZeroTherm Zen120; CPU: Core2 Extreme X6800 3,2Ghz; RAM: OCZ Platinum DDR400, 2x1 GB; GPU: Sapphire HD3850 AGP; PPU: BFG Ageia; HDD1: WD Caviar Blue WD5000AAKS; HDD2: WD WD2000BB; Monitor: Asus VB175T 17" 5:4; Audio System: danneggiato, in corso di sostituzione; OS: Xp Professional Sp3; Browser: Srware Iron.

  • Problem with national characters calling System.out.print(...)

    I need to develop an application printing spanish characters like "�" (ce trencada) "�", "�", etc.
    The problem is when I type
    System.out.print("�")in my application, I get "plus-minus" symbol while executing it.
    Anyone can help me, please?
    Thank you in advance.

    check the list of fonts available. You can use the following code for the purpose.
      public static void main(String args[])
            String fonts[] = getFontNames();
            for(int i = 0; i < fonts.length; i++)
                System.out.println(fonts);
    public static String[] getFontNames()
    GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
    return ge.getAvailableFontFamilyNames();

  • While clearing through F-54 system throws error No downpayment exist

    While clearing through F-54 system throws error : No downpayment exist. But I have checked in the Downpayment account, A/P account and Customer Line item and the entry exists. Customization for Downpayment made also correct. All the fields are correctly entered in F-54. Still the error comes.
    Please clarify.
    Thanks,
    Raj

    Hi Ravi,
    This transaction is not a downpayment request.  But one thing I have to mention.  For this downpayment the assignment of alternate reconciliation account was done on 17.3.09.
    The posting date and document date has been given as 13.03.2009 for the downpayment document.  Whereas when I check in the entry view > header details, the posting date is 18.03.2009 (may be it is
    showing the actual date of posting).  When the clearing is done through F-54 by giving
    date 31.03.2009, the system gives the error that no downpayment exist.   If we give
    the Inv.No. details and click for document display, the system shows the relevant document
    to be cleared.  Wen we click open process items tab, the error is shown. Kindly confirm
    whether the system is not updated with the assignment of alternate reconciliation account
    for downpayment when the document date and posting date has been given prior to that
    assignment and that is why the system is showing error.  Further, is it right to reverse that
    downpayment document and post a fresh document by giving date after 17.03.2009 and then
    clear the entry.
    Regards,
    Sadashivan

  • "Problem with printer or ink system"

    Hello, so this morning I printed out a paper and I saw I was almost out of black ink. I replaced the cartridge and everything was okay. When I went to print out another paper I received the error message "Problem with printer or ink system... 0x6100004e" I went to HP support and found a whole bunch of solutions. I went through the first few, there is no paper jams, but then I realized my carriage was either not leaving the dock or it would come all the way left just to go right back. When I open the door, its like the printer thinks the carriage is moving because it keeps turning the way it normally would. I tried resetting it, and looking up other solutions but nothing. My warranty was up in May. It had never had this problem when I changed the cartridges before, so I really need all the help I can get.

    Hi andre2015,
    Please perform the steps from the link below and this will resolve the issue.
    http://support.hp.com/us-en/document/c03253201
    ---- If my answer was helpful please click the Kudos star.
    If your problem is solved please click the Accept as Solution button so other forum users can use the solution.
    Regards
    Aneesh

  • Javascript is required for the Electronic Delivery system.

    I use VPN to access the remote server, and the software will downloaded in the remote server, but when I go to the Oracle e-delivery, and press continue, I got a message: Javascript is required for the Electronic Delivery system. What's wrong with me?

    Sounds like your browser settings are stopping you using the website.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for