Event Handling in JavaBeans & API

Duration: 4 min

This video lesson is available to enrolled students.

Return to /learn/UPPSC-COMPUTER-OPERATOR-GRADE-B/programming-languages-c-java/java-/javabeans-architecture/asset-event-handling-in-javabeans-api after enrolling

Inside: a video lesson and guided study material.

Module outline

  1. English Comprehension: Comprehension / Reading Comprehension / Unseen Passages (Critical Reasoning) (Paragraph Questions), Reading Comprehension, Vocabulary, Idioms and Phrases, Narrative Sequencing, Critical Reasoning
  2. Reasoning and Aptitude: Series (Number and Letter Series) (Numerical Relations and Reasoning), Coding Decoding, Analogy, Non Verbal Reasoning (Spatial Aptitude) (Spatial Reasoning) (Visual Reasoning), Blood Relations, Directions (Direction Test), Ranking, Order and Sequence, Logical Sequence Of Words, Seating Arrangements, Puzzle Solving (Puzzles), Syllogisms, Deductive and Inductive Reasoning (Logical Deduction and Induction) (Prepositional Reasoning), Data Sufficiency, Selection Decision Table (Decision Making), Calendar, Clock, Cubes & Dices, Data Arrangement, Venn Diagram, Analytical Reasoning (Counting Figures Reasoning), Number System, HCF LCM, Percentage, Ratio and Proportion (Ratios), Average, Profit and Loss, Simple Interest and Compound Interest, Speed Time and Distance, Mensuration and Geometry, Arithmetic, Mixture and Alligation, Age Problems, Data Interpretation, Alphabet and Word Tests, Numerical Reasoning, Number System, Averages, Mixtures and Alligation, Percentages, Series Completion, Analogy and Classification, Patterns in Two-Dimensional Figures, Coding and Decoding, Mathematical Operations, Direction Sense, Logical Deduction and Induction, Simplification and Approximation, Assembling and Grouping of Shapes, Transformation of Shapes, Three-Dimensional Patterns and Visualization, Cubes and Dice, Algebra, Traverse Surveying, Clocks and Calendars, Order, Ranking and Sequence, Constraint Puzzles, Syllogisms and Venn Diagrams, Ratio and Proportion, Mensuration, Permutations and Combinations, Project Monitoring, Resources and Safety, Profit, Loss and Discount, Sequences and Series, Powers, Surds and Logarithms, Subject-Verb Agreement, Sentence Completion, Geometry, Probability, Trigonometry, Measurement and Quantity Take-Off, Statistics, Data Sufficiency, Blood Relations, Speed, Time and Distance, Time and Work, Data Interpretation, Sequence and Series (Series), Algebra, Permutation and Combination, Combinatorics
  3. General Awareness: Physics, Chemistry, Biology, Geography, History, Polity, Indian Economy
  4. Computer Fundamentals: Basics of COA, Number System, Number Representation, Semiconductor Memories and Programmable Logic, Timing, Hazards and Testing, Processor Organization and Instructions, Number Systems and Codes, Combinational Logic Design, Combinational Logic Circuits, Number Systems and Codes
  5. Operating System: Introduction to OS, Unix OS, Linux OS
  6. C Programming: C Fundamentals, Control Flow, Functions, Arrays & Pointers, Storage Classes, Structures & Enums, DMA, Macros, Scoping & File Handling
  7. OOPS with C++ & Java: OOPS with C++, Java
  8. Database Management System: Basics of DBMS, SQL
  9. MS Office: MS Office Applications
  10. Internet & Web Technologies: Website, Browser & Services, Internet Fundamentals, Web Design & Development, Protocols & Services
AI summary & chapters

AI Summary

An AI-generated summary of this video lecture.

This lecture segment focuses on two critical aspects of JavaBeans: event handling and persistence. The instructor begins by detailing the 'Design Patterns for Events,' specifically how JavaBeans communicate and connect. She defines an event as any activity interrupting ongoing activity, such as mouse clicks or key presses. The lecture then transitions to 'Persistence,' explaining the ability to save bean properties to non-volatile storage for later retrieval. The session covers the technical implementation details required for these features.

Chapters

  1. 0:00 – 2:00 00:00-02:00

    The instructor introduces 'Handling Events in JavaBeans,' emphasizing that beans generate events sent to other objects. She writes 'property or Button' and draws a diagram illustrating a bean interacting with a button. The slide lists the components of the event delegation model: Event Source (generates the event), Event Listener (receives notification), and Event Object (represents the event type). She highlights that user-defined events are also called custom events and can be handled using the Java event delegation model. The text explicitly states that beans generate events and these events can be sent to other objects. She underlines 'Event Source' and 'Event Listener' while explaining their roles.

  2. 2:00 – 4:12 02:00-04:12

    The topic shifts to 'Persistence,' defined as saving properties and events to non-volatile storage. The slide notes that this is implemented by Java serialization. Two forms are listed: Automatic persistence and External persistence. The next slide clarifies that Automatic persistence uses Java's built-in serialization mechanism, while External persistence allows supplying custom classes to control storage precisely. The video concludes with a 'Class Summary' table for java.beans, listing classes like BeanInfo, Customizer, and DesignMode. The instructor highlights the text 'Persistence means an ability to save properties and events of our beans to non-volatile storage and retrieve later.' She also points out the 'Transient keyword' usage.

The lecture effectively bridges the gap between dynamic interaction and state management in JavaBeans. By first establishing how beans communicate through the event delegation model, the instructor sets the stage for understanding how these interactions are managed. The transition to persistence highlights the importance of state retention, distinguishing between the convenience of automatic serialization and the control offered by external persistence. This progression provides a comprehensive overview of how JavaBeans function as reusable software components, ensuring they can both react to user input and maintain their configuration settings over time.

Loading lesson…