Thanks for the quick reply.
My real name is Heartin Jacob Kanikathottu

( visit www.heartin.in for my original profile ) Anyway I have updated my name to Heartin Kanikathottu.
Yes, I will be using Spring Framework for setting up my service and repository/dao classes for the business logic that is not related to the UI or transport layer being used. But I should put only getting data related things in service layer and put business logic in domain layer right?
Also not clear on how other pieces will fit together.
I will make things more clear.
We have a current MQ based
ejb application that has an MDB getting the xml request, give the request to a handler and then the handler decides which java class to call based on a parameter. This specific java class will then get data from backend, create response xml and send it back.
My new requirement has to implement the same with below constraints.
1. Need to use message driven beans ( MDB ) for getting data.
2. Need to use spring
JDBC template for getting data from backend in form of hash maps.
3. Need to create response xml by populating data from that hash maps.
3. Need to use JMS template for sending data back.
I don't want to use web service here as it is MQ based. So what is the best solution for an MQ based application mentiones above.
Any help is highly appreciated.