Net Beans
Net Beans
1
Java Beans
• ordinary Java classes with the following
properties:
– introspection
– customization
– events
– properties
– persistence
2
Java Beans
• introspection
– an analyser can inspect how the Bean works
• properties
– naming conventions for getter and setter
methods
• persistence
– implement the Serializable interface
– Bean state can be stored
3
Net Beans
NetBeans IDE
•Free
• open source
• popular
•Integrated development
4
Steps
Developing Java applications with NetBeans IDE.
The basic steps described are as follows.
1. Create a new project
2. Mount a directory - specify a location to save
project files
3. Add a new class to the project
4. Compile and run a Java program
5
6
7
8
9
10
Three Main Parts to JSF Framework
• A Collection of GUI components for drag
and drop web site development
• An event driven programming model
• A component model supporting third
party component development
Detailed Features of JSF
• Bean management
• Validation model
• Component library that permits extensions
• Flexible rendering (not necessarily XHTML)
• Configurable navigation
• State management
• Conversion Model
• Relies on JSP and Servlet technology
• Think “GUI Building” for the web
12
JSF Life Cycle Overview
Development Steps
• Build Model from Java Beans
- Lifetime Configured by developer and managed by JSF
- Request, Session, or Application Scope
- Setters and getters accessed through JSF pages