1. I just want to show how to setup complete batis project. I’ll be using example from docs. As you can read there you need at least 4 files at least:
- Configuration.xml
- BlogMapper.xml
- BlogBean.java (session bean)
- Blog.java (domain class)
So then you have ready and working object-relational mapping you can easily publish as web service by adding annotation @webservice.
Configuration.xml (more…)