Jan 6th, 2012, 01:04 AM
Calling Spring fron Non-spring application
I am going to make a component that will communicate with an external partner. Other in-house applications will use my component to call services at this partner.
I am considering either using an EJB that these applications would access, or using Spring. If I go for an EJB they would simply do a lookup as usual, but what is the equivalent in Spring? What is the preferred strategy in Spring when other applications need to call a Spring Service. Note that these clients may not be Spring-applications.
Thanks in advance.
Jan 6th, 2012, 02:21 AM
Web services, MQ are other possible options where systems running on different technologies communicate with each other. There are some other factors that you must keep in mind before you choose an approach.
Is the call from external application stateful or stateless? Do you expect the transaction to be propagated with the calls? etc.
If you can give more details about the application you are looking to develop, that might help.
Jan 9th, 2012, 02:46 AM
Thanks for your reply. The calls from the internal applications will be stateless, and I dont wish to use MQ with this service.
I decided to try Springs HttpInvoker for this and it seems to work fine for now.
Tags for this Thread