Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Design and Architecture
  4. application Integration

application Integration

Scheduled Pinned Locked Moved Design and Architecture
csharpjavadesignsysadmintutorial
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kebedetesema
    wrote on last edited by
    #1

    Hi, I am managing a large project which has mainly two parts. one ia an application being developed in JSF and Java and the other is a client server application in C#. At the end of the day the the project developed by JSF and Java will be using the second project. I don't have any idea how I can integrate the two so that they will work together. any body who can guide me in the design of the interface between the two projects and the technology I can use(if any)

    D R 2 Replies Last reply
    0
    • K kebedetesema

      Hi, I am managing a large project which has mainly two parts. one ia an application being developed in JSF and Java and the other is a client server application in C#. At the end of the day the the project developed by JSF and Java will be using the second project. I don't have any idea how I can integrate the two so that they will work together. any body who can guide me in the design of the interface between the two projects and the technology I can use(if any)

      D Offline
      D Offline
      David Skelly
      wrote on last edited by
      #2

      The answer, as so often, is "It depends". There are several options available: web services, commercial Java/.NET bridges, messaging queues (for example, MQ Series can exchange data between Java and .NET), data exchange over TCP sockets, or even something as simple and basic as a shared database. The best option depends on your exact requirements and what you mean when you say that you want these applications to "work together". There is plenty of information on Google about this for you to do your research and make a decision on the basis of your own requirements.

      K 1 Reply Last reply
      0
      • D David Skelly

        The answer, as so often, is "It depends". There are several options available: web services, commercial Java/.NET bridges, messaging queues (for example, MQ Series can exchange data between Java and .NET), data exchange over TCP sockets, or even something as simple and basic as a shared database. The best option depends on your exact requirements and what you mean when you say that you want these applications to "work together". There is plenty of information on Google about this for you to do your research and make a decision on the basis of your own requirements.

        K Offline
        K Offline
        kebedetesema
        wrote on last edited by
        #3

        thanks, but let me make the thing more clear. the client application to be called by the web based application is to be windows forms application(for the sake of performance). in that case how can i use webservices? further, the web based application is to call the user interface of the client application, fill data and then wait for response.Actually, i am new to this area and may be writing simple things.

        D R 2 Replies Last reply
        0
        • K kebedetesema

          Hi, I am managing a large project which has mainly two parts. one ia an application being developed in JSF and Java and the other is a client server application in C#. At the end of the day the the project developed by JSF and Java will be using the second project. I don't have any idea how I can integrate the two so that they will work together. any body who can guide me in the design of the interface between the two projects and the technology I can use(if any)

          R Offline
          R Offline
          Rozis
          wrote on last edited by
          #4

          As a rule of thumb i would try to couple both projects as loose as possible. This makes that most future changes in one will not influence the other. So this leaves you with 2 questions for every way you can connect those projects: 1. Will it give you max. independance for both projects? 2. Gives the solution enough performance? The technology that answers on both questions Yes is the one you're searching for... Rozis

          1 Reply Last reply
          0
          • K kebedetesema

            thanks, but let me make the thing more clear. the client application to be called by the web based application is to be windows forms application(for the sake of performance). in that case how can i use webservices? further, the web based application is to call the user interface of the client application, fill data and then wait for response.Actually, i am new to this area and may be writing simple things.

            D Offline
            D Offline
            David Skelly
            wrote on last edited by
            #5

            So, if I understand correctly: You have a JSF web application. The user connects to this application, and then the web page they are currently viewing in the browser communicates with a .NET application running on the local machine to enter data directly into one of the forms, trigger some sort of functionality and receive some data back as a response. If that is what you want, I think you may be out of luck. I don't think that you will be able to get a web page running in a browser to interact with a client desktop application in that way. I'm pretty sure the browser security will prevent that but there might be some way round it. I did find this page which might be of help as it seems to be addressing the same problem: http://stackoverflow.com/questions/126048/how-to-interact-between-web-app-and-windows-form-application[^]

            K 1 Reply Last reply
            0
            • K kebedetesema

              thanks, but let me make the thing more clear. the client application to be called by the web based application is to be windows forms application(for the sake of performance). in that case how can i use webservices? further, the web based application is to call the user interface of the client application, fill data and then wait for response.Actually, i am new to this area and may be writing simple things.

              R Offline
              R Offline
              Robin_Roy
              wrote on last edited by
              #6

              I am afraid, this is not going to work. From inside the web application you will not be able to access the client windows application and perform certain set of activities and data transaction. Where as the reverse is possible.

              1 Reply Last reply
              0
              • D David Skelly

                So, if I understand correctly: You have a JSF web application. The user connects to this application, and then the web page they are currently viewing in the browser communicates with a .NET application running on the local machine to enter data directly into one of the forms, trigger some sort of functionality and receive some data back as a response. If that is what you want, I think you may be out of luck. I don't think that you will be able to get a web page running in a browser to interact with a client desktop application in that way. I'm pretty sure the browser security will prevent that but there might be some way round it. I did find this page which might be of help as it seems to be addressing the same problem: http://stackoverflow.com/questions/126048/how-to-interact-between-web-app-and-windows-form-application[^]

                K Offline
                K Offline
                kebedetesema
                wrote on last edited by
                #7

                Ok, what about using a smart client, will that work? I think I should think of another architecture. I couldn't change the JSF web application. But I can try another means for the desktop client. The client application is a biometric authentication application(uses face and fingerprint). The JSF web application uses this application for avoiding double registration in some system. there is also some data exchange between the two applications. Can I develop it in ASP.net? I think it may be very slow as there is scanner and cammera interface and other computation. Or what should i do? The importtant thing is that the two projects should be deployed as one project(there should be some integration)

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups