0% found this document useful (0 votes)
49 views18 pages

Net Beans

Java components allow for reusable routines known as beans. Beans are ordinary Java classes that support introspection, customization, events, and properties. The NetBeans IDE is a popular free and open source integrated development environment that provides support for developing applications in Java, C, C++, XML, and HTML. Developing Java applications in NetBeans involves creating a project, adding classes, and compiling and running programs. The JavaServer Faces (JSF) framework includes GUI components, an event-driven programming model, and support for third party component development. JSF features include bean management, validation, flexible rendering, configurable navigation, and state management.

Uploaded by

Apsara .k.s
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views18 pages

Net Beans

Java components allow for reusable routines known as beans. Beans are ordinary Java classes that support introspection, customization, events, and properties. The NetBeans IDE is a popular free and open source integrated development environment that provides support for developing applications in Java, C, C++, XML, and HTML. Developing Java applications in NetBeans involves creating a project, adding classes, and compiling and running programs. The JavaServer Faces (JSF) framework includes GUI components, an event-driven programming model, and support for third party component development. JSF features include bean management, validation, flexible rendering, configurable navigation, and state management.

Uploaded by

Apsara .k.s
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 18

Java Components

• Instead of worrying about rotuines, we can


buy routines and use/reuse them in our
applications (assemble applications)
• JavaBeans -- portable, platform-independent
component model
• Java components are known as beans
• A bean: a reusable software component that
can be manipulated visually in a builder tool

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

It provides built-in support for developing in


•Java,
• C,
•C++
•XML
•HTML.

support for editing


•JSPs, including syntax highlighting,
• HTML tag completion,
•JSP tag completion,
•Java code completion.

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

• Use UI Components to build JSF pages


- Include JSF Tags, Validation and Event Listeners

• Define Page Navigation rules in faces.config.xml


15
16
17
18

You might also like