Posted in Uncategorized


Inheritance: inherit properties and method from object
Abstraction: Essential character distinguish from other object
Encapsulation: Seperation (hiding) external aspect
Polymorphism: assign different behaviour to something that was declared in a parent class

2 tier architecture model:
1. validation intensive
2. each client need to make connection directly
3. not very maintainable
4. only horizontal scalability ?

webservice features:
Static and dynamic client call
Synchronous and Asynchronous WS call

SOAP Authentication:
WS Header
SOAP Message:
1. Require Envelope
2. Optional Header
3. Require Body
4.  Optional Fauilt

JAX-WS: client doesn’t need WSDL and XML document

Strategy design pattern:
subclassing alternative
eleminate conditional statement
extend model without change code

Template method:
Skeleton of an algorithm

placeholder for other object to control/access it

pre and post processing .

Service Activator:
Invocation of business service / EJB without  waiting for the result
Integration of publish/subscribe and point to point messaging
Perform business task that locigally composed of several business task

MTOM: Sending binary from/to webservices

Signed jar: 
Doesn’t mean that the sender is authentic,

Web.xml deployment descriptor:
1. protected url
2. authentication mechanism

JSF Phase:
Restore View
Apply Request
Update Model

Servlet destroy for:
Keep track how many thread running
Clean shutdown by having destroy method, notify long running thread & wait to complete
Long running method poll periodically, check shutdown, or if stop working, clean and return

Client Tier
Web Tier
EJB Tier / Business Tier
EIS Integration Tier

Note: JMS doesn’t define functionality that addresses load balancing, fault tolerance, security, and administration. Such mechanisms must be provided by JMS providers.

MDB not accessed via interface
Instance variable of MDB can keep state accross handling of client message


Delegation is the simple yet powerful concept of handing a task over to another part of the program. In object-oriented programming it is used to describe the situation where one object defers a task to another object, known as the delegate

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s