13

Click here to load reader

Deploying java beans in jsp

Embed Size (px)

DESCRIPTION

Deploying java beans in jsp

Citation preview

Page 1: Deploying java beans in jsp

Deploying JavaBeans in JSP Page

Presented by:

Priyanka Pradhan

Page 2: Deploying java beans in jsp

Contents

• Java Beans

• Jsp

• Deployment

Page 3: Deploying java beans in jsp

Introduction

•A JavaBean can be defined as a reusable software component.

Page 4: Deploying java beans in jsp

Contd…

A Java Bean is a java class that should follow following conventions:

•It should have a no-arg constructor.

•It should be Serializable.

•It should provide methods to set and get the values of the properties, known as getter and setter methods.

Page 5: Deploying java beans in jsp

Java beans- development phases

1. The Construction Phase

2. The Build Phase

3. The Execution Phase

Page 6: Deploying java beans in jsp

Constructing a Java Bean

Page 7: Deploying java beans in jsp

Elements Of Java Bean

• Properties of java beans

• Methods

• Events

Page 8: Deploying java beans in jsp

Types Of Java Beans

• Control Beans

• Container Beans

• Invisible Runtime Beans

Page 9: Deploying java beans in jsp

JSP(Java Server Pages)

• Jsp is the technology that allows you to rapidly develop and easily maintain information rich, dynamic web pages.

Page 10: Deploying java beans in jsp

Features Of JSP

• Platform and Server Independence

• Environment

• Extensible JSP Tags

• Reusability Across Platform

• Easier Maintained

Page 11: Deploying java beans in jsp

JSP Processing

• Client

• JSP engine

• JSP file

• Component

Page 12: Deploying java beans in jsp

JSP Syntax Basics

• Directives

• Declarations

• Scriplets

• Expressions

• Standard Actions

Page 13: Deploying java beans in jsp

Deploying java beans in jsp page

Deploying Java Beans in JSP page.docx