🗃 {Programming/Java/org/seasar/doma} 🏷 Doma2 🏷 Java 🏷 Spring 🏷 Spring Boot 🗓 Updated at 2016-02-13T03:12:50Z 🗓 Created at 2016-01-11T12:55:16Z 🌎 English Page Doma 2のSpring Boot連携機能をリリースしたので、使い方を紹介します。 雛形プロジェクト作成 まずは雛形プロジェクトをSPRING INITIALIZRから作成します。「Search for dependencies」に"Web"と"JDBC"とH2"を入力して選択してください。 その後、「Generate Project」をクリックするとdemo.zipがダウンロードされます。zipを展開して、MavenプロジェクトをIDEにインポートしてく
きっかけ 幾度となく新規プロジェクトを作るときに、同じエラーを出して、同じ調べごとをしているのでいい加減メモっとこう。 環境 Windows10 IntelliJ IDEA Community 2018.03 今回のソースはここ。 github.com プロジェクトのテンプレ作成編 いつものSpring Initializrでプロジェクトのテンプレを作成。 Spring Bootのバージョンは理由もなく2.1.0。 依存は今回は何も使わないのでなくてもよいです。 こんな感じ。 インポート編 IntelliJにインポートする。 公式にすんごい丁寧な解説があるので、その通りです。 はじめよう! (IntelliJ IDEA) — Doma 2.0 ドキュメント ちなみにこれ取り込むときにやり忘れちゃった場合は、 ツールバーのFile->Settingsで設定画面開いて Build, Execu
Many people use containers to wrap their Spring Boot applications, and building containers is not a simple thing to do. This is a guide for developers of Spring Boot applications, and containers are not always a good abstraction for developers. They force you to learn about and think about low-level concerns. However, you may on occasion be called on to create or use a container, so it pays to und
REST has quickly become the de facto standard for building web services on the web because REST services are easy to build and easy to consume. A much larger discussion can be had about how REST fits in the world of microservices. However, for this tutorial, we look only at building RESTful services. Why REST? REST embraces the precepts of the web, including its architecture, benefits, and everyth
This guide provides a sampling of how Spring Boot helps you accelerate application development. As you read more Spring Getting Started guides, you will see more use cases for Spring Boot. This guide is meant to give you a quick taste of Spring Boot. If you want to create your own Spring Boot-based project, visit Spring Initializr, fill in your project details, pick your options, and download a bu
先月の Spring Festで『Micrometer/Prometheusによる大規模システムモニタリング 〜ヤフーインターネット広告システムでの導入事例〜』というセッションを聴講し、興味を持ったので調べました。 Micrometerは、Spring Boot Actuatorが内部で利用しているライブラリです。 参考 Spring Boot 2.0 Release Notes Micrometer 対象バージョン Spring Boot 2.1.0.RELEASE Micrometer Core 1.1.0 Micrometerとは? モニタリングシステムに依存せずに、メトリクスの取得を透過的に行う仕組み。 以下の機能を提供する。 メトリクスの収集 モニタリングシステムへの通知 メトリスクの収集(micrometer-core)とモニタリングシステムへの通知(micrometer-re
こんには!ぐちです。treeコマンドMacでフォルダツリーを表示させたい場合に使えるコマンドがあります。それがtreeコマンドです。HomebrewでインストールできますのでHomebrewのインストールがまだの方は下記のコマンドをターミナルから実行してください。ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"Homebrew — OS X用パッケージマネージャーインストール下記のコマンドでtreeコマンドをインストールすることができます。brew install tree簡単ですね!これでターミナルに... プロジェクトテンプレートを作る チュートリアルに取り組む前にまずはプロジェクトの雛形(テンプレート)を作りましょう。 こちらからさくっと取得しましょう!
Spring Boot 2 で、なるべく標準的なやり方で、トラディショナルな Spring MVC による Web Application を作成するチュートリアルを数回に分けて。 Web Application 作成の流れを、細か過ぎる説明は省き、ざっくりと一通り見ていきます。 目次 Spring MVC で Hello World Spring Data JPA でデータベースアクセス 登録・更新処理と Bean Validataion Bootstrap と Thymeleaf でページネーション Spring Boot DevTools で Automatic Restart Spring Security でログイン認証 ファイルアップロード T.B.D 今回は 「Spring MVC で Hello World」 の回となります。 環境 Java は LTS の 1.8 を使い
初投稿、今後たくさん技術知識ふやしていかなあかんので、備忘録 背景 昔々にSpring Boot(Gradle)触ったんだけども、すっかり忘れちゃったので復習も兼ねてspring bootチュートリアルをやることにしました。 あと個人的にアプリ作りたいときの一つの手段として。 事前準備 そもそもgradleが入ってないので、homebrewにてインストール。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く