JavaBeans

JavaBeans(ジャバ ビーンズ)とは、Javaで書かれた再利用可能なソフトウェアコンポーネントまたはその技術仕様のこと�…

JavaBeans

JavaBeans(ジャバ ビーンズ)とは、Javaで書かれた再利用可能なソフトウェアコンポーネントまたはその技術仕様のこと。JDK 1.1で導入された。Java SEjava.desktopモジュールのjava.beansパッケージと共にRAD環境の構築を支援するために作られた。現在ではjava.beansパッケージの技術を活用し、RAD環境の構築に限らずJSP等幅広い用途で利用されている。

概要

JavaBeansはプログラムの再利用を目的としており、汎用的なロジックで構成されているクラスである。Javaで作成された移植可能なプラットフォームに依存しないコンポーネント・モデルで、JavaBeans仕様に従う[1]。 サーバーサイド向けのJavaBeansはEnterprise JavaBeansと呼ばれている。 java.beansパッケージには、JavaBeansの要件に沿ったGUIコンポーネントを編集するためのインターフェースとなるクラスが用意されており、それらのクラスを利用することでRAD環境の開発者はGUIコンポーネントのクラスに依存しないRAD環境を構築することができると共に、構築を効率化することができる。

JavaBeansの必要条件

など。

役割

ObservablePropertyChangeSupportと組み合わせることでModel View Controller(MVC)ではModelに相当する役割をさせることができる。

注釈

  1. ^ オラクルの用語集より

関連項目

外部リンク

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.