Click here to load reader
Upload
priyanka-pradhan
View
115
Download
8
Embed Size (px)
DESCRIPTION
Deploying java beans in jsp
Citation preview
Deploying JavaBeans in JSP Page
Presented by:
Priyanka Pradhan
Contents
• Java Beans
• Jsp
• Deployment
Introduction
•A JavaBean can be defined as a reusable software component.
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.
Java beans- development phases
1. The Construction Phase
2. The Build Phase
3. The Execution Phase
Constructing a Java Bean
Elements Of Java Bean
• Properties of java beans
• Methods
• Events
Types Of Java Beans
• Control Beans
• Container Beans
• Invisible Runtime Beans
JSP(Java Server Pages)
• Jsp is the technology that allows you to rapidly develop and easily maintain information rich, dynamic web pages.
Features Of JSP
• Platform and Server Independence
• Environment
• Extensible JSP Tags
• Reusability Across Platform
• Easier Maintained
JSP Processing
• Client
• JSP engine
• JSP file
• Component
JSP Syntax Basics
• Directives
• Declarations
• Scriplets
• Expressions
• Standard Actions
Deploying java beans in jsp page
Deploying Java Beans in JSP page.docx