<?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>Unlikely Teacher &#187; EJB 3</title>
	<atom:link href="http://unlikelyteacher.com/tag/ejb-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://unlikelyteacher.com</link>
	<description>1. Share Everything* [Programming Gotchas, Technology News, Insights on Living and Everything in Between]</description>
	<lastBuildDate>Fri, 03 Sep 2010 04:12:14 +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>Pro EJB 3 &#8211; Java Persistence API for $10</title>
		<link>http://unlikelyteacher.com/2008/04/12/pro-ejb-3-java-persistence-api-for-10/</link>
		<comments>http://unlikelyteacher.com/2008/04/12/pro-ejb-3-java-persistence-api-for-10/#comments</comments>
		<pubDate>Sat, 12 Apr 2008 13:22:41 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[EJB]]></category>
		<category><![CDATA[EJB 3]]></category>
		<category><![CDATA[JPA]]></category>
		<category><![CDATA[SCBCD 5]]></category>

		<guid isPermaLink="false">http://dayg.wordpress.com/?p=73</guid>
		<description><![CDATA[Same rules as before, you can get this e-book from Apress&#8217; daily deal site for $10 within the 24-hour period. Pro EJB 3 This is one of the few books recommended for SCBCD 5.0 exam.]]></description>
			<content:encoded><![CDATA[<p>Same rules as before, you can get this e-book from <a href="http://apress.com/info/dailydeal" target="_blank">Apress&#8217; daily deal site</a> for $10 within the 24-hour period.</p>
<p><a href="http://www.amazon.com/gp/product/1590596455/105-9154790-5245259?ie=UTF8&amp;tag=doasyogo-20&amp;linkCode=xm2&amp;camp=1789&amp;creativeASIN=1590596455"><img src="http://rcm-images.amazon.com/images/I/419Id4NL+JL._SL75_.jpg" border="0" alt="1590596455" /></a> <strong> <a href="http://www.amazon.com/gp/product/1590596455/105-9154790-5245259?ie=UTF8&amp;tag=doasyogo-20&amp;linkCode=xm2&amp;camp=1789&amp;creativeASIN=1590596455">Pro EJB 3</a></strong></p>
<p>This is one of the <a href="http://astore.amazon.com/java-cert-20/105-9154790-5245259?%5Fencoding=UTF8&amp;node=5" target="_blank">few books</a> recommended for SCBCD 5.0 exam.</p>
]]></content:encoded>
			<wfw:commentRss>http://unlikelyteacher.com/2008/04/12/pro-ejb-3-java-persistence-api-for-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>EJB Injection in JSF Managed Beans</title>
		<link>http://unlikelyteacher.com/2008/04/01/ejb-injection-in-jsf-managed-beans/</link>
		<comments>http://unlikelyteacher.com/2008/04/01/ejb-injection-in-jsf-managed-beans/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 08:38:57 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[EJB 3]]></category>
		<category><![CDATA[GlassFish]]></category>
		<category><![CDATA[JBoss]]></category>
		<category><![CDATA[JPA]]></category>
		<category><![CDATA[JSF]]></category>

		<guid isPermaLink="false">http://dayg.wordpress.com/?p=63</guid>
		<description><![CDATA[While trying to create a simple prototype for an application which uses JSF, EJB 3 and JPA, I decided to implement the suggestions from the article: Using an EJB Session Bean as a Model Facade. I was particularly interested in injecting my EJBs to my JSF Managed Beans (the article mentioned that it should be [...]]]></description>
			<content:encoded><![CDATA[<p>While trying to create a simple prototype for an application which uses JSF, EJB 3 and JPA, I decided to implement the suggestions from the article: <a href="https://blueprints.dev.java.net/bpcatalog/ee5/persistence/ejbfacade.html" target="_blank">Using an EJB Session Bean as a Model Facade</a>.</p>
<p>I was particularly interested in injecting my EJBs to my JSF Managed Beans (the article mentioned that it should be possible to do this kind of injection with JSF Managed Beans and Servlets).</p>
<pre class="brush: java">
public class CatalogServlet extends HttpServlet {

@EJB private CatalogFacade cf;

// some variables and methods
}</pre>
<p>I tried using JBoss 4 since it already had lots of available documentation regarding <a href="http://docs.jboss.com/ejb3/app-server/reference/build/reference/en/html_single/index.html" target="_blank">EJB 3</a> only to find out that this feature is <a href="http://jira.jboss.org/jira/browse/JBPAPP-192" target="_blank">not yet supported</a>.</p>
<p>I tried switching to JBoss 5 Beta 4 but the error was the same.</p>
<blockquote><p>16:16:31,765 ERROR [JBossInjectionProvider] Injection failed on managed bean.<br />
javax.naming.NameNotFoundException: &#8220;Name of your Managed Bean goes here&#8221; not bound</p></blockquote>
<p>Hmm, I should probably try this with <a href="https://glassfish.dev.java.net//" target="_blank">GlassFish</a> one of these days.</p>
<p>Recommended books:</p>
<p><a href="http://www.amazon.com/gp/product/0131738860/104-2616196-5897505?ie=UTF8&amp;tag=doasyogo-20&amp;linkCode=xm2&amp;camp=1789&amp;creativeASIN=0131738860"><img src="http://rcm-images.amazon.com/images/I/51TjhIjbtLL._SL75_.jpg" border="0" alt="0131738860" /></a> <a href="http://www.amazon.com/gp/product/1933988347/104-2616196-5897505?ie=UTF8&amp;tag=doasyogo-20&amp;linkCode=xm2&amp;camp=1789&amp;creativeASIN=1933988347"><img src="http://rcm-images.amazon.com/images/I/418zwQNhOPL._SL75_.jpg" border="0" alt="1933988347" /></a> <a href="http://www.amazon.com/gp/product/1847192602/104-2616196-5897505?ie=UTF8&amp;tag=doasyogo-20&amp;linkCode=xm2&amp;camp=1789&amp;creativeASIN=1847192602"><img src="http://rcm-images.amazon.com/images/I/51DLZioGWYL._SL75_.jpg" border="0" alt="1847192602" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://unlikelyteacher.com/2008/04/01/ejb-injection-in-jsf-managed-beans/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
