JavaBeans Tutorials

JavaBeans are classes written in the Java programming language. They are used to encapsulate many objects into a single object ( the bean ), so that the bean can be passed around rather than the individual objects.

The specification by Sun Microsystems defines them as " reusable software components that can be manipulated visually in a builder tool

JavaBean conventions

In order to function as a JavaBean class, an object class must obey certain conventions about method naming, construction, and behavior. These conventions make it possible to have tools that can use, reuse, replace, and connect JavaBeans.

The required conventions are:

The class must have a no - argument public constructor
Its properties must be accessible using get, set and other methods ( so called accessor methods ) following a standard naming convention
The class should be serializable ( able to persistently save and restore its state )
It should not contain any required event - handling methods
Because these requirements are largely expressed as conventions rather than by implementing interfaces, some developers view Java Beans as Plain Old Java Objects that follow certain naming conventions.

JavaBeans Tutorials Links

Design and Implement Servlets, JSPs, and EJBs for IBM WebSphere Application Server
This IBM Redbook provides design guidelines for developing e-business applications based on servlets, JavaServer Pages (JSP) and Enterprise JavaBean (EJB) technologies.

Developer's Guide to Understanding Enterprise Java Beans (PDF link)
This document is intended to serve as a primer for developers who want a technical introduction to EJB.

Introducing Java Beans
The basic idea of the Beans tutorial is to get you to the point where you can quickly create beans.

NetBeans Integrated Development Environment (IDE) 4.0 is the first open source IDE to support the new J2SE 5.0 "Tiger" language features, and is the first IDE to base its project system entirely on Apache Ant.

spoke is a library of javabeans components for signal processing. It includes fft, wavelets and Kohonen neural networks algorithms. It is aimed at the quick design, test and use of signal processing chains, for an educational or engineering purpose.

JavaBeans Short Course
The goal of this course is to introduce JavaBeans. Flexible exercises are interwoven with the course text, which allow programmers to tailor the learning process to their particular learning style (view online or download)

JavaBeans 101, Part III
In this concluding segment to the JavaBeans 101 Tutorial, you'll do more "hands-on examples, including practicing concepts you've already learned and writing more advanced Beans. You'll see how to convert old applets and JDK software, version 1.0 programs to Beans. You will learn about the AWT delegation event model; how Beans can notify other objects about change events; and see how reflection and introspection let you customize the behavior and presentation of your Beans.

JavaBeans 101, Part II
Part II of the JavaBean tutorial teaches you how to write the code for a simple JavaBean. Later, you will use the BeanBox tool to run, test, and change your Bean. You can also create JavaBeans and modify existing Beans using GUI building tools.

JavaBeans 101
This tutorial has two goals, it teaches the essentials for creating JavaBeans and explains the basic concepts behind all JavaBeans and shows how these concepts relate to practical programming techniques.

Introduction to the JavaBeans API
Learn to use JavaBeans technology to create independent, reusable, platform-independent, marketable components with Java technology. Topics include the JavaBeans architecture, event model, introspection, design and implementation, using the BDK BeanBox application, and more

Building Your First Stateless Session Bean
The intention of this tutorial is to demonstrate how easy it is to build server-side Java components using the Enterprise JavaBeans component model. In fact, ease-of-use and ease-of-programming are key. It is designed to enhance your understanding of the Enterprise JavaBeans Specification, and the Enterprise JavaBeans model by providing concrete examples and step-by-step guidelines for building and using Enterprise JavaBeans applications.

EJB Tutorial
This tutorial teaches the EJB (Enterprise Java Beans) technology, This tutorial is meant for developers and is completely designed to be "hands-on". The assumption is that you will learn most by doing, not by reading. The tutorial is a guided approach to doing things in a manner that will lead you into learning the EJB concepts very quickly.

BDK 1.1 download
The JavaBeansTM Development Kit (BDK) is intended to support the development of JavaBeans components and to act as a standard reference base for both component developers and tool vendors.

Building a bevy of beans
JavaBeans has transformed Java from a simple language to a powerful RAD platform; learn how you can get the most from this new Java paradigm

Enterprise JavaBeans Tutorial:
Building Your First Stateless Session Bean

Selection of JavaBeans
HyperlinkedLabel, ProgressBar Bean, FingerBean, and SMTPMailBean example beans.

The Advanced Java/J2EE Tutorial
Beans, RMI, and a host of advanced topics.

Write a session EJB
Find out how EJB frees developers from the complexity of middleware development by providing complete infrastructure support

JavaBeans and Advanced Java Tutorials
Enterprise JavaBeans and a number of advanced topics.

More Links...

Sun's JavaBeans product page
Sun's JavaBeans tutorials
Enterprise JavaBeans 3.0 Overview

Share this

Related Posts