<?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, 30 Jul 2010 06:00:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.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><a href="http://www.bestjavainterviewquestions.com/stored-procedures-for-beginners/" title="Stored Procedures for Beginners"><img src="Array" alt="Stored Procedures for Beginners" /></a></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><a href="http://www.bestjavainterviewquestions.com/define-precompile-of-jsp-page/" title="Define Precompile of Jsp page"><img src="Array" alt="Define Precompile of Jsp page" /></a></li><li><a href="http://www.bestjavainterviewquestions.com/calling-a-method-in-java/" title="Calling a Method in Java"><img src="Array" alt="Calling a Method in Java" /></a></li><li><a href="http://www.bestjavainterviewquestions.com/what-is-api/" title="What is API"><img src="Array" alt="What is API" /></a></li><li><a href="http://www.bestjavainterviewquestions.com/what-is-jre-explain/" title="What is JRE ? Explain"><img src="Array" alt="What is JRE ? Explain" /></a></li><li><a href="http://www.bestjavainterviewquestions.com/explain-session-tracking-using-servlet/" title="Explain Session tracking using Servlet"><img src="Array" alt="Explain Session tracking using Servlet" /></a></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">Random Posts</h2><ul class="related_post"><li><a href="http://www.bestjavainterviewquestions.com/define-session-hijacking/" title="Define Session Hijacking"><img src="Array" alt="Define Session Hijacking" /></a></li><li><a href="http://www.bestjavainterviewquestions.com/define-array-in-java/" title="Define Array in Java"><img src="Array" alt="Define Array in Java" /></a></li><li><a href="http://www.bestjavainterviewquestions.com/servlet-important-questions/" title="Servlet Important Questions"><img src="Array" alt="Servlet Important Questions" /></a></li><li><a href="http://www.bestjavainterviewquestions.com/applet-interview-questions/" title="Applet Interview Questions"><img src="Array" alt="Applet Interview Questions" /></a></li><li><a href="http://www.bestjavainterviewquestions.com/define-ejb-frame-work/" title="Define EJB frame work"><img src="Array" alt="Define EJB frame work" /></a></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><a href="http://www.bestjavainterviewquestions.com/applet-interview-question/" title="Applet Interview Question"><img src="Array" alt="Applet Interview Question" /></a></li><li><a href="http://www.bestjavainterviewquestions.com/define-implicit-variables-in-jsp/" title="Define Implicit Variables in JSP"><img src="Array" alt="Define Implicit Variables in JSP" /></a></li><li><a href="http://www.bestjavainterviewquestions.com/jsp-scriplets-and-templets/" title="Jsp Scriplets and Templets"><img src="Array" alt="Jsp Scriplets and Templets" /></a></li><li><a href="http://www.bestjavainterviewquestions.com/advantage-of-cookies-over-url/" title="Advantage of Cookies over URL"><img src="Array" alt="Advantage of Cookies over URL" /></a></li><li><a href="http://www.bestjavainterviewquestions.com/file-uploading-using-servlet/" title="File Uploading Using Servlet"><img src="Array" alt="File Uploading Using Servlet" /></a></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>
