SlideShare a Scribd company logo
1 of 166
Java Beans Marutha IT Architect, ISL, BPTSE [email_address]
Java Beans ,[object Object],[object Object],[object Object],[object Object]
Features of Java Bean ,[object Object],[object Object],[object Object],[object Object],[object Object]
Basic Bean Concepts ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Java Beans : Properties ,[object Object],[object Object],[object Object],[object Object]
Java Beans : Introspection ,[object Object]
Java Beans : Customization ,[object Object],[object Object]
Java Beans : Events ,[object Object],[object Object],[object Object]
Java Beans : Persistence ,[object Object]
Java Beans : Methods ,[object Object]
Applet
Introduction ,[object Object],[object Object],[object Object],[object Object],[object Object]
Applet Class ,[object Object],[object Object],[object Object],[object Object]
Creating, Running and executing an Applet   ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Viewing In Applet ,[object Object],[object Object]
Activities In An Applet Creation Initialization Starting Stop Destroy
Paint() Method ,[object Object],[object Object],[object Object],[object Object],[object Object]
Repaint() Method ,[object Object],[object Object],[object Object]
HTML Applet Tag ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Passing Parameters to Applets ,[object Object]
Important Methods ,[object Object],[object Object],[object Object],[object Object]
Applet Context ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Applet Context (Contd…) ,[object Object],[object Object]
Security Restrictions applied on Applets ,[object Object],[object Object],[object Object],[object Object]
File Name Filters ,[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object]
Java Thread
Thread ,[object Object],[object Object],[object Object],[object Object],[object Object]
 
 
 
 
MultiThread Models ,[object Object],[object Object],[object Object]
 
 
 
 
 
 
Java Thread ,[object Object],[object Object],[object Object]
Extending Thread Class ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating the Thread public class First { public static void main(String args[]) { Worker runner = new Worker1(); runner.start(); System.out.println(“I am the main thread”); } }
Runnable Interface public interface Runnable { public abstract void run(); }
Implementing Runnable  class Worker2 implements Runnable { public void run() { System.out.println(“I am a Worker Thread”); } }
Creating the Thread public class Second { public static void main(String args[]) { Runnable runner = new Worker2(); Thread thrd = new Thread(runner); thrd.start(); System.out.println(“I am the main thread”); } }
Java Thread Management ,[object Object],[object Object],[object Object],[object Object],[object Object]
 
Life Cycle of a Thread new Thread runnable blocked dead start( ) stop( ) sleep( ) suspend( ) resume( ) notify( ) wait( )
What is Multithreading? ,[object Object],[object Object],[object Object],[object Object],[object Object]
What is Multithreading? (Contd…) ,[object Object],[object Object],[object Object],[object Object]
Thread Scheduling and Setting the Priorities (Contd…) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Thread Scheduling and Setting the Priorities (Contd…) ,[object Object],[object Object],[object Object],[object Object],[object Object]
Daemon Threads ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Daemon Threads (Contd…) ,[object Object],[object Object],[object Object],[object Object],[object Object]
Thread Synchronization ,[object Object],[object Object],[object Object],[object Object],[object Object]
InterThread Communication ,[object Object],[object Object],[object Object],[object Object],[object Object]
JDBC
JDBC ,[object Object],[object Object],[object Object]
What is JDBC? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 
Types of JDBC technology drivers ,[object Object],[object Object],[object Object],[object Object]
JDBC-ODBC bridge ,[object Object],[object Object],[object Object]
native-API partly ,[object Object],[object Object],[object Object],[object Object]
net-protocol fully ,[object Object],[object Object],[object Object]
native-protocol fully ,[object Object],[object Object],[object Object],[object Object]
 
 
 
 
 
 
 
 
 
 
 
 
 
