Moving from procedural to OO

Hi there!
I have a system which is writen in c and now I want to convert it into
Java. I was wondering if anybody has experience in converting a procedural program to object-oriented one.
This is for my project, so I want to follow standards in what I do.
So far what I have done is:
1. By observing the inputs/outputs of the system got the basic understanding of what it does (the c program is written by somebody else and was given to me for further development).
2. represent the relationship between functions
3. Draw flow charts, and write natural language algorithm
4. class diagrams for c headers and source files - just for better understanding at a quick view.
5. got the requirements of the system from my obsevations and feedback from users.
Now I want to represent this in OO, but I don't know how I could take these representations towards Java. Can anybody help me with the missing link here. or suggest me some tutorials or books available on this topic. I looked at some research papers, but all of them are talking about the tools which does this re-engineering for U. But I want to do it manually.
Any help would be really great. Thank you.
regards,
M

I second what dubwai says!
Don't make the mistake of trying to "convert" the existing procedural system into OO. It will end up being neither fish nor fowl, and likely be a pain to maintain and have limited extensibility.
Even though it's sometimes hard to convince management, you will save time and their money in the long run to revisit the business rules and interfaces and then approach this as a new OO system.
I had a system like this a couple years ago which was written in REXX, and they wanted rewritten in Java. Management consistantly approached it as a "translation", and wanted to treat it as though there was something design-wise salvagable in the old system.
My partner and I tossed everyting but the business rules and the interface layouts (which the users wanted and weren't too bad) and had a POC in a week that included the GUI, the core functionality, and the programs to rebuild the databases. Team II, who approached the problem in lockstep with management by trying to translate existing code were still fighting design at the same point.
Honest, don't be tied to the existing system, or it takes twice as long and hurts twice as bad. If management pushes to "save" existing stuff, just say OK and then go around them anyway. When they have the working POC in hand, they kinda tend to forget what they told you anyway ;)

Similar Messages

  • After the recent update, my documents moved from Finder to Word.  When I moved the folders to Finder, I am unable to attach a file to an e-mail.  Any Suggestions?

    After the recent update, my documents moved from Finder to Word.  When I moved the folders to Finder, I am unable to attach a file to an e-mail.  Any Suggestions?

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste (command-V) into the text box that opens, then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    I've seen an unconfirmed report that the "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you might need to remove it as well, if applicable.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • Problem Moving From the Standard Edition to the Enterprise Edition

    Hi !
    I am trying to move from Oracle 10g R2 10.2.0.1 Standard Edition to Oracle 10g R2 10.2.0.1 Enterprise Edition.
    Platform is MS Windows XP PRO SP2
    I follow all steps described in "Oracle® Database Upgrade Guide 10g Release 2 (10.2)" - section Moving From the Standard Edition to the Enterprise Edition.
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14238/intro.htm#sthref10
    The problem is that after update from St. edition to Ent. edition when I run:
    select * from v$version - I see :
    Connected to:
    Oracle Database 10g Release 10.2.0.1.0 - Production
    while I expect to see something like .....
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining Scoring Engine options
    Am I wrong ? Why information in view v$version does not update after this ?
    Regards,
    Phil
    Message was edited by:
    user585467

    In your document you refer to the upgrade guide, this upgrade guide applies when you are upgrading from previous Oracle releases to 10g, not SE->EE.
    If you want a procedure to upgrade the SE to EE, then follow this metalink note:
    "How to Upgrade from Standard to Enterprise Edition ?
    Doc ID:      Note:117048.1"
    If you performed this specific upgrade and you still see this error, then probably you are facing a bug, similar to the one described in "5844095", where the version is changed form SE->EE after 10.2.0.3 patchset application.
    In your case it should be enough to apply 10.2.0.3 patchset to show it properly.
    ~ Madrid

  • Moving from POP on Eudora to IMAP on Mail - Help!

    After much deliberation and perhaps with some regret I am finally moving from Eudora to Mail using IMAP. I have never really used IMAP and have a few queries.
    I will be setting up IMAP with my office Groupwise system which archives email after 3 months. I would like to keep all copies of messages on my computer within Mail and within preferences (Accounts > Advanced) and I have set Mail to "Keep copies of messages for offline viewing: All messages and their attachments"
    What will happen to messages that I am keeping on Mail when they are archived on my office Groupwise system, will they stay on my computer or disappear??
    Has anyone out there made the move from Eudora to Mail, would welcome any comments on your experience.......
    I also have a MobileMe account. Does email stay on the Apple servers forever or does archiving occur?
    Thanks in advance
    Tony

    +I am an IMAP newbie....+
    IMAP is great if you have a number of devices that you get mail on. In my case, a few computers at the office, one at home, and my iPhone. Because I'm using the IMAP protocol, mail is kept "in sync" on all devices.... Mail that is read on one, is received and marked as read on the others, so you don't have to read the messages again on each device. Likewise, sent mail (and attachments) is also propagated to the Send Mail folder on all devices as well. So mail that I send to someone from the office, shows up in my Sent Mail box at home, including attachments.
    Mobile Me uses IMAP as well, so if you have more than one computer, your Mobile Me mail is automatically kept in sync across computers and other devices.
    So in your case, it all depends on how the archive procedure is implemented at your office.... if mail is removed from the server and archived, that will automatically remove them from your computer(s) as well. On the other hand, if the messages are just copied and archived, then they will remain on your computer(s).
    You can save any mail message on your computer.
    1. under the Mailbox menu, create a new Mailbox. You'll want to save it "On My Mac". Once that is done, it should show up in the left hand pane.
    2. Find the message or messages you want to save, highlight them, and control-click and you can copy them to your new mailbox. Now, the messages have been copied and saved on your computer, so it won't matter what the archive process does to messages on the server, you've got a copy.
    Now, you could also just drag messages to your new box, but that will remove them from the server. I would guess that it's not totally possible to delete the emails from the server without them being archived, but again, it's going to depend on how your mail system is set up at work. Bottom line is that IMAP mail clients reflect what is currently on the mail server they access.
    +If I need to reclaim space on my MobileMe account, what is the best way of doing this without losing email on Mail?+
    Well assuming your reaching the end of your online storage, you could move your Mobile Me mail on your computer to a mailbox that is on your computer. Just be aware that moving mail out of the inbox will delete it from the server. You can copy it to a new mailbox and it will remain on the server, but that obviously won't free up any space on Mobile Me.
    And of course, you can dynamically allocate space on Mobile Me between storage and email, so increasing one or the other may solve your problem

  • Moving from Win XP to Win 7

    I'm going to be moving from Windows XP to Windows 7. I'd like to move my InDesign CS5 print presets to the new PC. What is the procedure for this? Thanks in advance...

    Open Indesign on Win XP machine , Go to File-->Print Preset-->Define
    in the dialog bx which will be open , select the presets and click on "Save", now copy these saved file and take them to the windows 7 computer,
    On Windows & , Open Indesign ,
    Go to File-->Print Preset-->Define
    click on "load" and then Select these file to load the preset in Indesign.

  • Form button does not work when a program is moved from Windows 8.2 to Windows 7

    Hi,
    I have a few Excel programs which use the ODBC to get data from Access and which have macros which writes data to an external program, MYOB.
    When the macros tries to write the data to MYOB it fails if I am not running the program in administrator mode.   It seems that Windows 8.2 has a different level of security than Windows 7 and must be run in administrator mode for the ODBC to work. 
    I have had issues after running the program in administrator mode (testing) if I simply do a save (in administrator mode) and then send it to the customer.   The issue is that it just will not work on the customer's site.   I have gotten
    around this in the past by saving any changes, going back out of excel, loading the program again (not in administrator mode) and saving it - before sending it to the customer.   This worked until now.
    For some unknown reason, the last time I sent a program to the customer and carried out the above process, the program stopped working.   Originally I thought that the macro just wouldn't work on windows 7, but eventually found that it is the form button
    that will no longer work when the program is moved from 8.2 to 7.
    Does anyone know why there is an incompatibility between 8.2 and Windows 7 and what I should be doing to ensure that my programs work in my customers environment(windows7)?
    In the meanwhile, I have changed the form button to an activex button and the program works fine in both environments.
    Thanking you in advance,

    there is some OP report after Windows update Dec 2014 macro stop responding ( I cant confirm if this is also related to your issue) its because security update for Office maybe conflict with the active-x that you are installed
    try to
    Close Excel
    Start Windows Explorer.
    Select your system drive (usually C:)
    Use the Search box to search for *.exd
    Delete all the files it finds.
    Start Excel again
    Open that file and save it, and try open at Windows 7
    to get more detail about this issue, I suggest also contact Office forum
    this case also will be solve installing kb3025036
    good luck

  • HT4101 Once pictures are moved from your camera to your iPad (using the camera connection kit), how do you get the photos off of the iPad? They do not show up in my photo stream or my iCloud.

    Once pictures are moved from your camera to your iPad (using the camera connection kit), how do you get the photos off of the iPad? They do not show up in my photo stream or my iCloud. I am able to see any photo I took on the iPad using the iPad camera (in iTunes, photo stream, or when I open windows explorer and browse the iPad director), however I cannot see any photos transfered from my camera to the iPad. The camera connection kit must have put my photos in a directory I cannot get to and cannot sync.

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • I have the iPhone 5 and have with 6.0.1 software version.  Although I had them when I moved from iPhone 4 to the 5, the latest update has most of my songs on the phone listed in grey (over 95% of them) and I can't play them.  They are still listed though.

    I have the iPhone 5 and have with 6.0.1 software version.  Although I had them when I moved from iPhone 4 to the 5 (could play them), the latest update has most of my songs on the phone listed in grey (over 95% of them) and I can't play them.  They are still listed in the iTunes library.  When I look in the Summary for the iPhone, it shows Audio as only .16 GB - I have over 5 GB of songs, so what gives?
    P.S. When I look at my Playlists most of the songs are greyed out.  However, at the bottom of the list there is a cloud icon with a downward facing arrow.  When I click on it each song starts to "load" and after a few minutes I have the songs back on in the list.  I have to do this to all my playlists (I had over 100) in order to get access to all my songs.  Then I did a sync and it happened again!
    I use iCloud for documents and some other things (calendar, contact, etc.) but am not aware that I have anything music-wise in the cloud.  Any thougnts?

    You may have to try deleting all the music from your phone (by going to Settings>General>Usage>Music, swipping All Music and tapping Delete), then sync it all back on with iTunes in order to fix this.

  • Mac desktop. 10.6.8. Text edit. Not locked. Read and write. Still, documents are locking when they are moved from desktop to another folder on the server. Techies can't figure it out here. What am I not doing?

    Mac desktop. 10.6.8. Text edit. Not locked. Read and write, not read only. Documents are locking when they are moved from desktop to another folder or saved directly into that folder on the server. Not happening with anyone else but me and the boss's computer so has to be in the properties for my text edit software. Techies can't figure it out after trying for two weeks. Boss can do a cut and paste and put into a new document, but that's starting to become a problem.

    Mac desktop. 10.6.8. Text edit. Not locked. Read and write, not read only. Documents are locking when they are moved from desktop to another folder or saved directly into that folder on the server. Not happening with anyone else but me and the boss's computer so has to be in the properties for my text edit software. Techies can't figure it out after trying for two weeks. Boss can do a cut and paste and put into a new document, but that's starting to become a problem.

  • We just moved from the United States to Costa Rica.  The first two days my mac worked great.  Then all of a sudden I was trying to use a game application and the screen went black and there is a white cursor which I can move around, but I can't escape it

    We just moved from the United States to Costa Rica.  The first two days my mac worked great.  Then all of a sudden I was trying to use a game application and the screen went black and there is a white cursor which I can move around, but I can't escape it. When I restart it seems okay and I see my main screen, but only for a second and then it goes black again. 
    This computer was brand new in June.  Is it the humidity???   What can I do.  Please help!!!!

    No guarantess but try smc and pram resets,

  • Report for material moved from blocked stock to unrestricted stock

    Hi,
    Is there a standard report in WM showing list and qty of materials moved from blocked stock to unrestricted stock.
    Regards,
    Pratap

    It would have been easy if there was a specific WM movement type for such transfer but due to the reason that the WM 309 is connected to various IM movement types, there is no direct report to get this information.
    Conversely, you may use MB51 with the combination of the WM managed storage location and movement type for your purpose. If there are multiple storage locations assinged to the same warehouse then you may put a range in the selection criteria.

  • I'm moving from windows notebook to MacBook Pro. When teaching I use a USB quality pointer device and want to know it the MacBook works with it

    Greetings,
    After using only Windows computers at work and home our company leadership now allows us to purchase Mac Pro Books if we desire. I am VERY excited!!!
    Both of our sons work as engineers in Silicon Valley and will not purchase anything but Macs for years.  Both son's schedules hinder me to get the answers quickly from them so I am seeking advice from you.
    I love the idea of finally getting a Mac but have some questions and need to find a source to answer my questions before I send in the request for the new computer. If any of you could respond to these "beginner" Mac questions it would be wonderful.
    1. I teach a large variety of classes using Powerpoint style presentations. I own a very nice wireless USB remote that I use to move between slides.  Will the ProBook allow me the ability to use my remote? If so is there anything I need to know to make it work?
    2. What are the tradeoffs of the 13 inch ProBook versus the 15 inch model?
    3. What external devices/equipment should I plan to have available to be effective in an office environment?
    4. In moving from Windows to Mac what is the best was to bridge the learning curve so I can become effective as quickly and effectively as possible?
    I am very excited to make this change and your advice would be so appreciated.
    Blessings,
    David

    David,
    Have you checked the Web site of the manufacturer of your wireless USB remote, to see if their product supports MacBook Pros?
    In general, the 13-inch MacBook Pro has less powerful hardware than the 15-inch model. A detailed comparison can be found in the right-hand column of the table here.
    Which external devices/equipment do you currently have  to be effective in an office environment with your Windows computer? The list is likely to be similar with a computer that runs OS X.
    Which applications do you currently depend upon under Windows? That might be the best guide to providing advice on how to best adapt to OS X.

  • HT1918 i have recently moved from the uk to australia and cancelled my uk debit before the payment was processed for songs i bought in itunes. i have tried to edit my billing info with australian debit details but the site says 'invalid card' how can i fi

    i have recently moved from the uk to australia and cancelled my uk debit before the payment was processed for songs i bought in itunes. i have tried to edit my billing info with australian debit details but the site says 'invalid card' how can i fix this?

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • I have just moved from MobileMe, where I had a 'Family account' (with unique email addresses for my wife and myself) to iCloud. We share the Cal and Contacts on our iMac. How do we sync to multiple devices - we each have iPads and iPhones? Mine sync OK...

    We have just moved from MobileMe, where we had a 'Family account' (and we each have our own @me.com email addresses) to iCloud. We share the Cal and Contacts on our iMac. How do we sync to multiple devices - we each have an iPad and an iPhone, but with different accounts set up for mail. Mine syncs OK to Cal and Contacts, but hers doesn't. There must be a way! Please help.

    According the this: http://www.apple.com/mobileme/transition.html, "After moving to iCloud, family member accounts are no longer linked to the master account."  You can share an iCloud calendar (see http://support.apple.com/kb/PH2690), but I don't think you will be able to share iCloud contacts unless you are signed into the same iCloud account on both phones.

  • I have moved from the US to Norway, and want to change my apple ID to the Norwegian appstore. However, I am not allowed ot change from the US store before I use up my balance, which is 0.17 dollar. The problem is that nothing costs 0.17 dollar.Please help

    I have moved from the US to Norway, and want to change my apple ID to the Norwegian appstore. However, I am not allowed ot change from the US store before I use up my balance, which is 0.17 dollar. The problem is that nothing costs 0.17 dollar and I do no longer have an american visa card, only Norwegian. Is there any way I can erase the credit on my account so I can change the appstore country? Or osmething I can use this credit on? Thank you very much

    Try contacting the store support staff at: http://www.apple.com/emea/support/itunes/contact.html they are usually pretty good at sorting out these issues.

Maybe you are looking for