Spring
spirng-bootには組み込みコンテナがあるので、開発時にアプリケーションサーバ上で動かしたいケースはアンマリ無いが、一応メモ。といっても、jarからwarに変更する際の手順をやればよいだけ。参照:https://docs.spring.io/spring-boot/docs/current/refere…
http://javarevisited.blogspot.jp/2017/08/difference-between-restcontroller-and-controller-annotations-spring-mvc-rest.html を読んだ。実はspringよく知らずに使っている。 Difference between @RestController and @Controller Annotation in Spring…
http://javarevisited.blogspot.jp/2017/08/what-does-internalresourceviewresolver-do-in-spring-mvc.html を読んだ。 What does the InternalResourceViewResolver do in Spring MVC? InternalResourceViewResolverはSpring MVCフレームワークのViewResol…
背景 たとえば、Spring BatchをCommandLineJobRunnerを使用するjavaコマンドで起動し、そのjavaプロセスの終了ステータスをシェルスクリプトで取得して何らかの条件分岐を行いたい、とする。基本的には、Spring Batchはその終了状態に応じて0,1,2を返すので…
JTAの実体はWildFlyを使用してSpringの設定を行う。 環境 jdk1.8.0_131 Eclipse 4.6.3 WildFly Full 10.1.0.Final ubuntu 16.04 Oracle Database 11g Release 2(11.2.0.1.0) Enterprise Edition PostgreSQL 9.5.6 ojdbc6.jar postgresql-42.1.1.jar 事前準備…
http://kagamihoge.hatenablog.com/entry/2017/05/17/234536 の続き。 5.8 Method Security version 2.0以降のSpring Securityではサービスレイヤーのメソッドにセキュリティを付与する機能が大幅に進化しました。フレームワーク固有の@Securedアノテーショ…
Spring Security Reference http://docs.spring.io/spring-security/site/docs/4.2.2.RELEASE/reference/htmlsingle/ のI. Prefaceをなんとなく訳した。 Spring Securityちょっと勉強したいな、と読み始めたけどI. Prefaceは長めのチュートリアルって感じで…
最近になって知ったのだけど、spring-batchには原始的ではあるものの良くある処理についてはクラスが用意されている。例えばSQL食わせるとreaderとして実行してくれるヤツとか。既存部品だけで素朴なものCSV出力くらいなら作れるっぽかった。なので、xmlのbe…
http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/#jdbc をテキトーに訳した。※途中で飽きたので一部抜けあり。 18. Data access with JDBC 18.1 Introduction to Spring Framework JDBC Spring Framework JDBCの抽象化が…
http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/#dao をテキトーに訳した。 17. DAO support 17.1 Introduction SpringのData Access Object (DAO)サポートの目的は一貫性のある方法でJDBC, Hibernate, JPA, JDOなどのデ…
http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/ をテキトーに訳した。 16.6 Programmatic transaction management Spring Frameworkではプログラム的なトランザクション管理には二つの方法を提供しています。 Transacti…
http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/ をテキトーに訳した。 Part V. Data Access リファレンスドキュメントの当パートでは、データアクセスおよびデータアクセスレイヤとビジネスもしくはサービスレイヤーと…
Spring Framework Reference Documentation 4.1.xを途中までテキトーに訳した一覧 - Qiita だいぶ英語のドキュメント読む力上がった気がする。
http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/ をテキトーに訳した。Spring Framework Reference Documentation 4.1.xのIII. Core Technologies 9. Aspect Oriented Programming with Springの9.5までをテキトーに訳し…
http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/ をテキトーに訳した。Spring Framework Reference Documentation 4.1.xのIII. Core Technologies 8. Spring Expression Language (SpEL)をテキトーに訳した - kagamihoge…
http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/ をテキトーに訳した。Spring Framework Reference Documentation 4.1.xのIII. Core Technologies 7. Validation, Data Binding, and Type Conversionをテキトーに訳した …
http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/ をテキトーに訳した。Spring Framework Reference Documentation 4.1.xのIII. Core Technologies 6. Resourcesをテキトーに訳した - kagamihogeの日記の続き。 はてなブ…
http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/ をテキトーに訳した。Spring Framework Reference Documentation 4.1.6のIII. Core Technologies 5.12から5.16までをテキトーに訳した - kagamihogeの日記 の続き。 6. R…
http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/ をテキトーに訳した。 5.12 Java-based container configuration 5.12.1 Basic concepts: @Bean and @Configuration Springの新しいJavaコンフィグレーション(Java-confi…
http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/ をテキトーに訳した。 読んでる途中で4.1.5から4.1.6になったけど、まぁタブン大きくは変わらんでしょう。 5.9 Annotation-based container configuration Springの設定…
http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/ をテキトーに訳した。Spring Framework Reference Documentation 4.1.5のIII. Core Technologies 5.4.5までをテキトーに訳した - kagamihogeの日記の続き。 今度はmanage…
http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/ のPart IIIをテキトーに訳した このあたりからbeanを訳すのに、そのまま「bean」とするか「ビーン」とカタカナにするかで迷いだし、ゴッチャになっている。通読すると違…
http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/ のPart IIをテキトーに訳した ここまでイントロダクション。 Part II. What’s New in Spring Framework 4.x 3. New Features and Enhancements in Spring Framework 4.0 …
http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle のPart Iをテキトーに訳した。 内容的にはイマサラだし、ぐぐると既に訳されている方いるから二番煎じ感あるし、序章なので技術的にはそんな大したこと書いてないんで、資…
2020/4/7 追記 本エントリは古い内容のため下記を参照してください。 kagamihoge.hatenablog.com Spring Batchをためす。 やること Getting Started · Creating a Batch Service のチュートリアルを読んでHello Worldレベルのことをやる。 環境 Java Java SE…
@kagamihoge CCCでハンズオンをおこなった @making さんの本が、とっかかりに良さそうでしたよー http://t.co/gI7XWtNsHa— Takafumi Yoshida (@zephiransas) November 19, 2014 というわけで、はじめてのSpring Boot―「Spring Framework」で簡単Javaアプリ開…