Seven Basic Steps in Using JDBC ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object]
 
 
 
 
JDBC Transaction
JDBC Transaction
Learnings from this Session ,[object Object],[object Object],[object Object],[object Object],[object Object]
Networking in Java
Types Of Network Programming   ,[object Object],[object Object],[object Object]
Connection-oriented Networking The client and server have a communication link that is open and active from the time the application is executed until it is closed. Using Internet jargon, the Transmission control protocol os a connection oriented protocol. It is reliable connection - packets are guaranteed to arrive in the order they are sent.                                                                                        
Connection-less Networking The this type each instance that packets are sent, they are transmitted individually. No link to the receiver is maintained after the packets arrive. The Internet equivalent is the User Datagram Protocol (UDP). Connectionless communication is faster but not reliable. Datagrams are used to implement a connectionless protocol, such as UDP.                                                      
Common Port Numbers HTTS (SSL) 443 IMAP 143 POP 110 Http (Web) 80 SMTP 25 Telnet 23 FTP 21 Service Port Number
 
 
URI, URL, URLConnection and HttpURLConnection ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
URL ,[object Object],[object Object],[object Object]
URL(contd…) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
URL(contd…) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
URL(contd…) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
URL(contd…) ,[object Object],[object Object],[object Object],[object Object],[object Object]
URL(contd…) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
URL(contd…) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Inside java.net ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Inside java.net (Contd…) ,[object Object],[object Object],[object Object],[object Object],[object Object]
Inside java.net (Contd…) ,[object Object],[object Object],[object Object],[object Object]
Inside java.net (Contd…) ,[object Object],[object Object],[object Object],[object Object]
Inside java.net (Contd…) ,[object Object],[object Object],[object Object],[object Object]
Inside java.net (Contd…) ,[object Object]
Inside java.net (Contd…) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Inside java.net (Contd…) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Inside java.net (Contd…) ,[object Object],[object Object]
Inside java.net (Contd…) ,[object Object],[object Object],[object Object]
Inside java.net (Contd…) ,[object Object],[object Object],[object Object],[object Object]
JNDI
Overview of the Architecture ,[object Object],[object Object],[object Object]
JNDI Architecture
JNDI Architecture
Composite NameSpace
Lookup Process
Lookup Process
Mapping Directory To Schema
RMI
What is Distributed System?
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
RMI Registry
RMI Communication
 
 
 
 
 
 
 
 
UnicastRemoteObject ,[object Object],[object Object],[object Object],[object Object]
UnicastRemoteObject ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 
 
 
 
 
 
 
RMI Issues ,[object Object],[object Object],[object Object],[object Object]
RMI Issues ,[object Object],[object Object],[object Object],[object Object]
Learning from this session ,[object Object],[object Object],[object Object],[object Object],[object Object]
Thank You

More Related Content

What's hot

Advanced java programming-contents
Advanced java programming-contentsAdvanced java programming-contents
Advanced java programming-contents
Self-Employed
 

What's hot (20)

Java basic introduction
Java basic introductionJava basic introduction
Java basic introduction
 
Advance Java Topics (J2EE)
Advance Java Topics (J2EE)Advance Java Topics (J2EE)
Advance Java Topics (J2EE)
 
Basic java tutorial
Basic java tutorialBasic java tutorial
Basic java tutorial
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Java features
Java featuresJava features
Java features
 
basic core java up to operator
basic core java up to operatorbasic core java up to operator
basic core java up to operator
 
Java essential notes
Java essential notesJava essential notes
Java essential notes
 
Introduction to Java Programming
Introduction to Java ProgrammingIntroduction to Java Programming
Introduction to Java Programming
 
Java basics notes
Java basics notesJava basics notes
Java basics notes
 
Swing api
Swing apiSwing api
Swing api
 
Java Threads Tutorial | Multithreading In Java Tutorial | Java Tutorial For B...
Java Threads Tutorial | Multithreading In Java Tutorial | Java Tutorial For B...Java Threads Tutorial | Multithreading In Java Tutorial | Java Tutorial For B...
Java Threads Tutorial | Multithreading In Java Tutorial | Java Tutorial For B...
 
