The big deal in implements one interface through the whole system

Hi guys,
I'm working with java developing in a ERP system. Initially we have a desktop system and now we are merging it to be a web application. We are trying to use the same classes on both modes, and we're having problems to identify what class is hybrid ( works on web and desktop ) or isn't.
Well one solution that they found was implements one hollow interface called InterfaceWeb, just to mark the classes that works on web and desktop, although our system isn't perfectly object oriented, this solution was the worst that I ever seen. At least I think this way and I'd like to know if someone agree, disagree or have some explication for this choose.
[]s

Matheus.Omega.Mendes wrote:
Well one solution that they found was implements one hollow interface called InterfaceWeb, just to mark the classes that works on web and desktop, although our system isn't perfectly object oriented, this solution was the worst that I ever seen. At least I think this way and I'd like to know if someone agree, disagree or have some explication for this choose.Hard to say without actually seeing it. Probably not a good idea.
Presumably the design was driven by time to market and cost rather than just because the developers didn't want to refactor.
As per the other suggestion, normally besides breaking the layers out you could share common functionality with a layer of its own (or several)

Similar Messages

  • When I try to read my rss-feed through yandex service, the browser and the whole system freeze for a significant amount of time. This started with Firefor 5 and is very unpleasant. Thank you in advance.

    When I try to download (and especially renew) a page with my rss-feed that I read with Yandex service, the browser freezes, and then the whole system freezes. It typically takes about 5-7 minutes to load a very minimalistic page, and I can't use my browser or my system during that time.
    This started with the release of Firefox 5. I use it on Ubuntu. I haven't experienced similar problems with any other websites.
    I have already contacted the Yandex team about the matter.
    I guess it's just a little weird that one of the Yandex services won't work in Firefox, as Firefox comes with a built-in yandex-bar in many cases. And it sure is frustrating.
    Thank you very much and I am looking forward to your reply.

    Firefox Hangs
    https://support.mozilla.com/en-US/kb/Firefox%20hangs
    Check and tell if its working.

  • If I connect one or two ext HD to my MacBook, does TiCaps backup and update the whole system?

    I would like to organize my new MacBookPro in this way: an external HD for my photographs, another for my music and documents on internal HD.
    I am going to buy Time Capsule to back up the whole system. Might it work? Thank you all.

    In addition to Kappy's comments, you will need to insure that the hard drive is formatted correctly to work with Time Machine and the Time Capsule.
    That would be Mac OS Extended (Journaled).
    Unless the hard drive is specifically sold for use with Macs, it will probably be pre- formatted for Windows, so you will need to use Disk Utility to format the drive before you use it.
    Disk Utility is located as follows: Macintosh HD > Applications > Utilities > Disk Utility

  • IMovie has frozen up on me. I've tried rebooting and reinstalling the apps- no help. I can play some of the files- but I can't get into the libraries.Even when I can get something to play the whole system crashes after a few minutes. What can I do?

    I desperately need your help. I was working on iMovie last night when the thing froze up on me. I've tried rebooting. I've tried reinstalling the apps. No change. I can play some of the files- although I can't tell which ones will play until they magically appear. I can't get into the project library or the event library. The bar that lets me scroll through the clips is gone. Even when I can get something to play the whole system crashes after a couple of minutes and generates a "problem report" that says "iMovie Quit Unexpectedly". This all started when I was adding cutaways- and one clip just would not load. After I tried several times everything froze up. Have you ever heard of something like this? Maybe I pushed a button or somehow changed a setting? Maybe some of the video is corrupt? What do you recommend?
    Thanks for any advice you can offer!

    I have tried all the above and nothing seems to work. Any other suggestions?

  • Installing x11 without installing the whole system?

    I did not install x11 when I installed Tiger on my Mac G5. I have now, via a number of updates, moved to version 10.4.10.
    Sadly, when I insert my system install disk it will not let me install x11 without installing the whole system. That is a risky and impractical situation at this point.
    Is there a way to install x11 without installing a whole new system?

    On the Installer Disc One there is an installer named 'Optional Installs.' You can install the X11 software from that package without reinstalling OS X.

  • To reinstall the whole system using the recovry cd

    Product: Notebook Toshiba tecra A4.
    As the system files were corrupted i tried to recover the whole system. After inserting the recovery cd and copying the files i removed the cd and restart the computer. It comes up to the field where i have to give the computer a name. At this moment it freezes. No reaction at all. I reaptedly tried and waited each time up to 20 to 30 minutes. there is no responce at all. how can i fix this proble?

    It is very strange because units and recovery procedure are tested before the units are delivered. If you didn?t change Hardware configuration and you se it without any external devices you should clarify this with your local dealer or with Toshiba authorized service partner directly. Call them and explain the situation.
    I don?t know how old your unit is but if there is some serious problem the valid warranty will cover the repair costs.
    Sorry pam but I am really out of idea.
    Anyway good luck and if you find out what the problem is please let us know because your issue is really individual case on Tecra thread.

  • HT3140 put a date 1970 june 27 . and now the whole system is out of control i cant get to internet cannot change date and time  always when i opened system preferences stays in a waiting mode but doesnt show any opcion don t know what to do and i just bou

    put a date 1970 june 27 . and now the whole system is out of control i cant get to internet cannot change date and time  always when i opened system preferences stays in a waiting mode but doesnt show any opcion don t know what to do and i just bought this computer

    It may well be a driver issue but considering the loading: Xorg trying to load different drivers is somewhat normal. @cafe you can see that these are autoconfigured by X above the loading in the log:
    Jul 20 19:48:24 arch gdm-Xorg-:0[216]: (==) Matched intel as autoconfigured driver 0
    Jul 20 19:48:24 arch gdm-Xorg-:0[216]: (==) Matched intel as autoconfigured driver 1
    Jul 20 19:48:24 arch gdm-Xorg-:0[216]: (==) Matched modesetting as autoconfigured driver 2
    Jul 20 19:48:24 arch gdm-Xorg-:0[216]: (==) Matched fbdev as autoconfigured driver 3
    Jul 20 19:48:24 arch gdm-Xorg-:0[216]: (==) Matched vesa as autoconfigured driver 4
    As long as one of the drivers gets loaded, which it apparently does the failing of the others is fine.
    Was there an update maybe ?

  • How can I back up the whole system?

    I want to try re-install the whole system because some software do not work properly, especially gcc-software but I really need it for my work and I don't know what to do, I tried everything and I think that the only one solution is to be like a Windows-users and to re-install the whole system. But I would like to have an opportunity to get back my system in case of it will not work.
    Can I use something to back up my system?

    Use a program such as the Disk Utility, Carbon Copy Cloner, or SuperDuper to create a clone on an external drive.
    (91805)

  • Is rosetta killing the shadows of the whole system?

    is rosetta killing the shadows of the whole system?
    when i start an adobe app which needs rosette (photoshop, indesign, illustrator .. all CS2), all shadows of all windows (finder, mail .. every dropped shadow of any app in the whole system) are broken (ugly black lines instead of the smooth shadows).
    i have to restart the macbook to solve this problem. very anoing.
    ms office is doing well .. no such problem.

    I'm having the drop-shadow problem, too (it's been showing up on my MacBook since the machine arrived three days ago); for those who haven't seen it, here's a screen capture.
    But for me, it doesn't appear to be a Rosetta issue. I can sometimes use Rosetta apps (like Eudora) for hours without it happening, and when it does happen for me, it's often just on one or two windows, in apps like Terminal and Finder.
    I called Apple Support yesterday; they said to take it in to a Genius bar. I did that today; the Geniuses on duty (who were very friendly and polite) said they'd never seen anything like it. One of them recommended re-seating the RAM (I haven't done that yet, but will shortly), and if that didn't work, doing an archive-and-install. Which I can do, but it's a little frustrating; this happened right out of the box (modulo my files and apps that got copied over from my PBG4, which of course didn't have this problem), so I don't think reinstalling the OS is going to help. But I suppose it's worth a try. (The Genius offered to do the reinstall for me, of course, but I hadn't quite backed up everything so I declined.)
    Anyway, I'm posting 'cause (a) I wanted to let you know you're not alone, (b) I wanted to weigh in on the Rosetta aspect, and (c) I wanted to point people to the screen snap in case they haven't seen it.
    I suppose I may as well point to my full journal entry for more details.
    MacBook   Mac OS X (10.4.6)  

  • Mac OSX 10.6.8 - The whole system crashes while navigating in Soundcloud

    While navigating in soudcloud the whole system crashes and I have to force restart in my laptop (Macbook pro 2010)
    Back to Safari?

    We're sorry to hear that Firefox is crashing when you open it. Please do the following to give us crash IDs that will help us understand more about the crash.
    #'''(OS X 10.6 or previous)''' Click the '''Finder''' icon in the dock. Your home folder will be selected. In the right side of the window, click the Library folder to open it. Then open the "Application Support" folder, the "Firefox" folder, the "Crash Reports" folder and finally the "submitted" folder.<br>'''(OS X 10.7 or above)''' Click the '''Finder''' icon in the dock. On the menu bar, click the '''Go''' menu, hold down the '''option''' or '''alt''' key and select '''Library'''. A window will open containing your Library folder. Then open the "Application Support" folder, the "Firefox" folder, the "Crash Reports" folder and finally the "submitted" folder.
    #Open the 5 most recent files with a text editor and copy the IDs.
    #Paste each ID with '''bp-''' into the reply window on the forums.
    Thanks in advance!
    You can find more information and troubleshooting steps in the [[Firefox crashes]] article.

  • I was running Lightroom 3.6 with the OS Windows XP (Sp3). The whole system crashed, I am unable to recover the serial number. I then upgraded my OS to Windows 7 (x64) and down loaded Lightroom 4.4, I wanted to buy a licence so I then upgraded to Lightroom

    I was running Lightroom 3.6 with the OS Windows XP (Sp3). The whole system crashed, I am unable to recover the serial number. I then upgraded my OS to Windows 7 (x64) and down loaded Lightroom 4.4, I wanted to buy a licence so I then upgraded to Lightroom 5, now when I try to register I am asked for the original licence/serial number. Where do I go from here??????

    If you upgraded from 3.6 to 5 (you didn't indicate buying 4.4) then you will need the serial number from 3.6 in order to be able to use 5.  If you did not keep a record of it there is a chance it might be available thru your Adobe account online, but if not, there is likely not much you can do except to return the upgrade and purchase a full version.  Try contacting support using chat and explain your situation to see if they can help.
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )
    If you did purchase 4.4 then that should be sufficient to use to activate 5.
    I can never be sure what goes on with Lightroom, and the Adobe site (even when it works properly) makes finding information about products difficult these days so I am at a loss to confirm anything I say.

  • What is going on with Forms Central? The whole systems seems to be down.

    What is going on with Forms Central? The whole systems seems to be down. And why has my login window for the last few months become so small its almost unreadable?

    tgostkowski1 wrote:
    >> And why has my login window for the last few months become so small its almost unreadable?
    I don't understand what you mean by this. Can you please elaborate and/or include a screenshot?
    Thanks,
    Shannon

  • Time machine on Lion crashes the whole system when used with external HD

    Hi all,
    Anybody got the same problem? I did a Time Machine backup just before I did the upgrade to Lion (using an external USB HDD) after the upgrade (that went well in my opinion) when I ask TM to do another backup it stays on "Preparing" indefenately and ultimately crashes the whole system ( reset with ctrl+cmd+power button) is required otherwhise the system stays non reactive.
    Regards,
    Iwan

    Start by verifying your internal HD, and repair your backups, per #6 in Using Disk Utility.
    If that doesn't help, see #D6 in Time Machine - Troubleshooting for a possible way to cancel the backup.  If that works, use the widget in #A1 there to display the backup messages from your logs.  Locate the backup in question, then copy and post all the messages here.

  • Whenever I plug my ipod into the aux line on my Pioneer sound system in my car, the whole system crashes.  WHY??

    It didn't used to.  It doesn't matter if the battery is full, empty, or in between.  Even if the system has been playing Sirius for a long time, as soon as I plug in my ipod, the whole system crashes, restarts, crashes, restarts, etc.  What can I do??

    Try connecting another device.
    You can also try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                             
    - Restore to factory settings/new iOS device.

  • I am getting no sound from my headphones. I've tried several headphones, did the whole system preference thing, and tried the option command reboot. Whats next?

    I am getting no sound from my headphones. I've tried several headphones, did the whole system preference thing, and tried the option command reboot. Whats next?

    I have tried all the above and nothing seems to work. Any other suggestions?

