The document discusses two innovation ideas in object-oriented programming: encapsulation and service-oriented computing (SOC). Encapsulation involves information hiding so that an object's internal structure is hidden from outside components. This can increase robustness and reduce complexity. SOC is an emerging paradigm where services communicate through message passing to perform operations. A major difference between object-oriented and service-oriented approaches is that services are stateless while objects are stateful.
1 of 19
Downloaded 16 times
More Related Content
Ppt on innovation of oop's language
1. Innovation Ideas Of ATM & SOC in
Object Oriented Programming
Language
Presented By
Krishna Gupta
Jyoti Gupta
INNOVATION OF OBJECT ORIENTED PROGRAMMING LANGUAGE 1
2. OBJECT ORIENTED PROGRAMMING
OOP’s is the combination of Object-Oriented-Paradigm . In OOP’s
every problem is solved by Classes and Objects. C++ is a case
sensitive language. OOP’s is a very innovative way to
collaboratively work on a document repository.
Features of oops:-
 Class :-Template for creating objects
 Object:- Packet containing data and procedures
 Abstraction:-Emphasis on what rather than how
 Encapsulation:-Information hiding by objects
 Inheritance:-Allowing the reuse the class
 Polymorphism :-To hide different implementation
 Message Passing :-Request to execute a method
 Dynamic Method Binding:-Binding at runtime, polymorphism
virtual function .
INNOVATION OF OBJECT ORIENTED PROGRAMMING LANGUAGE 2
3.  Encapsulation(Information
Hiding & Data Hiding)
Ex:- ATM
 Message Passing
Ex :-SOC:-Service
Oriented Computing,
It is a new computing
paradigm
 Alice
 Games
 Media Computation
 Robotics
INNOVATION IN OOP’S
Innovative Practices Innovative Ideas
INNOVATION OF OBJECT ORIENTED PROGRAMMING LANGUAGE 3
4. OBJECTS AND CLASSES
 A class captures the common properties of the
objects instantiated from it.
 Object is the instance of a class .
Dolly priya aditiangel
girlclassobject
INNOVATION OF OBJECT ORIENTED PROGRAMMING LANGUAGE 4
5. THE TWO PARTS OF AN OBJECT
Object = Data + Methods
 An object has the responsibility to know and the
responsibility to do.
=
+
INNOVATION OF OBJECT ORIENTED PROGRAMMING LANGUAGE 5
6. INNOVATION IN ENCAPSULATION
 Encapsulation
 Information Hiding (Data Hiding):-
 Making objects and algorithms invisible to portions of the
system that do not need them
 Internal Structure is hidden from their surroundings
 Only Objects Methods can modify information in the
object .
Analogy:-
ATM machine can only update account of one person or
object only .
Object
Based
INNOVATION OF OBJECT ORIENTED PROGRAMMING LANGUAGE 6
7. INNOVATION IN ENCAPSULATION
USING IN BANK ACCOUNT
Problem Description
customers are allowed to have different types of
bank accounts.
 deposit money
 withdraw money
 transfer money between accounts.
INNOVATION OF OBJECT ORIENTED PROGRAMMING LANGUAGE 7
8. Object Oriented
Customer, money, account
Procedural
Withdraw, deposit, transfer
PROCEDURAL V/S OBJECT-ORIENTED
INNOVATION OF OBJECT ORIENTED PROGRAMMING LANGUAGE 8
9. DATA ENCAPSULATION
class Account {
public:
float withdraw();
void deposit(float amount);
private:
float balance;
);
INNOVATION OF OBJECT ORIENTED PROGRAMMING LANGUAGE 9
10. OBJECTS AND CLASSES CONT’D
Class Bank Account
Balance
Interest YTD
Owner
Account number
Balance 500
Interest YTD
Owner
Account_number
Balance 10,000
InterestYTD
Owner
Account_number
Operations
MakeDesposit
Transfer
WithDraw
GetBalance
INNOVATION OF OBJECT ORIENTED PROGRAMMING LANGUAGE 10
11. INNOVATION IN SOC
SOC:-Service Oriented Computing, It is a new computing
paradigm .
 The major innovation in SOC is the move from the object
oriented paradigm to a service oriented .
 Object Oriented:-Object: Stateful
 Service Oriented:-Service: Stateless
 SOC is an emerging cross-disciplinary paradigm for
distributed computing that is changing the way software
applications are designed, architected, delivered and
consumed .
INNOVATION OF OBJECT ORIENTED PROGRAMMING LANGUAGE 11
12. CHARACTERISTIC OF SOC
 The basic constructs to support the
development rapidly
 low-cost and easy composition of distributed
applications
 Is the core of the SOC platform
 Increases quality of service
 Greater interoperability
 Loosely coupled
 Easier to integrate
 Increased reuse
INNOVATION OF OBJECT ORIENTED PROGRAMMING LANGUAGE 12
13. SERVICE DEFINITION
• An entity that provides some capability to its clients
by exchanging messages (request - response)
Request
INNOVATION OF OBJECT ORIENTED PROGRAMMING LANGUAGE 13
Response
16. CONCLUSION
INNOVATION OF OBJECT ORIENTED PROGRAMMING LANGUAGE 16
Two innovation ideas here Encapsulation and SOC(service
oriented computing ).
Encapsulation is a concept of Self-containing ,And SOC is used
for service message passing.
In Encapsulation information hiding - ‘internal’ structure is hidden
from their surroundings. A benefit of Encapsulation is that can
reduce system complexity and increase the robustness ,by
allowing the developer to limit the interdependencies between
software components .
In SOC a message is a request made by one object to another
perform some operation (Services, Behavior and function)
17. REFRENCES
• Gregor Kiczales, John Lamping, Anurag Mendhekar, Chris Maeda, Cristina
Videira Lopes, Jean-Marc Loingtier, John Irwin, Aspect-Oriented
Programming.
• Krishna prasad Thirunarayan ,Metadata and Languages Laboratory
,Department of Computer Science and Engineering,Wright State University
,Dayton, OH-45435, Programming Languages.
• Ashley Hull, Ph.D. Hasmet Genceli, Ph.D.,Michael W. Hlavinka, Ph.D., P.E.
,Bryan Research & Engineering,Inc. P.O. Box 4747 ,Bryan, TX 77805 USA
,www.bre.com .
• John Hunt , JayDee Technology Ltd , Hartham Park, Corsham,Wiltshire ,
SN13 0RP,United Kingdom, Smalltalk and Object Orientation:
• By Yin- Hsong Hsu,email: hsong@mcu.edu.tw,Introduction to Object-
Oriented Technology
INNOVATION OF OBJECT ORIENTED PROGRAMMING LANGUAGE 17