Hi I want to develop a small application with the following requirement:
I need a servlet(or any java program) which will run in tomcat, waiting to receive XML files form another application B. Once an XML message is received my application will store the XML in a database and send back a message to B.
I am lost about where to start and how to go ahead. Will it be possible for anyone to give me some idea, sketch, skeleton of how to go ahead ?
Your help will be deeply appreciated.
Joined: Oct 12, 2000
you've described the inner workings of your servlet quite well. Now all you have to do is translate it into code.
That part is your job, if you run into trouble with well specified parts of that process people will be happy to give you assistance for those specific problems but don't expect us to write the whole thing for you...
Joined: Dec 05, 2002
I want to know do I need to use JMS (I haven't used it before)?
- What do i need to write to receive XML ? - How do I write it to dB ( Do I need to write entity bean for this? ) - How do i send a message back to the sender (app B) that the an XML is received ?
I am not asking someone to write it for me , but I would like someone to drive and give me some input of how to go about with it .