blob: 0b417cdf8aa4edc9871d558017ce38f19d22531b [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<!-- $PAGETITLE -->
<TITLE>OpenEJB - Embedded</TITLE>
<LINK href="http://openejb.apache.org/all.css" rel="stylesheet" type="text/css">
<!--[if IE]><link rel="stylesheet" type="text/css" media="screen, projection" href="openejb.apache.org/ie.css"><![endif]-->
<LINK rel="SHORTCUT ICON" href="http://openejb.apache.org/images/favicon.ico">
<META http-equiv="Content-Type" content="text/html;charset=UTF-8">
<SCRIPT language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js" type="text/javascript"></SCRIPT>
<SCRIPT language="javascript" src="http://openejb.apache.org/tweet/jquery.tweet.js" type="text/javascript"></SCRIPT>
<SCRIPT type="text/javascript">
$(document).ready(function(){
$(".tweet").tweet({
avatar_size: 32,
count: 4,
fetch:25,
username: "openejb",
list: "contributors",
template:"{avatar}{text}",
filter: function(t){ return /openejb/i.test(t["tweet_raw_text"]); },
loading_text: "loading list..."
});
});
</SCRIPT>
</HEAD>
<BODY>
<!-- Delay the loading of the external javascript file needed for labels (as it takes too long to load and visibly holds loading of the page body) -->
<!-- To do this without javascript errors over undefined functions, we need to declare stubs here (that are overrided later by the proper implementations) -->
<SCRIPT language="JavaScript" type="text/javascript">
function doAddLabel(hideTextfieldAfterAddParam)
{
// stub
}
function onAddLabel()
{
// stub
}
function showLabelsInput()
{
// stub
}
</SCRIPT>
<A name="top"></A>
<TABLE class="frameTable" cellpadding="0" cellspacing="0" border="0">
<TR class="Row1">
<TD class="Col1"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
<TD class="Col2"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
<TD class="Col3"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
<TD class="Col4"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
<TD class="Col5"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
</TR>
<TR class="Row2">
<TD class="Col1"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
<TD class="Col2">&nbsp;</TD>
<TD class="Col3" id="breadcrumbs">
<!-- $TOP_NAV_BAR -->
<A href="index.html" title="Index">Home</A> | <A href="news.html" title="News">News</A> | <A href="faq.html" title="FAQ">FAQ</A> | <A href="download.html" title="Download">Download</A> | <A href="mailing-lists.html" title="Mailing Lists">Lists</A> | <A href="http://issues.apache.org/jira/browse/OPENEJB" class="external-link" rel="nofollow">Issues</A>
</TD>
<TD class="Col4"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
<TD class="Col5">&nbsp;</TD>
</TR>
<TR class="Row3">
<TD class="Col1"><IMG alt="" class="Row3Img" id="thinLine" src="http://openejb.apache.org/images/line_sm.gif"></TD>
<TD class="Col2"><IMG alt="" class="Row3Img" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
<TD class="Col3"><IMG alt="" class="Row3Img" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
<TD class="Col4"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
<TD class="Col5"><IMG alt="" class="Row3Img" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
</TR>
<TR class="Row4">
<TD class="Col1">
<SPAN id="Navigation">
<H3><A name="Navigation-Overview"></A>Overview</H3>
<UL class="alternate" type="square">
<LI><A href="index.html" title="Index">Home</A></LI>
<LI><A href="news.html" title="News">News</A></LI>
<LI><A href="faq.html" title="FAQ">FAQ</A></LI>
<LI><A href="download.html" title="Download">Download</A></LI>
<LI><A href="../OPENEJBx30/index.html" title="Index">Documentation</A></LI>
<LI><A href="examples.html" title="Examples">Examples</A></LI>
<LI><A href="http://cwiki.apache.org/confluence/display/OPENEJB/Lightening%20Demos" class="external-link" rel="nofollow">Lightning Demos</A></LI>
<LI><A href="mailing-lists.html" title="Mailing Lists">Mailing Lists</A></LI>
<LI><A href="source-code.html" title="Source Code">Source Code</A></LI>
<LI><A href="http://blogs.apache.org/openejb" class="external-link" rel="nofollow">Project Blog</A></LI>
</UL>
<H3><A name="Navigation-Servers"></A>Servers</H3>
<UL class="alternate" type="square">
<LI><A href="local-server.html" title="Local Server">Local</A></LI>
<LI><A href="remote-server.html" title="Remote Server">Remote</A></LI>
</UL>
<H3><A name="Navigation-Integrations"></A>Integrations</H3>
<UL class="alternate" type="square">
<LI><A href="../OPENEJBx30/tomcat.html" title="Tomcat">Tomcat</A></LI>
<LI><A href="geronimo.html" title="Geronimo">Geronimo</A></LI>
<LI><A href="webobjects.html" title="WebObjects">WebObjects</A></LI>
</UL>
<H3><A name="Navigation-Community"></A>Community</H3>
<UL class="alternate" type="square">
<LI><A href="team.html" title="Team">Team</A></LI>
<LI><A href="articles.html" title="Articles">Articles</A></LI>
<LI><A href="http://webchat.freenode.net/?channels=openejb" class="external-link" rel="nofollow">IRC</A></LI>
</UL>
<H3><A name="Navigation-RelatedProjects"></A>Related Projects</H3>
<UL class="alternate" type="square">
<LI><A href="http://activemq.apache.org/" class="external-link" rel="nofollow">ActiveMQ</A></LI>
<LI><A href="http://openjpa.apache.org/" class="external-link" rel="nofollow">OpenJPA</A></LI>
<LI><A href="http://cxf.apache.org/" class="external-link" rel="nofollow">CXF</A></LI>
</UL>
<H3><A name="Navigation-Index"></A>Index</H3>
<UL class="alternate" type="square">
<LI><A href="space-index.html" title="Space Index">Site Index</A></LI>
<LI><A href="../OPENEJBx30/space-index.html" title="Space Index">Doc Index</A></LI>
</UL>
<H3>
<A name="Navigation-Feeds"></A>
Feeds
</H3>
<UL class="feeds">
<LI>
<A href="http://cwiki.apache.org/confluence/spaces/rss.action?key=OPENEJB&newPages=false">
<IMG src="http://openejb.apache.org/images/rss.gif"></A>
<A class="feedsText" href="http://cwiki.apache.org/confluence/spaces/rss.action?key=OPENEJB&newPages=false">Site</A>
</LI>
<LI><A href="http://cwiki.apache.org/confluence/spaces/blogrss.action?key=OPENEJB">
<IMG src="http://openejb.apache.org/images/rss.gif"></A>
<A class="feedsText" href="http://cwiki.apache.org/confluence/spaces/blogrss.action?key=OPENEJB">News</A>
</LI>
</UL>
</SPAN>
</TD>
<TD class="Col2">&nbsp;</TD>
<TD class="Col3">
<TABLE id="PageHeader" border="0" width="100%">
<TR>
<TD>
<A href="http://openejb.org/">
<IMG hspace="0" src="http://openejb.apache.org/images/logo_openejb.gif" vspace="0">
</A>
</TD>
<TD align="right">
<A href="http://www.apache.org/">
<IMG src="http://www.apache.org/images/asf-logo.gif" width="258" height="66">
</A>
</TD>
</TR>
<TR>
<TD id="page_title">
<!-- $TITLE -->
Embedded
</TD>
<TD align="right">
<BR><BR>
<!-- Google CSE Search Box Begins -->
<FORM id="searchbox_010475492895890475512:_t4iqjrgx90" action="http://www.google.com/cse">
<INPUT type="hidden" name="cx" value="010475492895890475512:_t4iqjrgx90">
<INPUT type="hidden" name="cof" value="FORID:0">
<INPUT name="q" type="text" size="25">
<INPUT type="submit" name="sa" value="Search">
</FORM>
<SCRIPT type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_010475492895890475512:_t4iqjrgx90"></SCRIPT>
<!-- Google CSE Search Box Ends -->
</TD>
</TR>
</TABLE>
<P>
<!-- $BODY -->
<DIV id="PageContent">
<P><SPAN class="image-wrap" style="float: right"><IMG src="http://www.openejb.org/images/diagram-local-server.gif" hspace="15" style="border: 0px solid black"></SPAN></P>
<H1><A name="Embedded-AccessingEJBsLocally"></A>Accessing EJBs Locally</H1>
<P>When OpenEJB embedded in your app, server, IDE, or JUnit, you can use what we call the Local Server and avoid the network overhead and enjoy an easy way to embedd OpenEJB. Instead of putting the app in the server, put the server in the app!</P>
<H1><A name="Embedded-Saywhat%3F%21Alocalserver%3F"></A>Say what?! A local server?</H1>
<P>Yes, you read correctly. OpenEJB can be embedded and treated as your very own personal EJB container.</P>
<P>If they can have Local and Remote EJB's, why not Local and Remote EJB Servers too?</P>
<P>Haven't you ever wanted EJBs without the heavy? I mean you need the &quot;heavy&quot; eventually, but not while you're developing. Well, there's the advantage of an EJB implementation that was designed with a very clean and well defined server-container contract, you can cut the server part out completely!</P>
<P>So, if you wish to access ejbs locally and not in client/server mode, you can do so by embedding OpenEJB as a library and accessing ejbs through OpenEJB's built-in IntraVM (Local) Server. Why would someone want to do this?</P>
<UL>
<LI>Your application is a server or other middleware</LI>
<LI>You want to write an app that can be both stand alone <B>and</B> distributed</LI>
<LI>To test your EJBs with JUnit and don't want to start/stop servers and other nonsense</LI>
<LI>Imagine the power from being able to use your IDE debugger to step from your Client all the way into your EJB and back with no remote debugging voodoo.</LI>
</UL>
<P>In this case, your application, test suite, IDE, or client accesses beans as you would from any other EJB Server. The EJB Server just happens to be running in the same virtual machine as your application. This EJB Server is thusly called the IntraVM Server, and, for all intense purposes, your application an IntraVM Client.</P>
<P>There are some interesting differences though. The IntraVM Server isn't a heavyweight server as one normally associates with EJB. It doesn't open connections, launch threads for processing requests, introduce complex classloading heirarchies, or any of those &quot;heavy&quot; kind of things. All it does is dish out proxies to your app that can be used to shoot calls right into the EJB Container. Very light, very fast, very easy for testing, debugging, developing, etc.</P>
<H1><A name="Embedded-Embedding"></A>Embedding</H1>
<P><SPAN class="image-wrap" style="float: right"><IMG src="http://www.openejb.org/images/diagram-local-server.gif" hspace="15" style="border: 0px solid black"></SPAN></P>
<P>The basic process for embedding OpenEJB:</P>
<OL>
<LI>Add the OpenEJB libraries to your classpath</LI>
<LI>Ensure your EJB modules are discoverable</LI>
<LI>Use the LocalInitialContextFactory to boot OpenEJB</LI>
</OL>
<H2><A name="Embedded-Importantdocs"></A>Important docs</H2>
<UL class="alternate" type="square">
<LI><A href="../OPENEJBx30/application-discovery-via-the-classpath.html" title="Application discovery via the classpath">Application discovery via the classpath</A></LI>
<LI><A href="../OPENEJBx30/embedded-configuration.html" title="Embedded Configuration">Embedded Configuration</A></LI>
<LI><A href="../OPENEJBx30/configuring-datasources-in-tests.html" title="Configuring DataSources in Tests">Configuring DataSources in Tests</A></LI>
<LI><A href="../OPENEJBx30/configuring-persistenceunits-in-tests.html" title="Configuring PersistenceUnits in Tests">Configuring PersistenceUnits in Tests</A></LI>
<LI><A href="../OPENEJBx30/configuring-containers-in-tests.html" title="Configuring Containers in Tests">Configuring Containers in Tests</A></LI>
<LI><A href="../OPENEJBx30/configuring-logging-in-tests.html" title="Configuring Logging in Tests">Configuring Logging in Tests</A></LI>
<LI><A href="../OPENEJBx30/alternate-descriptors.html" title="Alternate Descriptors">Alternate Descriptors</A></LI>
<LI><A href="../OPENEJBx30/unit-testing-transactions.html" title="Unit Testing Transactions">Unit Testing Transactions</A></LI>
<LI><A href="../OPENEJBx30/testcase-with-testbean-inner-class.html" title="TestCase with TestBean inner-class">TestCase with TestBean inner&#45;class</A></LI>
<LI><A href="../OPENEJBx30/local-client-injection.html" title="Local Client Injection">TestCase Injection (@LocalClient)</A></LI>
</UL>
<H2><A name="Embedded-Examples"></A>Examples</H2>
<P><SPAN class="ExamplesTable"><DIV class="table-wrap">
<TABLE class="confluenceTable"><TBODY>
<TR>
<TH class="confluenceTh"> title </TH>
<TH class="confluenceTh"> description </TH>
<TH class="confluenceTh"> APIs used </TH>
</TR>
<TR>
<TD class="confluenceTd"> <DIV class="Cel1"><B><A href="../OPENEJBx30/simple-stateless-example.html" title="Simple Stateless Example">Simple Stateless</A></B></DIV> </TD>
<TD class="confluenceTd"> Simple EJB3 <B>@Stateless</B> bean with local and remote business interfaces and unit test. </TD>
<TD class="confluenceTd"><UL class="alternate" type="square">
<LI>javax.ejb.Remote</LI>
<LI>javax.ejb.Local</LI>
<LI>javax.ejb.Stateless</LI>
</UL>
</TD>
</TR>
<TR>
</TR>
<TR>
<TD class="confluenceTd"> <B><A href="../OPENEJBx30/simple-stateful-example.html" title="Simple Stateful Example">Simple Stateful</A></B> </TD>
<TD class="confluenceTd"> Simple EJB3 <B>@Stateful</B> bean with local and remote business interfaces and unit test. </TD>
<TD class="confluenceTd"><UL class="alternate" type="square">
<LI>javax.ejb.Remote</LI>
<LI>javax.ejb.Stateful</LI>
</UL>
</TD>
</TR>
<TR>
</TR>
<TR>
<TD class="confluenceTd"> <B><A href="../OPENEJBx30/singleton-example.html" title="Singleton Example">EJB 3.1 Singleton</A></B> </TD>
<TD class="confluenceTd"> Shows two EJB 3.1 <B>@Singleton</B> beans. One configured to load on startup via <B>@Startup</B> and using Bean-Managed Concurrency and synchronization. Another using Container-Managed Concurrency via <B>@Lock(READ)</B> and <B>@Lock(WRITE)</B>. </TD>
<TD class="confluenceTd"><UL class="alternate" type="square">
<LI>javax.annotation.PostConstruct</LI>
<LI>javax.annotation.PreDestroy</LI>
<LI>javax.ejb.ConcurrencyManagement</LI>
<LI>javax.ejb.Lock</LI>
<LI>javax.ejb.Singleton</LI>
<LI>javax.ejb.Startup</LI>
<LI>javax.ejb.ConcurrencyManagementType.BEAN</LI>
<LI>javax.ejb.LockType.READ</LI>
<LI>javax.ejb.LockType.WRITE</LI>
</UL>
</TD>
</TR>
<TR>
</TR>
<TR>
<TD class="confluenceTd"> <B><A href="../OPENEJBx30/ejb-21-compatibility-example.html" title="EJB 2.1 Compatibility Example">EJB 2.1 Compatibility</A></B> </TD>
<TD class="confluenceTd"> Shows an EJB 3.0 Stateful bean with Business interfaces and EJB 2.1 interfaces (now called &quot;component&quot; interfaces) using the <B>@LocalHome</B> and <B>@RemoteHome</B>. Four interfaces in total. </TD>
<TD class="confluenceTd"><UL class="alternate" type="square">
<LI>javax.ejb.CreateException</LI>
<LI>javax.ejb.EJBHome</LI>
<LI>javax.ejb.EJBLocalHome</LI>
<LI>javax.ejb.EJBLocalObject</LI>
<LI>javax.ejb.EJBObject</LI>
<LI>javax.ejb.Init</LI>
<LI>javax.ejb.Local</LI>
<LI>javax.ejb.LocalHome</LI>
<LI>javax.ejb.Remote</LI>
<LI>javax.ejb.RemoteHome</LI>
<LI>javax.ejb.Remove</LI>
<LI>javax.ejb.Stateful</LI>
</UL>
</TD>
</TR>
<TR>
</TR>
<TR>
<TD class="confluenceTd"> <B><A href="../OPENEJBx30/injection-of-env-entry-example.html" title="Injection of env-entry Example">Injection of env-entry</A></B> </TD>
<TD class="confluenceTd"> Shows how <B>@Resource</B> can be used to inject <B><TT>env-entry</TT></B> values declared in an ejb-jar.xml file </TD>
<TD class="confluenceTd"><UL class="alternate" type="square">
<LI>javax.annotation.Resource</LI>
<LI>javax.ejb.Local</LI>
<LI>javax.ejb.Remote</LI>
<LI>javax.ejb.Stateful</LI>
</UL>
</TD>
</TR>
<TR>
</TR>
<TR>
<TD class="confluenceTd"> <B><A href="../OPENEJBx30/custom-injection.html" title="Custom Injection">Injection of env-entry 2</A></B> </TD>
<TD class="confluenceTd"> Same as the above example but shows how to use a <B>properties file</B> to declare the injection values and demonstrates how to get injection of <B>more types</B> such as java.util.Date, java.lang.Class, java.net.URI and more. <EM>OpenEJB specific feature</EM>. </TD>
<TD class="confluenceTd"><UL class="alternate" type="square">
<LI>javax.annotation.Resource</LI>
<LI>javax.ejb.Stateless</LI>
</UL>
</TD>
</TR>
<TR>
</TR>
<TR>
<TD class="confluenceTd"> <B><A href="../OPENEJBx30/injection-of-other-ejbs-example.html" title="Injection of other EJBs Example">Injection of other EJBs</A></B> </TD>
<TD class="confluenceTd"> Shows use of <B>@EJB</B> in a Stateless to have another Stateless bean injected into it. </TD>
<TD class="confluenceTd"><UL class="alternate" type="square">
<LI>javax.ejb.EJB</LI>
<LI>javax.ejb.Local</LI>
<LI>javax.ejb.Remote</LI>
<LI>javax.ejb.Stateless</LI>
</UL>
</TD>
</TR>
<TR>
</TR>
<TR>
<TD class="confluenceTd"> <B><A href="../OPENEJBx30/injection-of-datasource-example.html" title="Injection of DataSource Example">Injection of DataSource</A></B> </TD>
<TD class="confluenceTd"> Shows use of <B>@Resource</B> to have a JDBC <B>DataSource</B> injected into a Stateful bean. The Stateful bean does basic INSERT, SELECT and DELETE SQL operations. </TD>
<TD class="confluenceTd"><UL class="alternate" type="square">
<LI>javax.annotation.PostConstruct</LI>
<LI>javax.annotation.Resource</LI>
<LI>javax.ejb.Stateful</LI>
<LI>javax.sql.DataSource</LI>
</UL>
</TD>
</TR>
<TR>
</TR>
<TR>
<TD class="confluenceTd"> <B><A href="../OPENEJBx30/injection-of-entitymanager-example.html" title="Injection of EntityManager Example">Injection of EntityManager</A></B> </TD>
<TD class="confluenceTd"> Shows use of <B>@PersistenceContext</B> to have an <B>EntityManager</B> with an <B>EXTENDED</B> persistence context injected into a @Stateful bean. An EJB 3 <B>@Entity</B> bean is used with the EntityManager to create, persist and merge data to a database. </TD>
<TD class="confluenceTd"><UL class="alternate" type="square">
<LI>javax.ejb.Stateful</LI>
<LI>javax.persistence.Entity</LI>
<LI>javax.persistence.EntityManager</LI>
<LI>javax.persistence.PersistenceContext</LI>
<LI>javax.persistence.PersistenceContextType.EXTENDED</LI>
<LI>javax.persistence.Query</LI>
</UL>
</TD>
</TR>
<TR>
</TR>
<TR>
<TD class="confluenceTd"> <B><A href="../OPENEJBx30/testing-transactions-example.html" title="Testing Transactions Example">Testing Transactions</A></B> </TD>
<TD class="confluenceTd"> Shows use of @PersistenceContext to have an <B>EntityManager</B> with an <B>TRANSACTION</B> persistence context injected into a <B>@Stateful</B> bean using the <B>@TransactionAttribute</B> annotation and a TestCase that runs test code in a JTA <B>Transaction</B>. An EJB 3 @Entity bean is used with the EntityManager to create, persist and merge data to a database. </TD>
<TD class="confluenceTd"><UL class="alternate" type="square">
<LI>javax.ejb.Stateful</LI>
<LI>javax.ejb.Stateless</LI>
<LI>javax.ejb.TransactionAttribute</LI>
<LI>javax.ejb.TransactionAttributeType.MANDATORY</LI>
<LI>javax.ejb.TransactionAttributeType.REQUIRES_NEW</LI>
<LI>javax.persistence.Entity</LI>
<LI>javax.persistence.EntityManager</LI>
<LI>javax.persistence.PersistenceContext</LI>
<LI>javax.persistence.PersistenceContextType.TRANSACTION</LI>
<LI>javax.persistence.Query</LI>
</UL>
</TD>
</TR>
<TR>
</TR>
<TR>
<TD class="confluenceTd"> <B><A href="../OPENEJBx30/testing-security-example.html" title="Testing Security Example">Testing Security</A></B> </TD>
<TD class="confluenceTd"> Builds upon the <A href="../OPENEJBx30/injection-of-entitymanager-example.html" title="Injection of EntityManager Example">Injection of EntityManager Example</A> but adds the use of <B>@RolesAllowed</B> and <B>@PermitAll</B> in the @Stateful bean to restrict who can perform create, persist and remove operations on the EntityManager. Shows a TestCase using the <B>@RunAs</B> annotation to execute and test the bean code as various users. </TD>
<TD class="confluenceTd"><UL class="alternate" type="square">
<LI>javax.annotation.security.PermitAll</LI>
<LI>javax.annotation.security.RolesAllowed</LI>
<LI>javax.annotation.security.RunAs</LI>
<LI>javax.ejb.EJBAccessException</LI>
<LI>javax.ejb.Stateful</LI>
<LI>javax.ejb.Stateless</LI>
<LI>javax.ejb.TransactionAttribute</LI>
<LI>javax.ejb.TransactionAttributeType.SUPPORTS</LI>
<LI>javax.persistence.Entity</LI>
<LI>javax.persistence.EntityManager</LI>
<LI>javax.persistence.PersistenceContext</LI>
<LI>javax.persistence.PersistenceContextType.EXTENDED</LI>
<LI>javax.persistence.Query</LI>
</UL>
</TD>
</TR>
<TR>
</TR>
<TR>
<TD class="confluenceTd"> <B><A href="../OPENEJBx30/embedded-and-remotable.html" title="Embedded and Remotable">Embedded and Remotable</A></B> </TD>
<TD class="confluenceTd"> Demonstrates how to use an OpenEJB feature that allows people embedding OpenEJB into their applications to support remote clients in other VMs. This is not required for unit testing. </TD>
<TD class="confluenceTd"><UL class="alternate" type="square">
<LI>javax.ejb.Remote</LI>
<LI>javax.ejb.Stateful</LI>
</UL>
</TD>
</TR>
<TR>
</TR>
<TR>
<TD class="confluenceTd"> <B><A href="../OPENEJBx30/helloworld-weblogic.html" title="Helloworld Weblogic">Helloworld Weblogic</A></B> </TD>
<TD class="confluenceTd"> Demonstrates OpenEJBs ability to understand and support the WebLogic deployment descriptors so people using that platform in production can still use OpenEJB in their IDE or build to unit test their EJB applications. </TD>
<TD class="confluenceTd"><UL class="alternate" type="square">
<LI>javax.ejb.CreateException</LI>
<LI>javax.ejb.EJBLocalHome</LI>
<LI>javax.ejb.EJBLocalObject</LI>
<LI>javax.ejb.LocalHome</LI>
<LI>javax.ejb.Stateless</LI>
</UL>
</TD>
</TR>
<TR>
</TR>
<TR>
<TD class="confluenceTd"> <B><A href="https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=OPENEJBx30&title=JSF%20Injection%20Support&linkCreation=true&fromPageId=86439" class="createlink">JSF Injection Support</A></B> </TD>
<TD class="confluenceTd"> Demonstrates OpenEJBs ability to inject EJB's into JSF managed beans. </TD>
<TD class="confluenceTd"><UL class="alternate" type="square">
<LI>javax.ejb.Stateless</LI>
</UL>
</TD>
</TR>
<TR>
</TR>
<TR>
<TD class="confluenceTd"> <B><A href="https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=OPENEJBx30&title=Struts%20with%20OpenEJB%20and%20Tomcat&linkCreation=true&fromPageId=86439" class="createlink">Struts with OpenEJB and Tomcat</A></B> </TD>
<TD class="confluenceTd"> Demonstrates the usage of Struts within an OpenEJB + Tomcat environment. </TD>
<TD class="confluenceTd"><UL class="alternate" type="square">
<LI>javax.ejb.Stateless</LI>
</UL>
</TD>
</TR>
<TR>
</TR>
<TR>
<TD class="confluenceTd"> <B><A href="https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=OPENEJBx30&title=Applets%20with%20OpenEJB&linkCreation=true&fromPageId=86439" class="createlink">Applets with OpenEJB</A></B> </TD>
<TD class="confluenceTd"> Demonstrates how an applet can communicate with a remote stateless session bean. The stateless session bean is deployed in an OpenEJB + Tomcat environment </TD>
<TD class="confluenceTd"><UL class="alternate" type="square">
<LI>javax.ejb.Stateless</LI>
</UL>
</TD>
</TR>
<TR>
</TR>
</TBODY></TABLE>
</DIV>
</SPAN></P>
</DIV>
</P>
</TD>
<TD class="Col4"><IMG src="http://openejb.apache.org/images/dotTrans.gif"></TD>
<TD class="Col5">
</TD>
</TR>
<TR class="Row5">
<TD class="Col1">&nbsp;</TD>
<TD class="Col2">&nbsp;</TD>
<TD class="Col3">
<BR>
<BR>
<IMG width="100%" height="1" src="http://openejb.apache.org/images/line_light.gif">
<TABLE width="100%">
<TR>
<TD>
<SPAN class="bodyGrey">
<SMALL>
<NOTICE><!-- $FOOTER -->
Apache OpenEJB is an project of The Apache Software Foundation (ASF)
</NOTICE>
<BR>
Site Powered by
<A href="http://atlassian.com/">Atlassian</A>
<A href="http://atlassian.com/confluence/">Confluence</A>
.
</SMALL>
</SPAN>
</TD>
<TD align="right">
<A style="color:#999;font-size:small;font-weight:normal;" href="https://cwiki.apache.org/confluence/pages/editpage.action?spaceKey=OPENEJB&title=Embedded">[ edit ]</A>
</TD>
</TR>
</TABLE>
<BR>
</TD>
<TD class="Col4"><IMG src="http://openejb.apache.org/images/dotTrans.gif"></TD>
<TD class="Col5">&nbsp;</TD>
</TR>
</TABLE>
<!-- Needed for composition plugin -->
<!-- delay the loading of large javascript files to the end so that they don't interfere with the loading of page content -->
<SPAN style="display: none">
<SCRIPT type="text/javascript" language="JavaScript" src="http://cwiki.apache.org/confluence/labels-javascript"></SCRIPT>
<SCRIPT src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</SCRIPT>
<SCRIPT type="text/javascript">
_uacct = "UA-2717626-1";
urchinTracker();
</SCRIPT>
</SPAN>
</BODY>
</HTML>