What patterns for this application???

We have a large standalone C++ application which we are planning to port into java. Right now we are planning to port only the GUI (front end) part and retain the backend in C++ (Though, in the long long run we might even port the backend part to java but not right now). There are around 200 backend C++ programs.
In simple terms the general architecture/functionality of the current C++ application is like this.
Each front end screen will collects and passes the arguments to a common interface program
The common interface program writes the arguments into a flat file and invokes corresponding backend C++ program
The backend C++ program will read the arguments and generate an output file.
Later the front end will read the output file, parse and display it graphically.
If we want to retain the backend C++ programs for now, what is the general architecture that you would suggest and what Patterns should we consider to implement in the new version and how can they help?
Thanks
Raju

I think you should reconsider your approach. Java excels as middleware. J2EE has been far more successful than any of the Java UI API's (AWT, Swing, SWT, etc.) So, in my mind, I would first convert the back-end to Java. I would probably leave the UI as C++, maybe indefinitely. Or switch the UI eventually to a J2EE web app.
- Saish

Similar Messages

  • App-V 5.0 Sequencing Office 2010 - Cannot verify the License for this Application KMS

    Hey Guys,
    i already found some Topics about my Problem, but None of the Solutions i have found, help in my case. I hope someone can help...
    I Sequenced Office 2010 Professional Plus x86 on an App-V 5.0 Sequencer Client (x64) and streamed it to Windows 7 x64 and Windows Server 2012. While i was sequencing, i followed the Articles at
    http://blogs.technet.com/b/office_resource_kit/archive/2011/06/15/sequencing-office-2010-for-app-v-part-1-considerations.aspx and also used the Parameter:
    msiexec/i OffVirt.msi ADDLOCAL=Click2runMapi,Click2runOWSSupp,Click2runWDS,OSpp,OSpp_Core PROPLUS=1
    In the sequencing Process anything ist working fine, i can start Word, Excel... and Office is activated. When i publish the Application and stream to the Client or RDS, i get the Error message in the Screenshot.
    I also tried to create a new Package and type in the KMS Client Key directly to Office, didnt work. In a third Sequencing Process (also new Sequence) i tried with an another Script what i have found: msiexec /i OffVirt.msi PROPLUS=1 KMSSERVICENAME=”SERVERNAME”
    KMSSERVICEPORT=1688
    Please help!!
    Best regards

    I am having this same exact issue; however, I have done everything in the App-V 5.0 Sequencing document, and I have enabled Set-AppVClientConfiguration -EnablePackageScripts 1.
    The sequencer is on a Win 7 32-bit machine, so I used the following:
    msiexec
    /i OffVirt.msi ADDLOCAL=OSpp,OSpp_Core PROPLUS=1
    KMS is registered in DNS, so I shouldn't have to specify KMS.
    As soon as I start Office on a machine, setup screen comes up briefly, and then I see the: 
    "Microsoft Office cannot verify the license for this application. A repair attempt failed or was canceled by the user. The application will now shut down."
    I would use the package accelerator; however, it's a new Pro Plus 2010 build, and it says 12 files are missing from the install (files like the actual OffVirt.msi and manifest files).
    This is getting a little frustrating, as I've already tried the package 4 different times. I also tried this version:
    msiexec/i OffVirt.msi ADDLOCAL=Click2runMapi,Click2runOWSSupp,Click2runWDS,OSpp,OSpp_Core PROPLUS=1
    I am also using the latest SP2 client, Sequencer, and then the AppV 5.0 SP1 server is using the latest hotfix 4 which was released in April 2014.

  • Is there a design pattern for this?

    I'm looking for a solution to a design problem I have.
    For a restaurant booking system I need a number of different opening times describing when you can and cannot book. These opening times are essentially Jodatime Period objects. There's a set of opening times spanning a week and these are repeated for every week (a default set of opening times) however it's possible to override these opening times say for a specific day.
    The domain model would be something like a Restaurant class holding 2 Lists of OpeningTime objects one for defaultOpeningTimes and the other for overiddenOpeningTimes the overidden ones get used if they exist for the requested time period. However the database model would be a bit messy as I'd have 2 lists mapping to the same table (OpeningTime). Is that a good idea? Perhaps there's a design pattern for this, if someone could point me in the right direction I'd be very grateful, or perhaps this is the best solution? Thanks!

    jduprez wrote:
    But why do you put the logic in the database too (I'm no DB expert and I didn't know these concepts until I read your post, but that's what a dynamic view based on derived values looks like to me): performance (1 round-trip instead of two)?Hi jduprez. Long time no speakee.
    I guess part of it is that I spent many years as a DBA and modeller, and really appreciate what it's taught me about design. Also, databases are (or should be) designed from the ground up to provide data-directed requests optimally, and include all sorts of nice stuff like transaction handling that aid consistency, as well as speed.
    That said: I HATE SQL. Think Coliseum, with that emblazoned in 60-foot high letters around its walls, and it might come close to just how much I hate that so-called "language". I hate its form; I hate it's inconsistencies; I hate the fact that something like what OP is trying to do is NOT an easy task (and might involve the creation of a table that simply contains Dates, just in order to satisfy Boolean logic).
    However, once you work it out, a database view (at least from the database's standpoint; JDBC I'm not so sure about) is just like any other Table - and that I DO like.
    Programs are good at processing parameterized (ugh) temporal information; databases are good at persistence and high volume. Those two may meet at some point, but I reckon it's going to take another Codd (or Joda) before it does.
    - that's clearer to 90% of the dev team (my biased numbers, based on 50% of Java developers having decent knowledge of SQL and much less than that having the advanced SQL knowledge which I rank your suggestion at)Sounds to me like you'll get the solution that matches the skills you have then. Is that what you really want, if a better one is available?
    - that doesn't require investigating the if of your suggestion (JDBC support)Agreed, but only because my JDBC knowledge isn't what it could be. I'd also be surprised if it doesn't support access to a named view, since they were designed to be equivalent to Tables.
    - the Op is using DAOs, so it's possible, if profiling does show this is hampering performances, to change that with no impact on the client code that calls the DAO.There's no doubt that a database solution is much higher level than a programming one; but, as I said, it's what they were designed to do. And tinkering around with program optimization has the feel of a "hacker's solution" to me. Not that there's any particular problem with that - I do it quite often when I have no control over my source - but I also try to keep in mind what the "actual" problem is.
    Winston

  • Microsoft office can't find your license for this application. A repair attempt was unsuccessful or was cancelled. microsoft office will exit

    microsoft office can't find your license for this application.  A repair attempt was unsuccessful or was cancelled.  microsoft office will exit
    Please do help me for the same.  I have a valid license even updated the same today itself.
    Thanks

    Same issue, different question!
    my problem is that all my office apps hangs, then freeze and not responding (not even in /safe) and as the normal step of troubleshooting, I restarted my computer to safe mode in order to see if it happens because any third party process or service in the
    background.
    I get the same error! "Microsoft office can't find your license for this application"
    In safe mode it is impossible to start the "Software Protection" service.
    this was a base troubleshooting step up until Office 2010. what is the solution with Office 2013? (obviously, I'm not talking about clean boot, but safemode!)
    thanks
    Tamir Levy

  • Microsoft Office can't find your license for this application - multiple copies of Office 2013 x32 failing to start, Software Protection Service timing out

    We're experiencing a growing problem with our users in several different domains running in to Microsoft Office 2013 x32 'activation' issues.  We use KMS for licensing, which works properly, but some of the machines (~20-30 out of 1000+) sporadically
    throw the following error:
    'Microsoft Office can't find your license for this application.  Microsoft Office will now exit.'
    We know it's not an issue with the licenses per se, since they work on and off and we can force KMS activation correctly / talk to the KMS servers.
    It appears to be an issue with the Software Protection service not starting properly.  In Event Viewer, we see the following:
    'Software protection service failed to start due to the following error- the service did not respond in a timely fashion.
    Event 7000'
    This is occurring on a variety of machines in a variety of environments, all fully patched with the latest Office updates.  It's inconsistent, and the 'manually restart the Software Protection Service' solution is not viable as it's occurring on many
    different workstations.  Office repairs have also been unsuccessful.  
    Has anyone else come across this? Or have any idea why the Software Protection Service might be sporadically failing?  Maybe an Office update in the last 2-3 months?
    Thanks for any info.

    We're experiencing a growing problem with our users in several different domains running in to Microsoft Office 2013 x32 'activation' issues.  We use KMS for licensing, which works properly, but some of the machines (~20-30 out of 1000+) sporadically
    throw the following error:
    'Microsoft Office can't find your license for this application.  Microsoft Office will now exit.'
    We know it's not an issue with the licenses per se, since they work on and off and we can force KMS activation correctly / talk to the KMS servers.
    It appears to be an issue with the Software Protection service not starting properly.  In Event Viewer, we see the following:
    'Software protection service failed to start due to the following error- the service did not respond in a timely fashion.
    Event 7000'
    This is occurring on a variety of machines in a variety of environments, all fully patched with the latest Office updates.  It's inconsistent, and the 'manually restart the Software Protection Service' solution is not viable as it's occurring on many
    different workstations.  Office repairs have also been unsuccessful.  
    Has anyone else come across this? Or have any idea why the Software Protection Service might be sporadically failing?  Maybe an Office update in the last 2-3 months?
    Thanks for any info.

  • Help! "The iTunes application could not be opened. You do not have enough access privileges for this application"

    I am getting the following error when trying to open iTunes: "The iTunes application could not be opened. You do not have enough access privileges for this application." I am logged in with the admin (and only) user account on my laptop, so I'm confused as to why this would start happening all of the sudden.
    I poked around in the control panel trying to find random options that would fix it, but nothing has. I'm running Windows 7.
    Thanks for any help!

    have you seen this discussion ?

  • The folio for this application is missing resources

    Hi,
    In the Folio Builder I am able to build the application using the "Create App..." menu.
    When I'm trying to download the successfully built application from the DPS App Builder it says:
    "The folio for this application is missing resources. To resolve this issue, delete the folio and create a new one using Folio Builder Panel, then try building your application again."
    Thank you for your answer!
    vp

    Hello,
    I have the same problem and I have no idea how to solve it.
    When I'm trying to download the App for testing on ipad I get the message:
    Then I try to resolve this issue following instruction above and I still get the same message.
    vokopeti wrote:
    I've called Adobe Gold Support and the answer was it is not possible to create application with the folio builder throught the network anymore. We have to build the applications on the local mashine in the future.
    Following this tip I created my folio offline and then I uploaded to the folio producer and it worked.
    I was able to download both developper and distribution app.

  • WHAT CAUSES FOR AN APPLICATION TO FREEZE DURING INSTALL?

    What causes for an application to freeze during install?  and how do I fix it

    helloWorld pretty much said it all.
    When I'm looking for problems like that nothing beats a good trace file. Also don't dismiss the idea of programmer stupidity (of the one that developed the app), I've ran across code where exceptions where caught and nothing done about it, just let thing run merrily along again. The cause is usually farther back in the trace than the point it hangs or appears to start having problems.

  • Regex Pattern For this String ":=)"

    Hello All
    True, this isn't the place to ask this but here it is anyway, if you can help please do.
    Can anybody tell me the regex pattern for this String:
    ":=)"
    Thanks
    John

    Yep, cheers it's ":=\\)"
    public class Test {
         public static void main( String args[] ) {
              String s = "one:=)two:=)three:=)four";
              String ss[] = s.split( ":=\\)" );
              for( int i=0; i<ss.length; i++ )
                   System.out.println( "ss["+i+"] = {" + ss[i] + "}" );
    }resulting in:
    ss[0] = {one}
    ss[1] = {two}
    ss[2] = {three}
    ss[3] = {four}

  • Adobe Air Aplication descriptor could not be found for this application

    Can You Please help me it s so importan i downloaded program and it required adobe air i downloaded it then it says aplication descriptor could not be found for this application

    I have the same problem,I downloaded program
    And it required adobe air, then I downloaded adobe air but then when I tried again to open that program I get an error message says application descriptor could not be found for this application. Try re-installing or contacting the publisher for assistance
    would you please help me.

  • I am trying to open pptx files on my MacBook Pro and continue to get "No Text Converter is installed for this application" even though I have dowloaded several converters that were supposed to work and I just downloaded Apache Open Office 3.4.1

    I am trying to open pptx files on my MacBook Pro and continue to get "No Text Converter is installed for this application" even though I have dowloaded several converters that were supposed to work and I just downloaded Apache Open Office 3.4.1 with no luck.  I am able to open docx files with the converters I have installed but not pptx files.

    The PPTX file type is primarily associated with 'Power Point' by Microsoft Corporation.
    This is the new format for Microsoft Office documents.
    It is a combination of XML architecture and ZIP compression for size reduction.
    To open Office 2008 for Mac documents (format .xlsx, .docx, .pptx) in Office for Mac 2004, you must download and install the Open XML File Format Converter. This article describes how to obtain and install the Open XML File Format Converter for Mac.
    more here:
    http://support.microsoft.com/kb/968200
    Instead of all that, and buying OfficeMac etc...
    Try to see if the FREE LibreOffice suite will open the file on your Mac.
    http://www.libreoffice.org/

  • BDT-DC is not prepared for this application object

    Hi,
    I am getting this the error message:
    BDT-DC is not prepared for this application object
    when I try to create an extension.
    I cam across the following thread:
    EEWB
    In this thread it is given:
    Hi,
    The xdcflag in the table TBZ1 needs to be set.
    Please follow the steps mentioned below.
    1. Start the transaction SM30.
    2. Enter the name of the Table/View as V_TBZ1_DC.
    3. Press the 'Maintain' button.
    4. Double click on the Application Object you are trying to extend(for
    e.g., BUPA)
    5. Mark the checkbox 'Active in DC' under the section 'BDT DC Settings'.
    6. Save the data.
    You can refer to note 955236.
    When i follow the above steps it says that:
    Do not make any changes (SAP entry).
    Please Guide.
    Regards
    Shilpi

    Hi Smita,
    I am unable to start the wizard.When i choose Start Wizard I get this error message and the wizard is not started.
    Regards
    Shilpi

  • I have a multifunctional Canon i-SENSYS MF4140 and Mac Book Air Mac OS X 10.7.3 Lion (11D50b). I have a problem because I can not scan, it is not driver for this application?

    I have a multifunctional Canon i-SENSYS MF4140 and Mac Book Air Mac OS X10.7.3 Lion (11D50b). I have a problem because I can not scan, it is not driver for this application?

    I see printer drivers from Canon for that printer for OS X 10.7. but not scanner drivers. If the MF4140 is not recognized by the Image Capture application and Canon technical support cannot offer any assistance, all I can think of to suggest is to try a third-party scan application such as VueScan:
    http://www.hamrick.com/vuescan/vuescan.htm
    They offer a free trial period so you can see if it works with your Canon.
    Regards.

  • EJB modules were found for this application

    I'm deploy may application on weblogic server 10R3
    myejb.jar file is deployed success
    When I deployed mayapp.war, the following error occured.
    *weblogic.deployment.EnvironmentException: [J2EE:160167]The module jvcwebapp.war in application jvcwebapp uses ejb-links but no EJB modules were found for this application.*
    web.xml
    <ejb-local-ref>
    <ejb-ref-name>ejb/local/SessionEJB</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local>model.SessionEJBLocal</local>
    <ejb-link>SessionEJB</ejb-link>
    </ejb-local-ref>
    thanks
    Thiensu2810

    The module abc-ViewController-context-root in application abc_Project1_abc uses ejb-links but no EJB modules were found for this application
    Is the application deployed as an EAR application with web and ejb modules? If not, deploy as an EAR application.

  • Microsoft office can't find your license for this application. A regular attempt was unsuccessful or cancelled.

    I am unable to open any of the office application while doing that getting below error.
    "Microsoft office can't find your license for this application. A regular attempt was unsuccessful or cancelled".
    Tried few steps from TechNet however nothing helped.
    Please help me to resolve this issue.
    Regards,
    Mahadev

    You can try that: https://social.technet.microsoft.com/Forums/windowsserver/en-US/6119d4c0-c3c0-40bf-9c3e-46b46915e738/service-not-start-access-denied-software-protection-event-logs?forum=winservergen
    It speaks about a similar problem.
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

Maybe you are looking for

  • Is there a way to disable itunes control from the album art work screensaver?

    i like the screen saver, but more often i endup playing some random track when i try to get out of the screensaver state.

  • Deficit of BA Unrestricted-use 1 MC : BIX10001 1BIS 0004 0000034074 Message

    Dear Friends , in MMBE report stock is available with me. but when i do plant to plant transfer with mov. type 301. system gives me error - Deficit of BA Unrestricted-use 1 MC : BIX10001 1BIS 0004 0000034074 Message no. M7021 why actauly quantity is

  • Disolves or Fade To Black With a Key

    Using Premiere 2.5, I have a foreground clip color keyed for a background clip to show through. When I disolve or fade the foreground clip shows a level of transparency allowing the background clip to show through. Varying the time slightly doesn't s

  • Cannot Power On the virtual machine

    When I was trying Live Migration (hostname:'foo'), it failed. And I rebooted all Virtual Server and Management Server, but I can't boot the machine 'foo' anymore. The error log says, failed:<Exception: vm('/OVS/running_pool/77_foo') status ('PROCESSI

  • 641 movement type in Project

    Dear Experts, Is it possible to assign movement type 641 in Project for non valuated material (packaging material). I have checked it in T_CODE: OPT1, where we can maintain single movement type at a time. Our requirement is for both 281 and 641moveme