Maybe you are looking for

  • How to position the cursor at the end of the text with EDIT_TEXT?

    Hello, it wanted to ask to them if somebody could make work the module of function EDIT_TEXT so that it positions the cursor at the end of the text that is visualizing in the text editor. In the documentation it says that passing a ' X' to him in the

  • Where have my menu bars gone for full screen apps?

    Hello Liking Lion so far but a quick query: When I first started using it, I could make the menu bar appear in a full screen app by simply moving the cursor up to the top of the screen and holding it there - the menu bar would appear within a second.

  • Worm virus listed in Bluetooth devices - what is this and how can I remove it?

    When I go into the Bluetooth menu, a device appears called Worm Virus 00011100101011110 as not paired. I have other apple iPhones and they do not list this device. I think it might be a virus. Has anyone seen this before and how do I remove it?

  • Do Not Generate SQL before running

    Post Author: beginner~~ CA Forum: WebIntelligence Reporting Dear all, Does anyone know where I could find the corresponding option in Web Intelligence for "Do Not Generate SQL before running" (in Desktop Intelligence)? Thanks. Best Regards,

  • Restore function not working

    I backup two iMacs to a Time Capsule and all has worked perfectly since last August. A week ago I entered Time Machine to restore a file and found that the Restore button was dimmed and did not respond. I tried the other iMac with the same result. Ev