<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Java Interview Questions &#187; EJB Frame Work Support</title>
	<atom:link href="http://www.bestjavainterviewquestions.com/category/ejb-interview-questions/ejb-frame-work-support-ejb-interview-questions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bestjavainterviewquestions.com</link>
	<description>Java Interview Questions &#124; Core Java Interview Questions &#124; Advanced Java Interview Questions &#124; EJB Interview Questions &#124; J2EE Interview Questions &#124; Hibernate Interview Questions</description>
	<lastBuildDate>Fri, 03 Feb 2012 10:23:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Define EJB frame work</title>
		<link>http://www.bestjavainterviewquestions.com/define-ejb-frame-work/</link>
		<comments>http://www.bestjavainterviewquestions.com/define-ejb-frame-work/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 10:23:14 +0000</pubDate>
		<dc:creator>Ramakrishna</dc:creator>
				<category><![CDATA[EJB Frame Work Support]]></category>
		<category><![CDATA[ejb]]></category>
		<category><![CDATA[EJB Frame Work support]]></category>
		<category><![CDATA[ejb framework]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[j2ee]]></category>
		<category><![CDATA[j2ee frameworks]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.bestjavainterviewquestions.com/?p=549</guid>
		<description><![CDATA[EJB provides the following frame work support. Distributed object infra structure. Component packing add employment. Declarative transaction management. Factory support. Bean activation and passivation. Container metadata. Security. i)  Distributed object infrastructure: EJB does not concern itself with the distributed object infrastructing. It assumes underlying ORB that understands the CORBA RMI/IDI. Semantics. The ORB transports must [...]]]></description>
			<content:encoded><![CDATA[<p><em><strong>EJB provides the following frame work support.</strong></em></p>
<ol>
<li><em>Distributed object infra structure.</em></li>
<li><em>Component packing add employment.</em></li>
<li><em>Declarative transaction management.</em></li>
<li><em> Factory support.</em></li>
<li><em>Bean activation and passivation.</em></li>
<li><em>Container metadata.</em></li>
<li><em>Security.</em></li>
</ol>
<p><strong>i)  Distributed object infrastructure:</strong></p>
<p>EJB does not concern itself with the distributed object infrastructing. It assumes underlying ORB that understands the CORBA RMI/IDI. Semantics. The ORB transports must be able to propagate CORBA OTS transactions. IIOP ORB&#8217;s are designed to provide this type of service.</p>
<p><strong>ii) Component packaging and deployment :</strong></p>
<p>EJB defines a packaging mechanism for Server-side components based on JAR&#8217;s manifests and deployment descriptors. The container un-JAR&#8217;s the EJB and then runs if based on the instruction it gets from the maifest and deployment descriptors.</p>
<p><strong>iii) Declarative transaction Management :</strong></p>
<p>EJB supports implicit transaction built on the CORBA OTS/JTS services. EJB does not need to make implicit calls to OTS/JTS to participate in distributed transaction. The EJB container automatically manges the start, commit and roll back of a transaction. Programming can define the transactional attribute of a bean at design time using declartive statement in deployment descriptor. Metadata about the beans they contain, for example, the container can return the class name of the Enterprise bean that this factory interface is associated with.</p>
<p><strong>iv) Factory Support</strong> :</p>
<p>As a bean provides programmer is responsibel for defining a remote factory interface for bean. Developer define a factory I/F that extends factory and define one or more create method. The container provider will automatically generate the factory implementation.How ever, bean must implement an EJB  create() for each create(). As a last step, programmer must register factories with the container, so, that client can create new beans. The container also provide a finder interface to help clients locate existing entity bean.</p>
<p><strong>v) Bean activation and passivation:</strong></p>
<p>As a part of managing the life cycle of an enterprise bean the container calls your bean when it is loaded into memory(or activation). It also calls it when it is deactivated from memory for passionate.</p>
<p><strong>vi) Bean state management :</strong></p>
<p>EJB container can handle both transient and persistent bean. Persistent bean encapsulate in their object reference a unique ID that point to their state. An entity bean manages its own persistence by implementing the persistencde operation directly the container simply hands it a unique-key and tells it to load its state.</p>
<p><strong>vii) Container Metadata</strong></p>
<p>EJB containers can provide metadata about the beans they contain. For example the container an return the class name of the enterprise bean that  this factory interface is associated with.</p>
<p><strong>viii) Security :</strong></p>
<p>EJB cotainer automate the management of some of the security aspects of a bean . Programming needs to declaratively define the security rules for an enterprise bean in security descriptor object. Programmer must then serialize this object and put it in the beans JAR. The EJB container uses this object to perform all security check on behalf of bean.</p>
<h2  class="related_post_title">Related Post</h2><ul class="related_post"><li>March 25, 2009 -- <a href="http://www.bestjavainterviewquestions.com/creating-a-stateful-session-bean/" title="Creating a Stateful session Bean">Creating a Stateful session Bean</a> (1)</li><li>March 20, 2009 -- <a href="http://www.bestjavainterviewquestions.com/life-cycle-of-stateless-session-bean/" title="Life Cycle of stateless session bean">Life Cycle of stateless session bean</a> (0)</li><li>February 15, 2009 -- <a href="http://www.bestjavainterviewquestions.com/providing-current-date-and-time-using-stateless-session-bean/" title="Providing current date and time using Stateless session bean">Providing current date and time using Stateless session bean</a> (0)</li><li>February 15, 2009 -- <a href="http://www.bestjavainterviewquestions.com/services-provided-by-ejb-container/" title="Services Provided by EJB Container">Services Provided by EJB Container</a> (0)</li><li>April 7, 2009 -- <a href="http://www.bestjavainterviewquestions.com/overview-of-servlets/" title="OVERVIEW OF SERVLETS">OVERVIEW OF SERVLETS</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.bestjavainterviewquestions.com/define-ejb-frame-work/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

