Tutorial :Communication between Intranet Applications



Question:

I have two separate web applications, both in the same intranet.

One of the two is a legacy application, strictly a static site, being served via Apache.

The other application is new, one that I am currently building, and will be a dynamic site, with a database.

In the first application I want to have a few form pages, that collect information, and have the information processed (posted to) and saved in the second applications database.

I have never had an application accept a post from a different application, so I do not know the best way to proceed. If there is a better idea than doing a post, please say so. Also, do I need to do anything in particular, like a particular configuration, to have the second application accept information from the first application.

In case it matters, I have full control of the second application, and thus far I am using Glassfish as the application server, java as the language, and I am using Spring.


Solution:1

Yes, you're describing a situation where your new site is basically a RESTful web service providing functionality to your old, legacy site. There is nothing wrong with this architecture ... in fact, it's quite common. :)


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »