Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
6Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
SCBCD FOR J2EE 1 3

SCBCD FOR J2EE 1 3

Ratings:

5.0

(1)
|Views: 213 |Likes:
Published by S R Krishnan

More info:

Published by: S R Krishnan on Aug 19, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

10/15/2011

pdf

text

original

 
1/862/9/2008
SOA and Web Services ............................................................................................................................3 EJB Ecosystem ........................................................................................................................................3 J2EE Technologies ..................................................................................................................................4 Java RMI-IIOP .......................................................................................................................................5 JNDI ........................................................................................................................................................ Integrating RMI-IIOP and JNDI ............................................................................................................8 EJB Fundamentals ..................................................................................................................................8Middleware .............................................................................................................................................8 EJB Object ..............................................................................................................................................9 Remote Interface .....................................................................................................................................9 Home Interface and Object .....................................................................................................................9 Local Interface ......................................................................................................................................10 Deployement Descriptor .......................................................................................................................11
 Lifecycle ................................................................................................................................................11Stateful Session Beans ..........................................................................................................................13Stateless Session Beans .........................................................................................................................13Comparing Stateful and Stateless Session Beans .................................................................................13 Remote Interface: ..................................................................................................................................14 Local Interface: ....................................................................................................................................14 Home Interface: ....................................................................................................................................15 Local Home Interface ..........................................................................................................................16 Session Bean Class ...............................................................................................................................16  EJB Context ..........................................................................................................................................17  Deployement Descriptor .......................................................................................................................17  EJB Jar file ...........................................................................................................................................18Client code ............................................................................................................................................19To Remember… .....................................................................................................................................20
© 2006, Watsh Rajneesh. All Rights Reserved.
 
2/862/9/2008
 
Revision #DateChanges
0.116
th
May, 2006Initial Version.
Disclaimer:
This document is my notes taken from the book Mastering EJB 3
rd
Edn. by Ed Roman et al andHead First EJB by Kathy Sierra and Bert Bates. This document covers more than the syllabus for theSCBDC exam and is well suited for revising the concepts of EJB 2.0 and 2.1.
© 2006, Watsh Rajneesh. All Rights Reserved.
 
3/862/9/2008
Introduction
EJB
is about
rapid application development for the server side
; you can quicklyand easily construct server-side components in Java by
leveraging a prewrittendistributed infrastructure
provided by the industry. EJB is designed to support
application portability
and
reusability
 
across any vendor’s enterprisemiddleware services.
SOA and Web Services
A
service-oriented architecture
(SOA) thus is a paradigm focusing on development of services rather than piecemeal components such that these services provide a higherlevel of abstraction from afunctional standpoint. Of course, there are more properties to SOA than mere coarse-granularity. One such characteristic property of SOA is that they are autonomous innature. These independent entities can interact with others in spite of differences inthe way they have been implemented or the platformthey have been deployed on. The notion of putting together (integrating) suchautonomous and loosely coupled services to address the changing business needshas a huge value proposition and it is well on its way to realization with theemergence of various choreography, orchestration and collaboration technologiessuch as
WS-BPEL, EbXML BPSS,
and
WS Choreography.
SOA is a paradigm. There are many possible ways of building software so that itimplements salient features of SOA, mainly coarse granularity and loose coupling.One such way is Web services.Simple Object Access Protocol (
SOAP
) is an XML-based application-level protocolintended for exchanging information in a distributed network. SOAP supports both themodels of distributed computing: RPC as well as document style messaging. RPCstyle SOAP allows remote invocation of operations. Parameters and return in/outvalues of these operations are serialized in XML. Whereas, in document-style SOAPbecause an operation’s input and output are XML, serialization of parameters andreturn value to XML is not needed.Web Service Description Language (
WSDL
) is an XML-based metadata standard thatis used to describe the service interface—in terms of the operations it supports, theparameters that the operations accept, and their return values in case of SOAP RPC,the XML schema that the input and output messages to the operations in case of document-style SOAP—as well as service binding information— in terms of thecommunication protocols, ports, service URL, and so on.
SOA is
not 
a replacement for component architecture; rather it neatlycomplements the component architecture. While component architecturesenhance reusability at a finer grain level, SOA can enhance reusability at acoarser grained level.
Hence, from an implementation standpoint
, a givenservice might very well be developed using well-defined componentframeworks such as EJB.
 The latest EJB standard, therefore, has in-built support forWeb Services, the most popular stack for building SOA.
EJB Ecosystem
Bean Provider
(Internal department providing EJBs to other departmentsDevelopers writing the EJBs.
© 2006, Watsh Rajneesh. All Rights Reserved.

Activity (6)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
onceuponalot liked this
peterangka liked this
yarjun_hawari500 liked this
romancheng liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->