<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ellectra</author_name>
  <author_url>https://blog.hatena.ne.jp/ellectra/</author_url>
  <blog_title>ellectraの日記</blog_title>
  <blog_url>https://ellectra.hatenadiary.org/</blog_url>
  <categories>
    <anon>JUnit</anon>
    <anon>Java</anon>
  </categories>
  <description>やることは、 1. 自前でinitialcontextを作成して、JNDIにbindしてあげる。JNDIへのbindingには、TomcatのNamingを利用するので、いつもの通り、pom.xmlに記述して取得する。 DataSourceの取得といったらconnectionの取得なので、ついでにcommons-dbcpを利用してconnection poolingするようなつくりにする。pom.xml &lt;dependency&gt; &lt;groupId&gt;tomcat&lt;/groupId&gt; &lt;artifactId&gt;naming-java&lt;/artifactId&gt; &lt;version&gt;5.0.28&lt;/ver…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fellectra.hatenadiary.org%2Fentry%2F20110719%2F1311040467&quot; title=&quot; JUNITからDataSourceを利用するためには - ellectraの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-07-19 10:54:27</published>
  <title> JUNITからDataSourceを利用するためには</title>
  <type>rich</type>
  <url>https://ellectra.hatenadiary.org/entry/20110719/1311040467</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
