<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nikkei225f</author_name>
  <author_url>https://blog.hatena.ne.jp/nikkei225f/</author_url>
  <blog_title>Struts 2+Spring 2+Tiles+Acegi+iBatis+GWT+JUnit 4+JMockit でフルスタックJAVAフレームワーク</blog_title>
  <blog_url>https://nikkei225f.hatenadiary.org/</blog_url>
  <categories>
    <anon>Struts2</anon>
    <anon>Spring</anon>
    <anon>Struts2Action</anon>
    <anon>Annotation</anon>
  </categories>
  <description>Annotationベースの場合に不注意で重複したBean名を付けてしまう可能性が高まるが、その場合にどうなるか確認した。Annotationで重複した名前を使った場合に、初期化時にエラーになる。 applicationContext.xml で重複した名前の場合も、初期化時にエラーになる。（EclipseのSpringIDEが入っていれば重複名を付けた時点でエラー表示）しかし、Annotationの名前とapplicationContextで付けている名前が重複してもエラーにならなかった。 後に記述されているもので上書きされているようだ。同じ名前をつけてしまわないように気をつける必要がある。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnikkei225f.hatenadiary.org%2Fentry%2F20080204%2F1202101992&quot; title=&quot;重複したBean名 - Struts 2+Spring 2+Tiles+Acegi+iBatis+GWT+JUnit 4+JMockit でフルスタックJAVAフレームワーク&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>2008-02-04 14:13:12</published>
  <title>重複したBean名</title>
  <type>rich</type>
  <url>https://nikkei225f.hatenadiary.org/entry/20080204/1202101992</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
