<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cypher256</author_name>
  <author_url>https://blog.hatena.ne.jp/cypher256/</author_url>
  <blog_title>cypher256's blog</blog_title>
  <blog_url>https://cypher256.hatenablog.com/</blog_url>
  <categories>
    <anon>Seasar2</anon>
  </categories>
  <description>通常、業務システムを開発する場合、色々な設定値をどこかに格納しておく必要があります。DB だったり、プロパティー・ファイルだったりするのですが、今回のシステムではプロパティー・ファイルを使いました。そこで、環境による違いを吸収するために、勝手に切り替わる仕組みを作るか、原始的な方法では手で書き換えるなどがありますが、S2 には Ruby の実行モードのような環境名というものがあります。条件により dicon ファイルの差し替えが可能だったりしますが、環境ごとのプロパティーなどは設定が同じファイル内の近くにあるほうが見やすいので、こんな感じにしました。 [/src/main/resources/…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcypher256.hatenablog.com%2Fentry%2F20080429%2Fp4&quot; title=&quot; 環境プロパティー - cypher256&amp;#39;s blog&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-04-29 00:00:03</published>
  <title> 環境プロパティー</title>
  <type>rich</type>
  <url>https://cypher256.hatenablog.com/entry/20080429/p4</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
