I have a requirement to integrate desktop applications with a centralized web (or say web service) java application.
We are looking at the best integration options with desktop applications and accordingly that will drive the type of java application (web service or pure web app or JMS client based)
These desktop apps are written in some ancient language and installed in the desktop of each user. The users interact with this desktop app the end result of the app being a pdf file which gets e-mailed to the company data center.
Now we want the desktop apps to make use of the java application mentioned above. We don't want to go with the approach of building the app as a library and bundling it within each user's desktop as the java app which we plan to build is database intensive and due to other factors which tilt the scale in favor of server side based web applications.
I would like to know your thoughts on what are the best options available for such a situation something like best practices and pitfalls associated with desktop app integration with server side apps.