application Integration
-
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)
-
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)
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.
-
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.
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.
-
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)
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
-
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.
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[^]
-
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.
-
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[^]
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)