JJUG CCC 2017 Fall での発表資料です ◆githubにサンプルプロジェクトあげてます https://github.com/maeharin/kotlin-dvd-rental-dev ◆Kotlinのイベント「どこでもKotlin」を開催してます! https://m3-…

9. その①:使う側が自分で用意する • 使う側のプログラムが長くなる – 本質ではない処理が入り込む • 依存するオブジェクトの設定を変更したり、具象クラスを変更する場合は 、使う側のプログラムを修正する必要がある 9 public class FooDao { private DataSource dataSource; public FooDao() { BasicDataSource dataSource = new BasicDataSource(); dataSource.setDriverClassName("com.mysql.jdbc.Driver"); dataSource.setUrl("jdbc:mysql://localhost:3306/foo"); dataSource.setUsername("foo"); dataSource.setPassword("f
ドメインロジックに焦点をあてる。 それが、ドメイン駆動設計の基本。 ドメイン駆動設計の考え方とやり方の説明と、実践基盤としての Spring Framework/Spring Boot を使った事例の紹介。Read less
JJUG CCC 2016 Spring で発表した時の資料です。
1. Consumer Driven Contractsで REST API/マイクロサービスをテスト Toshiaki Maki (@making) Sr. Solutions Architect @Pivotal 2016-06-08 M3 Tech Meetup 2. Who am I ? •Toshiaki Maki (@making) •https://blog.ik.am •Sr. Solutions Architect •Spring Framework enthusiast Spring Framework 徹底⼊⾨ (Coming Soon?) パーフェクト Java EE (Coming Soon?)
There are already a few questions about the topic, but no response at all really provides arguments in order to explain why we shouldn't make a Spring MVC controller Transactional. See: Transaction not working correctly - Spring/MyBatis For web MVC Spring app should @Transactional go on controller or service? Making Spring 3 MVC controller method Transactional Spring MVC Controller Transactional S
This week, Juergen announced the Spring Framework 4.1 release candidate. Now is the time to test those new features and see how they can make your applications better! One of those new features is the flexible resolution and transformation of static web resources. Spring framework already allows you to serve static resources using ResourceHttpRequestHandlers. This feature gives you more power and
背景SpringBoot Acuatorについて動作確認したので、そのあたりのことをメモっときます。 概要 » Spring Boot Actuator でサーバの状態を確認する TECHSCORE BLOG 簡単にいうと、Spring BootアプリケーションにAcuatorを適用すると、アプリケーションの設定や状態を取得できるWebAPI(JSON)が自動で追加され、それらの情報がWebAPI経由で取得できるようになります。 適用するビルドスクリプトに依存を追加する Spring Boot Actuatorプロジェクト 設定は必須 https://github.com/spring-projects/spring-boot/tree/master/spring-boot-actuator Spring Boot Actuatorドキュメント 設定は任意。追加するとActuatorについ
こんにちは、鈴木です。 Spring Boot の続きです。Spring Boot Actuator を使うと、システムの状態やメトリクスを確認することができます。 Spring Boot Actuator を導入する 導入方法は pom.xml に追記するだけです。 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> ... <dependencies> <!-- 追加: ここから --> <dependency> <groupId>o
今回は2015年11月にバージョン1.0.0がリリースされ、2016年4月19日に1.1がリリースされたmybatis-spring-boot-starterの使い方を紹介します。 MyBatisをSpring Boot上で使う際は、mybatis-springから提供されているSqlSessionFactoryBeanやSqlSessionTemplateのBean定義を開発者が行う必要がありましたが、mybatis-spring-boot-starterの登場によりこれらのBean定義は自動コンフィギュレーションによって解決されます まずは、実際にmybatis-spring-boot-starterを利用して簡単なCLI(Command Line Interface)アプリケーションを作ってみます 。 Note: 2019/7/16: 追記 JDK 13で導入予定(現時点ではPrev
2. 2Copyright©2016 NTT corp. All Rights Reserved. • 名前:岩塚 卓弥 • 所属:NTT ソフトウェアイノベーションセンタ • NTTの研究所のうちソフトウェアを専門に扱う • 自部署ではソフトウェア工学を研究 • Springベースのグループ共通フレームワークの整備を担当 • Spring関連: • Spring I/O, SpringOne それぞれ2015,2016に参加 • 改訂新版 Spring入門,Spring徹底入門 レビュアー • JSUG幹事 Introduction 3. 3Copyright©2016 NTT corp. All Rights Reserved. • 名前:堅田 淳也 • 所属:NTT ソフトウェアイノベーションセンタ • NTTの研究所のうちソフトウェアを専門に扱う • 自部署ではソフトウェア工学を研
今回は、Spring Boot 1.5.RC1の主な変更点を、リリースノートベースで紹介したいと思います。(1.5の正式リリースは今のところ2017/1/25に設定されており、まだまだ変更が入ると思いますが。。。) Note: 2017/01/15 「OAuth 2 Resource Filter」を追加。(RC1リリース後にリリースノートが修正されたため) Upgrading from Spring Boot 1.4 Spring Boot 1.4からSpring 1.5に移行する際に、影響がでる可能性がある主な変更点は以下の通りです。 Deprecations from Spring Boot 1.4 「Spring Boot 1.4で非推奨にしたAPIやプロパティキー」は、1.5で削除されます。 ちなみに・・・HornetQとVelocityは完全にサポート外になるので、Spring
今回は11/10にリリースが予定されているSpring Security 4.2の主な変更点を紹介します(なんとなくリリースは伸びる気がするけど・・・)。「Spring Security 4.1 主な変更点」の時と同様に、公式リファレンスの「What’s New in Spring Security 4.2」で紹介されている内容を、サンプルコードを交えて具体的に説明していきます。(逆にいうと、「What’s New in Spring Security 4.2」にのっていない変更点は紹介しないので、あしからず・・・ ) 4.2.0.RELEASE (2016/11/10) 予想に反して!?11/10にちゃんとリリースされました RC1のバグ修正や機能追加があったので反映しました。 動作検証環境 Spring Security 4.2.0.RC1 -> 4.2.0.RELEASE Sprin
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く