<?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 Tutorial</title>
	<atom:link href="http://www.bestjavainterviewquestions.com/category/java-important-notes/ejb-tutorial/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 Stored Procedures</title>
		<link>http://www.bestjavainterviewquestions.com/define-stored-procedures/</link>
		<comments>http://www.bestjavainterviewquestions.com/define-stored-procedures/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 13:34:01 +0000</pubDate>
		<dc:creator>Ramakrishna</dc:creator>
				<category><![CDATA[EJB Tutorial]]></category>
		<category><![CDATA[stored procedures]]></category>

		<guid isPermaLink="false">http://www.bestjavainterviewquestions.com/?p=191</guid>
		<description><![CDATA[Q) What are stored procedures? How is it useful? A) A STORED PROCEDURES is a set of statements/commands which reside in the database. The stored procedure is pre-compiled and saves the database the effort of parsing and compiling sql statements every time a query is run. Each database has its own stored procedure language, usually [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Q) What are stored procedures? How is it useful? </strong><br />
<strong>A) </strong>A <a class="wp-caption" title="information about entire stored procedures" href="http://computerpreferedcourses.blogspot.com/2008/08/define-stored-procedure.html" target="_blank"><strong><span class="wp-caption-dd">STORED PROCEDURES</span></strong></a> is a set of statements/commands which reside in the database. The stored procedure is pre-compiled and saves the database the effort of parsing and compiling sql statements every time a query is run.</p>
<p>Each database has its own stored procedure language, usually a variant of C with a SQL preproceesor. Newer versions of DB’s support writing stored procedures in Java and Perl too. Before the advent of 3-tier/n-tier architecture it was pretty common for stored procs to implement the business logic( A lot of systems still do it). The biggest advantage is of course speed.</p>
<p>Also certain kind of data manipulations are not achieved in SQL. Stored procs provide a mechanism to do these manipulations. Stored procs are also useful when you want to do Batch updates/exports/houseKeeping kind of stuff on the db. The overhead of a JDBC Connection may be significant in these cases.</p>
<h2  class="related_post_title">Related Post</h2><ul class="related_post"><li>July 30, 2010 -- <a href="http://www.bestjavainterviewquestions.com/stored-procedures-for-beginners/" title="Stored Procedures for Beginners">Stored Procedures for Beginners</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.bestjavainterviewquestions.com/define-stored-procedures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why does EJB needs two interfaces</title>
		<link>http://www.bestjavainterviewquestions.com/why-does-ejb-needs-two-interfaces/</link>
		<comments>http://www.bestjavainterviewquestions.com/why-does-ejb-needs-two-interfaces/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 13:27:56 +0000</pubDate>
		<dc:creator>Ramakrishna</dc:creator>
				<category><![CDATA[EJB Tutorial]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[ejb needs interfaces]]></category>

		<guid isPermaLink="false">http://www.bestjavainterviewquestions.com/?p=186</guid>
		<description><![CDATA[Q) Why does EJB needs two interfaces(Home and Remote Interface) A) There is a pure division of roles between the two . Home Interface is the way to communicate with the container which is responsible for creating , locating and removing beans and Remote Interface is the link to the bean that allows acces to [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Q) Why does EJB needs two interfaces(Home and Remote Interface)</strong><br />
