Greetings!
I am trying my hand at a dummy module here.
I am trying to do something similar as appointment(Console) module given in exercise in EHSDI training exercise.
I created a new service module, and copied the respective java class code into api, and omod projects of my new module.
However I am a bit confused how should I model the earlier code's "appointment-servlet.xml" into my new modules webApplicationContext.xml, moduleApplicationContext.xml and config.xml.
Paste bin links for
Original appointment-servlet.xml:
http://pastebin.com/wFX5NmmcNew module files:
config.xml (under api project):
http://pastebin.com/BSiEkKpfmouleApplicationContext.xml (under api project):
http://pastebin.com/PFYqWFPkwebModuleApplicationContext.xml (under omod project) :
http://pastebin.com/dJPe5gG6It would be great if someone can guide about the purpose of each xml, and give a sample example considering how original appointment-servlet.xml can be divided into config.xml, moduleApplicationContext.xml and webModuleApplicationContext.xml.
Thanks and regards
Rakshit