12
JNDI'yi yapılandırmak için web.xml
web.xml
WebApplicationInitializer
bahar web uygulamalarındaki resource-ref
özniteliğini kopyalamaya çalışıyorum. java geneli yerine xmlServlet 3.0 Spring Java Yapılandırması JNDI
<resource-ref>
<description>Connection Pool</description>
<res-ref-name>jdbc/LocalCheddar</res-ref-name>
<res-type>javax.sql.Datasource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
:
Bunu nasıl yapardın?
Bunu işe alamıyorum. "WebConfig" ile tam olarak ne demek istiyorsun? WebMvcConfigurationSupport'u genişleten sınıf? – user871611
WebConfig - java yapılandırması (WebMvcConfigurerAdapter'ı genişletme) – ctrlspace