<strong>A) </strong>There is a pure division of roles between the two .<br />
Home Interface is the way to communicate with the container which is responsible for creating , locating and removing beans and Remote Interface is the link to the bean that allows acces to all methods and members.</p>
<h2  class="related_post_title">Related Post</h2><ul class="related_post"><li>September 30, 2008 -- <a href="http://www.bestjavainterviewquestions.com/define-precompile-of-jsp-page/" title="Define Precompile of Jsp page">Define Precompile of Jsp page</a> (0)</li><li>September 22, 2008 -- <a href="http://www.bestjavainterviewquestions.com/calling-a-method-in-java/" title="Calling a Method in Java">Calling a Method in Java</a> (1)</li><li>September 2, 2008 -- <a href="http://www.bestjavainterviewquestions.com/explain-session-tracking-using-servlet/" title="Explain Session tracking using Servlet">Explain Session tracking using Servlet</a> (0)</li><li>August 24, 2008 -- <a href="http://www.bestjavainterviewquestions.com/define-nullpointerexception/" title="Define NullPointerException">Define NullPointerException</a> (0)</li><li>August 15, 2008 -- <a href="http://www.bestjavainterviewquestions.com/main-exceptions-in-thread/" title="Main Exceptions in Thread">Main Exceptions in Thread</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.bestjavainterviewquestions.com/why-does-ejb-needs-two-interfaces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How many EJB Objects are created for a Bean</title>
		<link>http://www.bestjavainterviewquestions.com/how-many-ejb-objects-are-created-for-a-bean/</link>
		<comments>http://www.bestjavainterviewquestions.com/how-many-ejb-objects-are-created-for-a-bean/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 13:25:27 +0000</pubDate>
		<dc:creator>Ramakrishna</dc:creator>
				<category><![CDATA[EJB Tutorial]]></category>
		<category><![CDATA[ejb objects]]></category>

		<guid isPermaLink="false">http://www.bestjavainterviewquestions.com/?p=183</guid>
		<description><![CDATA[Q) How many EJB Objects are created for a Bean? A) For a Session bean &#8211; one EJB object for one bean instance. For entity bean &#8211; it depends , if 2 users are accessing one row at a time then one EJB object is used for both the beans other wise for each bean [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Q) How many EJB Objects are created for a Bean?<br />
A) </strong>For a Session bean &#8211; one EJB object for one bean instance.<br />
For entity bean &#8211; it depends , if 2 users are accessing one row at a time then one EJB object is used for both the beans other wise for each bean one EJB object.</p>
<h2  class="related_post_title">Related Post</h2><ul class="related_post"><li>April 4, 2009 -- <a href="http://www.bestjavainterviewquestions.com/ejb-interview-questions-2/" title="EJB Interview questions">EJB Interview questions</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.bestjavainterviewquestions.com/how-many-ejb-objects-are-created-for-a-bean/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Software  Architecture of EJB</title>
		<link>http://www.bestjavainterviewquestions.com/software-architecture-of-ejb/</link>
		<comments>http://www.bestjavainterviewquestions.com/software-architecture-of-ejb/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 13:10:21 +0000</pubDate>
		<dc:creator>Ramakrishna</dc:creator>
				<category><![CDATA[EJB Tutorial]]></category>
		<category><![CDATA[architecture of ejb]]></category>

		<guid isPermaLink="false">http://www.bestjavainterviewquestions.com/?p=178</guid>
		<description><![CDATA[Q) What is software architecture of EJB? A) Session and Entity EJBs consist of 4 and 5 parts respetively: 1. A remote interface (a client interacts with it), 2. A home interface (used for creating objects and for declaring business methods), 3. A bean object (an object, which actually performs business logic and EJB-specific operations). [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Q) What is software architecture of EJB?</strong><br />
<strong>A) </strong>Session and Entity EJBs consist of 4 and 5 parts respetively:</p>
<p>1. A remote interface (a client interacts with it),<br />
2. A home interface (used for creating objects and for declaring business methods),<br />
3. A bean object (an object, which actually performs business logic and EJB-specific operations).<br />
4. A deployment descriptor (an XML file containing all information required for maintaining the EJB) or a set of deployment descriptors (if you are using some container-specific features).<br />
5.A Primary Key class &#8211; is only Entity bean specific.</p>
<h2  class="related_post_title">Random Posts</h2><ul class="related_post"><li>April 4, 2009 -- <a href="http://www.bestjavainterviewquestions.com/j2ee-interview-questions-2/" title="J2EE Interview Questions">J2EE Interview Questions</a> (0)</li><li>October 3, 2008 -- <a href="http://www.bestjavainterviewquestions.com/explain-jsp-expressions/" title="Explain Jsp Expressions">Explain Jsp Expressions</a> (0)</li><li>December 17, 2008 -- <a href="http://www.bestjavainterviewquestions.com/what-is-abstract-classexplan/" title="What is Abstract Class?Explan">What is Abstract Class?Explan</a> (0)</li><li>September 23, 2008 -- <a href="http://www.bestjavainterviewquestions.com/naming-conventions-in-java/" title="Naming Conventions in Java">Naming Conventions in Java</a> (0)</li><li>August 10, 2008 -- <a href="http://www.bestjavainterviewquestions.com/can-we-call-destroy-method-on-servlets-from-service-method/" title="Can we call destroy() method on servlets from service method">Can we call destroy() method on servlets from service method</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.bestjavainterviewquestions.com/software-architecture-of-ejb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

