I'm trying to run my application in an embedded tomcat server using Spring-boot. I'm having my JNDI Resources and Environments configured in an XML file, placed under src/main/webapp/META-INF/context.xml in my application. When I deploy this application in a standard servlet container it works. But when I start it using an embedded server it does not recognize the JNDI resources that are present in the context files.
I tried adding the context file to the embeddedTomcatContainer programatically by using the following …
我是openerp framwork的初学者我想知道如何使用write()和create()方法,它的目的是什么?我已经阅读了openerp的文档,但我仍然没有得到它.