1 java programming- introduction
1  java programming- introduction1  java programming- introduction
1 java programming- introduction
 
Java programming material for beginners by Nithin, VVCE, Mysuru
Java programming material for beginners by Nithin, VVCE, MysuruJava programming material for beginners by Nithin, VVCE, Mysuru
Java programming material for beginners by Nithin, VVCE, Mysuru
 
Advanced java programming-contents
Advanced java programming-contentsAdvanced java programming-contents
Advanced java programming-contents
 
Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...
 
Java 101 Intro to Java Programming
Java 101 Intro to Java ProgrammingJava 101 Intro to Java Programming
Java 101 Intro to Java Programming
 
Java & advanced java
Java & advanced javaJava & advanced java
Java & advanced java
 
Java byte code & virtual machine
Java byte code & virtual machineJava byte code & virtual machine
Java byte code & virtual machine
 
Core java online training
Core java online trainingCore java online training
Core java online training
 

Similar to Basic java part_ii

Java-1st.pptx about Java technology before oops
Java-1st.pptx about Java technology before oopsJava-1st.pptx about Java technology before oops
Java-1st.pptx about Java technology before oops
buvanabala
 
Java basics notes
Java basics notesJava basics notes
Java basics notes
Nexus
 
Chapter 2.1
Chapter 2.1Chapter 2.1
Chapter 2.1
sotlsoc
 

Similar to Basic java part_ii (20)

Java Class 6 | Java Class 6 |Threads in Java| Applets | Swing GUI | JDBC | Ac...
Java Class 6 | Java Class 6 |Threads in Java| Applets | Swing GUI | JDBC | Ac...Java Class 6 | Java Class 6 |Threads in Java| Applets | Swing GUI | JDBC | Ac...
Java Class 6 | Java Class 6 |Threads in Java| Applets | Swing GUI | JDBC | Ac...
 
OBJECT ORIENTED PROGRAMMING LANGUAGE - SHORT NOTES
OBJECT ORIENTED PROGRAMMING LANGUAGE - SHORT NOTESOBJECT ORIENTED PROGRAMMING LANGUAGE - SHORT NOTES
OBJECT ORIENTED PROGRAMMING LANGUAGE - SHORT NOTES
 
basic_java.ppt
basic_java.pptbasic_java.ppt
basic_java.ppt
 
JAVA for Every one
JAVA for Every oneJAVA for Every one
JAVA for Every one
 
Java programming basics
Java programming basicsJava programming basics
Java programming basics
 
Java1
Java1Java1
Java1
 
Java
Java Java
Java
 
Java
JavaJava
Java
 
Introduction java programming
Introduction java programmingIntroduction java programming
Introduction java programming
 
Java files and io streams
Java files and io streamsJava files and io streams
Java files and io streams
 
Java-1st.pptx about Java technology before oops
Java-1st.pptx about Java technology before oopsJava-1st.pptx about Java technology before oops
Java-1st.pptx about Java technology before oops
 
OOP-Chap2.docx
OOP-Chap2.docxOOP-Chap2.docx
OOP-Chap2.docx
 
Java 8 Overview
Java 8 OverviewJava 8 Overview
Java 8 Overview
 
Java basics notes
Java basics notesJava basics notes
Java basics notes
 
Javalecture 1
Javalecture 1Javalecture 1
Javalecture 1
 
Java basics notes
Java basics notesJava basics notes
Java basics notes
 
Java programming basics notes for beginners(java programming tutorials)
Java programming basics notes for beginners(java programming tutorials)Java programming basics notes for beginners(java programming tutorials)
Java programming basics notes for beginners(java programming tutorials)
 
Java basics notes
Java basics notesJava basics notes
Java basics notes
 
Chapter 2.1
Chapter 2.1Chapter 2.1
Chapter 2.1
 
SMI - Introduction to Java
SMI - Introduction to JavaSMI - Introduction to Java
SMI - Introduction to Java
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Recently uploaded (20)

Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 

Basic java part_ii