Giter Club home page Giter Club logo

annotation-handson's Introduction

annotation-handson

https://kumamotojava.doorkeeper.jp/events/42272

最近のJavaではアノテーションを使ったプログラミングが行われています。 Java EEやSpring、JUnit等アノテーションを使用したフレームワークもたくさん開発されており、実際に利用されています。 しかしながら、アノテーションが何をしているのかについて判らないといった声も良く聞きます。

今回はアノテーションを使ったプログラミングを行うことで、アノテーションを使ってなにができるのかについてを学びたいと思います。 ハンズオン形式です。

#対象者 対象者としては以下の通りです。

  • Javaの基本的な構文がわかる
  • アノテーションを使ったプログラミングを行えるようになりたい

#事前準備 事前準備としてJDK 8のインストールをお願いします。 http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html ※自分の環境を選択してダウンロードしてください。

また、今回は開発環境としてNetBeans 8.1を使用します。 インストールが済んでない方はインストールをお願いします。 以下のページよりJava EEを選択してダウンロードしてください。 https://netbeans.org/downloads/?pagelang=ja (Tomcat/GlassFishのインストールダイアログが途中でますが、そちらはインストールしなくてもかまいません)

#アジェンダ 以下の通り行う予定です。

  • プロジェクト作成(事前準備)
  • リフレクションを使用したプログラミング
  • よく使うデザインパターン
  • Factoryパターン
  • Proxyパターン
  • アノテーションの作成方法
  • アノテーションを使ってみる
  • フィールドにアノテーションをつけてみる
  • 引数にアノテーションをつけてみる
  • DI(おまけ)

それぞれの章はフォルダで分けられています。ソースコードについては別フォルダに用意されています。必要に応じてそちらを参照してください。

また、このハンズオンはオンラインで行われることを想定しています。 ネットワークに繋がってない環境では行えませんのでご注意ください。

annotation-handson's People

Contributors

megascus avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

albatrosary

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.