いやーSpringは至れり尽くせりな気がする。 There are a few implementations of that abstraction available out of the box: JDK java.util.concurrent.ConcurrentMap based caches, EhCache, Gemfire cache, Guava caches and JSR-107 compliant caches. Spring Framewor ...
もっと読む
カテゴリ: Spring
ScalaのSpring MVCコントローラに@AutowiredでInjectする
これの続き。 jyukutyo.hatenablog.com 素直に@Autowiredアノテーションつけるだけでできた。 package hoge import org.springframework.beans.factory.annotation.Autowired import org.springframework.context.ApplicationContext import org.springframework.stereoty ...
もっと読む
Spring MVCのコントローラをScalaで書く
やろうとした理由は…単なる思いつき。 調べたらいろいろな方が試されてました。手順をまとめておく。 既存のアプリケーションがMavenなので、Mavenで管理する方針で。scala-maven-pluginなるものがあるので、これを使う。 <pluginManagement> <plugin ...
もっと読む
SpringでBean ValidationのMethod Validationを使う
公式リファレンスにはこうあった。 Spring-driven Method Validation The method validation feature supported by Bean Validation 1.1, and as a custom extension also by Hibernate Validator 4.3, can be integrated into a Spring context through a MethodValidatio ...
もっと読む
STSでEclipse Marketplaceを使う
アップデートサイトhttp://download.eclipse.org/releases/heliosからMarketplaceをインストールすれば、使える。 ...
もっと読む