人気記事 この記事タイトルとURLをコピー Twitter Share Hatena Pinterest LINE
前回は簡単なEJBコンポーネントの作成方法と@EJBというアノテーション(注釈)を使ったDI(Dependency Injection:依存性の注入)について説明しました。今回は,EJBを使ったアプリケーションにおいて利用頻度の高い「セッションBean」と「宣言的トランザクション」について解説します。 セッションBeanは,主に業務ロジックや業務フローを実装するEJBのコンポーネントです。通常のJavaクラスに@Statelessや@Statefulなどのアノテーションを付けることで作成できます。 またEJBでは,トランザクションの管理をコンテナに任せることで宣言的トランザクションを利用できます。宣言的トランザクションとは「トランザクションの開始や終了,トランザクションの振る舞いをプログラム・コードとして明示的に記述するのではなく,アノテーションやXMLファイルなどを利用してプログラム・コ
入門以前 Chapter1 Introduction Chapter2 Entities 2.1 Requirements on the Entity Class 2.1.1 Persistent Field and Properties、2.1.2 Example 2.1.3 Entity Instance Creation, 2.1.4 Primary Keys and Entity Identity, 2.1.5 Embeddable Classes, 2.1.6 Mapping Defaults for Non-Relationship Fileds or Properties 複合プライマリキーを使ってみる 2.1.7 Entity Relationships 2.1.8 Relationship Mapping Default 2.1.8.2 Bidirectional Man
Posted by ss141213 on December 15, 2005 at 08:59 AM | Comments (17) The Java Persistence API is the standard API for the management of persistence and object/relational mapping in Java EE 5 platform. Every Java EE 5 compatible application server will support this API. Earlier I had written about how to use Java Persistence API in a web application. This time I shall extend the example to include E
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く