| |
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <HTML> |
| <HEAD> |
| <!-- $PAGETITLE --> |
| <TITLE>OpenEJB - Space Index</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"> |
| </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"> </TD> |
| <TD class="Col3" id="breadcrumbs"> |
| <!-- $TOP_NAV_BAR --> |
| <A href="../OPENEJB/index.html" title="Index">Home</A> | <A href="../OPENEJB/download.html" title="Download">Download</A> | <A href="../OPENEJB/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"> </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="../OPENEJB/index.html" title="Index">Home</A></LI> |
| <LI><A href="../OPENEJB/news.html" title="News">News</A></LI> |
| <LI><A href="../OPENEJB/faq.html" title="FAQ">FAQ</A></LI> |
| <LI><A href="../OPENEJB/download.html" title="Download">Download</A></LI> |
| <LI><A href="index.html" title="Index">Documentation</A></LI> |
| <LI><A href="../OPENEJB/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="../OPENEJB/mailing-lists.html" title="Mailing Lists">Mailing Lists</A></LI> |
| <LI><A href="../OPENEJB/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="../OPENEJB/local-server.html" title="Local Server">Local</A></LI> |
| <LI><A href="../OPENEJB/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="tomcat.html" title="Tomcat">Tomcat</A></LI> |
| <LI><A href="../OPENEJB/geronimo.html" title="Geronimo">Geronimo</A></LI> |
| <LI><A href="../OPENEJB/webobjects.html" title="WebObjects">WebObjects</A></LI> |
| </UL> |
| |
| |
| <H3><A name="Navigation-Community"></A>Community</H3> |
| |
| <UL class="alternate" type="square"> |
| <LI><A href="../OPENEJB/team.html" title="Team">Team</A></LI> |
| <LI><A href="../OPENEJB/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="../OPENEJB/space-index.html" title="Space Index">Site Index</A></LI> |
| <LI><A href="" 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"> </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 --> |
| Space Index |
| </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"> |
| |
| <H2>Space Index</H2> |
| |
| <P> |
| <TABLE width="99%" cellspacing="0" class="grid"> |
| <TR> |
| <TD colspan="2"> |
| <TABLE width="100%"> |
| <TR> <TD><A href="#index-0-9">0-9</A> ... 0</TD> |
| <TD><A href="#index-A">A</A> ... 4</TD> |
| <TD><A href="#index-B">B</A> ... 4</TD> |
| <TD><A href="#index-C">C</A> ... 16</TD> |
| <TD><A href="#index-D">D</A> ... 30</TD> |
| <TD><A href="#index-E">E</A> ... 12</TD> |
| </TR><TR> |
| <TD><A href="#index-F">F</A> ... 1</TD> |
| <TD><A href="#index-G">G</A> ... 2</TD> |
| <TD><A href="#index-H">H</A> ... 4</TD> |
| <TD><A href="#index-I">I</A> ... 7</TD> |
| <TD><A href="#index-J">J</A> ... 7</TD> |
| <TD><A href="#index-K">K</A> ... 0</TD> |
| </TR><TR> |
| <TD><A href="#index-L">L</A> ... 2</TD> |
| <TD><A href="#index-M">M</A> ... 1</TD> |
| <TD><A href="#index-N">N</A> ... 2</TD> |
| <TD><A href="#index-O">O</A> ... 4</TD> |
| <TD><A href="#index-P">P</A> ... 4</TD> |
| <TD><A href="#index-Q">Q</A> ... 1</TD> |
| </TR><TR> |
| <TD><A href="#index-R">R</A> ... 2</TD> |
| <TD><A href="#index-S">S</A> ... 14</TD> |
| <TD><A href="#index-T">T</A> ... 9</TD> |
| <TD><A href="#index-U">U</A> ... 5</TD> |
| <TD><A href="#index-V">V</A> ... 0</TD> |
| <TD><A href="#index-W">W</A> ... 2</TD> |
| </TR><TR> |
| <TD><A href="#index-X">X</A> ... 0</TD> |
| <TD><A href="#index-Y">Y</A> ... 0</TD> |
| <TD><A href="#index-Z">Z</A> ... 0</TD> |
| <TD><A href="#index-%2521@%2523%2524">!@#$</A> ... 0</TD> |
| <TD> </TD> |
| <TD> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| </TR> |
| <TR valign="top"> <TD><H4 style="margin-top: 0px"><A name="index-0-9"></A>0-9</H4> |
| </TD> |
| <TD><H4 style="margin-top: 0px"><A name="index-A"></A>A</H4> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="alternate-descriptors.html">Alternate Descriptors</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">OpenEJB 3.1.1, you have the ability to specify an alternate set of deployment descriptors to use for a given environment. This is focused mostly on testing where it is often desirable to use a slightly different configuration for a set of tests or even a specific test. Note ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="annotations-xml-and-defaults.html">Annotations, XML and Defaults</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">following is a list of all annotations and their attributes, the xml tags that correspond to them (for overriding), and what the default values are when left unspecified. Annotation xml element(s) default value @Stateless <session> <ejbclass> <sessiontype>Stateless</sessiontype> name <ejbname> The simple ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="apache-tomee.html">Apache TomEE</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Apache TomEE, pronounced "Tommy", is an allApache stack aimed at Java EE 6 Web Profile certification where Tomcat is top dog. Overview Connector Apache Geronimo Connector CDI Apache OpenWebBeans EJB Apache OpenEJB Javamail ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="application-discovery-via-the-classpath.html">Application discovery via the classpath</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">document details the various ways to get OpenEJB to pickup applications you'd like deployed while in an embedded mode. Empty ejbjar.xml approach (recommended) Simplify the issue of searching for annotated applications by adding an ejbjar.xml like this to your app ... </DIV> |
| </TD> |
| </TR><TR valign="top"> |
| <TD><H4 style="margin-top: 0px"><A name="index-B"></A>B</H4> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="basics-getting-things.html">Basics - Getting Things</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Getting Stuff from the Container Generally speaking the only way to get a ContainerManaged Resource is via dependency injection or lookup from within a ContainerManaged Component. The unbreakable rules. Read these over and over again when things don't work. # java ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="basics-security.html">Basics - Security</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">section is under construction, please check back later. Related Documents Security \ login module configuration Security Annotations \ EJB3 related annotation based security. Server Side Security There's a few things that should be noted about security from ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="basics-transactions.html">Basics - Transactions</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">One of the many benefits of EJB, is that transactions within the EJB container are generally managed entirely automatically. Any EJB component will, by default, partake in that transaction. Here are some basic rules to understand about transactions. Keep note that this is the default behaviour, and the system ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="built-in-type-converters.html">Built-in Type Converters</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">following builtin types are supported for @Resource injection in EJBs via <enventry> elements in a METAINF/ejbjar.xml or via plain properties in a METAINF/enventries.properties file. EJB 3.0 required types: java.lang.Boolean java.lang.Byte java.lang.Character java.lang.Double java.lang.Float java.lang.Integer java.lang.Long java.lang.Short ... </DIV> |
| </TD> |
| <TD><H4 style="margin-top: 0px"><A name="index-C"></A>C</H4> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="callbacks.html">Callbacks</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Correct usage of PostConstruct, PreDestroy, PrePassivate, PostActivate, and AroundInvoke for EJBs and Interceptors. For Stateful, Stateless, and MessageDriven, the syntax is as follows: @PostConstruct <anyscope> void <methodname>() @PreDestroy <anyscope> void <methodname>() @PrePassivate <anyscope> void <methodname>() @PostActivate <anyscope> void <methodname ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="client-server-transports.html">Client-Server Transports</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Client/Server transports jar transport description openejbejbd3.0.jar provides the 'ejbd' protocol. A binary protocol traveling over a socket openejbhttp3.0.jar supports the ejbd protocol over http openejbderbynet3.0.jar allows for derby to accessed via it's network driver openejbhsql3.0.jar allows ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="clients.html">Clients</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Local Client (embedded container) Properties p = new Properties(); p.put("java.naming.factory.initial", "org.apache.openejb.client.LocalInitialContextFactory"); InitialContext ctx = new InitialContext(p); MyBean myBean = (MyBean) ctx.lookup("MyBeanRemote"); Local Client (nondefault realm name) Login configuration file (conf ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="collapsed-ear-on-linux.html">Collapsed EAR on Linux</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Instructions on Collapsed EAR can be found at&nbsp; Collapsed EAR Commands Only A lot of times docs get chatty. Sometimes there is nothing better than standing over someone's shoulder and watching how to setup something. So, here we ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="common-datasource-configurations.html">Common DataSource Configurations</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Common Vendors HSQLDB The drivers are included with OpenEJB 3.0 and HSQLDB is the default database. <Resource id="HSQLDB Database" type="DataSource"> JdbcDriver org.hsqldb.jdbcDriver JdbcUrl jdbc:hsqldb:file:hsqldb UserName sa Password </Resource> Derby (Embedded) <Resource ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="common-persistenceprovider-properties.html">Common PersistenceProvider properties</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">While not a definitive list, it does help to show a sidebyside view of common properties used by the various persistence providers out there. TopLink <properties> <!http://www.oracle.com/technology/products/ias/toplink/JPA/essentials/toplinkjpaextensions.html> <property name="toplink.ddlgeneration" value ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="configuring-containers-in-tests.html">Configuring Containers in Tests</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Like Resources, Containers can also be declared via InitialContext properties as well. The most useful is to declare a Stateful SessionBean container so that it's guaranteed to passivate and activate on each call to the bean, allowing you to test your callbacks behave as you ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="configuring-datasources.html">Configuring DataSources</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Configuring DataSources in openejb.xml The <Resource> element is used to configure a javax.sql.DataSource. It is also used to configure other resources like Timers, Topics, Queues. We will see some examples of using <Resource> to configure a DataSource. The <Resource> element is designed after @Resource ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="configuring-datasources-in-tests.html">Configuring DataSources in Tests</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">InitialContext properties You can configure data sources from within your test case (avoiding the need for an openejb.xml entirely) like so: Properties p = new Properties(); p.put(Context.INITIALCONTEXTFACTORY, "org.apache.openejb.client.LocalInitialContextFactory"); p.put("myDataSource", "new://Resource ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="configuring-durations.html">Configuring Durations</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">time based configuration properties of containers and beans support plain english, such as: "1 hour" "27 minutes" "10 seconds" For convenience it is possible to specify a compound form, such as: "3 days and 2 hours" "1 hour, 45 minutes" "15 minutes ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="configuring-javamail.html">Configuring JavaMail</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Declaring a JavaMail Resource The basics are that any properties listed in the <Resource> element are given directly to the javamail provider via javax.mail.Session.getDefaultInstance(Properties props). Here might be some example properties. <Resource id="SuperbizMail" type="javax.mail.Session"> mail.smtp.host=mail.superbiz.org mail.smtp.port ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="configuring-logging-in-tests.html">Configuring Logging in Tests</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">embedded.logging.properties When in embedded mode OpenEJB uses an embedded.logging.properties file packed in our openejbcore jar which use to configure the logging. This logging configuration is a bit lighter than the conf/logging.properties file created in a full standalone OpenEJB setup ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="configuring-persistenceunits-in-tests.html">Configuring PersistenceUnits in Tests</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Overriding the persistence.xml The most common situation in EJB related testing by far is the need to alter your persistence.xml for a test environment. Overriding the <jtadatasource> and <nonjtadatasource> OpenEJB will automatically use the DataSources you have setup in your test environment, we're pretty ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="constructor-injection.html">Constructor Injection</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">those of you who would like to use final fields, wish to avoid numerous setters, or dislike private field injection and would like nothing more than to just use plan old java constructors, your wish has ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="containers-and-resources.html">Containers and Resources</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Containers CMPENTITY Declarable in openejb.xml via <Container id="Foo" type="CMPENTITY"> </Container> Declarable in properties via Foo = new://Container?type=CMPENTITY Supports the following properties Property Name Description CmpEngineFactory Default value is org.apache.openejb.core.cmp.jpa.JpaCmpEngineFactory. BMPENTITY ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="custom-injection.html">Custom Injection</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Overview As noted in the Injection of enventry Example, the EJB 3.0 supported enventry types are fairly limited. Also the use of several <enventry> tags in an ejbjar.xml can get a bit verbose. OpenEJB does not restrict you to just these data types ... </DIV> |
| </TD> |
| </TR><TR valign="top"> |
| <TD><H4 style="margin-top: 0px"><A name="index-D"></A>D</H4> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="datasource-password-encryption.html">DataSource Password Encryption</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Apache OpenEJB 3.1.2 or later required Ciphering passwords Apache OpenEJB now provides an easy and extensible way to cipher databases passwords. Not that by default, this feature is not activated so plain passwords are used. Usage Default Plain text password ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="deploy-tool.html">Deploy Tool</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">NAME openejb deploy OpenEJB Deploy Tool SYNOPSIS openejb deploy #options <file> \<file>...\ NOTE The OpenEJB Deploy tool is an OPTIONAL tool that allows you to deploy into a running server and get feedback as if the app was deployed and how it was deployed ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="deployments.html">Deployments</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Deployments' element in openejb.xml A single jar To include a single jar by name, just declare a 'Deployments' element with a 'jar' attribute pointing to the jar file on the file system. <openejb> ... <Deployments jar="c:\my\app\superEjbs.jar" /> <Deployments jar="c ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design.html">Design</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">OpenEJB System Design Definition A modular, configurable, customizable, embeddable open source EJB container system Also Known As container system Responsibilities Implement EJB 3.0 Specification Related Classes org.apache.openejb.OpenEJB Required Libraries openejbjavaagent3.0.x.jar openejbjee3.0.x.jar openejbcore3.0.x.jar ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-application-server.html">Design - Application Server</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Application Server Subcomponent of OpenEJB Design Definition Any component wishing to serve or deliver Enterprise JavaBeans. Also Known As Server Adapter Server Provider Responsibilities Remote client access to OpenEJB Implement the bean's remote and home interfaces. Distribute ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-application-serverlinks.html">Design - Application ServerLinks</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">http://openejb.apache.org/images/figureappserver.gif</DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-assembler.html">Design - Assembler</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Assembler Subcomponent of OpenEJB Design Definition Instantiates and assembles a configured, runnable, instance of the container system and all subcomponents. Vendors needing extreme control over the construction of the container system can get it by implementing this class. Doing this comes with large amounts ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-bmp-entitybean-container.html">Design - BMP EntityBean Container</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">BMP EntityBean Container Implementation of Container Design Container Description Container that implements the EJB defined beancontainer contract for EntityBeans with beanmanaged persistence. Also Known As BMP Entity Container BMP Container Related Classes org.apache.openejb.core.entity.EntityContainer</DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-classic-assembler.html">Design - Classic Assembler</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Classic Assembler Implementation of Assembler Design Assembler Description The standard assembler supported by the OpenEJB team. Uses metadata supplied via the Configuration Factory to create all components in the system. It is assumed the metadata has been checked and validated, all links ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-cmp-entitybean-container.html">Design - CMP EntityBean Container</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">CMP EntityBean Container Implementation of Container Design Container Description Container that implements the beancontainer contract for CMP 1.1 and CMP 2.1 EntityBeans. The container adapts these old CMP EntityBeans to the new JPA Entity bean model and persists them using ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-configuration-factory.html">Design - Configuration Factory</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Configuration Factory Subcomponent of Classic Assembler Design Classic Assembler Definition Creates an instance of the OpenEjbConfiguration class that contains all the data and configuration information the Classic assembler needs to construct the container system. The object structure in the OpenEjbConfiguration class is refered ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-container.html">Design - Container</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Container Subcomponent of OpenEJB Design Definition An Enterprise JavaBeans container enforce the containerbean contract for an EJB 1.1, 2.0, 2.1 or 3.0 bean type. Containers for custom containerbean contracts can also be created. Also Known As Container ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-local-server.html">Design - Local Server</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Local Server Implementation of Application Server Design Application Server Description Allows for optimized interaction among beans and clients in the same virtual machine. Also Known As IntraVM IntraVM Server Related Packages org.apache.openejb.core.ivm</DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-local-serverlinks.html">Design - Local ServerLinks</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px"></DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-nova-configuration-factory.html">Design - Nova Configuration Factory</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Nova Configuration Factory Implementation of Configuration Factory Design Configuration Factory Description Populates an OpenEjbConfiguration object by combining the data from an openejb.xml file, the ejbjar.xml and openejbjar.xml from deployed bean jars, and servicejar.xml containing OpenEJB service ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-passivation-strategy.html">Design - Passivation Strategy</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Passivation Strategy Subcomponent of Stateful SessionBean Container Design Stateful SessionBean Container Definition Used by the Stateful Container to passivate and activate stateful session beans to a temporary storage. Responsibilities Store and retrieve instances Related Classes org.apache.openejb.core.stateful.PassivationStrategy Implementations Random ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-random-access-file-passivater.html">Design - Random Access File Passivater</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Random Access File Passivater Implementation of Passivation Strategy Design Passivation Strategy Description A PassivationStrategy that bulk passivates bean instances to a random access file. Also Known As RAF Passivater Related Classes org.apache.openejb.core.stateful.RAFPassivater</DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-remote-server.html">Design - Remote Server</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Remote Server Implementation of Application Server Design Application Server Description Distributes EJB interface implementations to remote clients using a conversational serializationbased protocol. Also Known As EJBd Protocol Related Classes org.apache.openejb.server.EjbDaemon Related Packages org.apache.openejb.client org.apache.openejb.server ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-remote-serverlinks.html">Design - Remote ServerLinks</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px"></DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-resource-manager.html">Design - Resource Manager</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Resource Manager Subcomponent of OpenEJB Design Definition Provides the container with managed connections to transactional data sources required by beans Also Known As Connector Connection Manager Responsibilities Provides beans with connection handles Manages pysical connections Related Packages ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-security-service.html">Design - Security Service</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Security Service Subcomponent of OpenEJB Design Definition Provides the container with an authenticated client identity. Also Known As Security Provider Responsibilities Authenticate the user in an implementation specific way Provides OpenEJB a reference to the current security identity of the client ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-simple-passivater.html">Design - Simple Passivater</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Simple Passivater Implementation of Passivation Strategy Design Passivation Strategy Description A PassivationStrategy that idividually passivates bean instances to a binary file. Related Classes org.apache.openejb.core.stateful.SimplePassivater</DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-stateful-sessionbean-container.html">Design - Stateful SessionBean Container</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Stateful SessionBean Container Implementation of Container Design Container Description Container that implements the EJB defined beancontainer contract for Stateful SessionBeans. Also Known As Stateful Session Container Stateful Container Related Classes org.apache.openejb.core.stateful.StatefulContainer Subcomponents Passivation Strategy Design ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-stateless-sessionbean-container.html">Design - Stateless SessionBean Container</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Stateless SessionBean Container Implementation of Container Design Container Description Container that implements the EJB defined beancontainer contract for stateless SessionBeans. Also Known As Stateless Session Container Stateless Container Related Classes org.apache.openejb.core.stateless.StatelessContainer</DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="design-transaction-service.html">Design - Transaction Service</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Transaction Service Subcomponent of OpenEJB Design Definition Provides the container with transactional integrity. Also Known As Transaction Manager Responsibilities To give OpenEJB a reference to a valid implementation of javax.transaction.TransactionManager Related Classes org.apache.openejb.spi.TransactionService javax.transaction.TransactionManager</DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="designlinks.html">DesignLinks</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">http://openejb.apache.org/images/figureopenejb.gif</DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="developers.html">Developers</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px"></DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="developers-guide.html">Developers Guide</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px"></DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="documentation.html">Documentation</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px"></DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="dynamic-datasource.html">Dynamic Datasource</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">OpenEJB dynamic datasource Goal The openejb dynamic datasource api aims to allow to use multiple data sources as one. It can be useful for technical reasons (load balancing for example) or functionnal reasons (filtering, aggregation, enriching...). The API The interface Router ... </DIV> |
| </TD> |
| <TD><H4 style="margin-top: 0px"><A name="index-E"></A>E</H4> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="ejb-jpa-jsf-jax-rs.html">EJB + JPA + JSF + JAX-RS</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Business Case The example explains how a reallife business problem is solved using OpenEJB in a combination with other opensource frameworks and tools. The example covers the entire technical solution, including architecture, design, build automation, unit testing, implementation, and deployment ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="ejb-21-compatibility-example.html">EJB 2.1 Compatibility Example</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Overview In EJB 3.0, your bean's interfaces are not required to extend any specific set of interfaces and generally have no requirements on them at all. These are referred to in EJB spec lingo as Business Interfaces. In EJB 2.1 and prior, however, there were some pretty ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="ejb-30-specification.html">EJB 3.0 Specification</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Specification The EJB 3.0 specification can be downloaded from the JSR 220 http://www.jcp.org/en/jsr/detail?id=220 at the JCP (Java Community Process) website after clicking through the JCP's online agreement. The specification is very large ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="ejb-refs.html">EJB Refs</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Referencing a bean in another jar (with annotations) When using annotations to reference a bean from another ejb in your ear you have to supplement the @EJB reference with a small chunk of xml in the ejbjar.xml of the referring bean. So in ejb app A colorsApp.jar ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="ejb-servlet.html">EJB Servlet</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">package org.superbiz; import org.apache.openejb.loader.SystemInstance; import org.apache.openejb.server.ServiceException; import org.apache.openejb.server.ejbd.EjbServer; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.ServletInputStream; import javax.servlet.ServletOutputStream; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; public class EjbServerServlet extends HttpServlet { private ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="ejb-local-ref.html">ejb-local-ref</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Via annotation package org.superbiz.refs; import javax.ejb.EJB; import javax.ejb.Stateless; import javax.naming.InitialContext; @Stateless @EJB(name = "myFooEjb", beanInterface = FooLocal.class) public class MyEjbLocalRefBean implements MyBeanInterface { @EJB private BarLocal myBarEjb; public void someBusinessMethod() throws Exception ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="ejb-ref.html">ejb-ref</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Via annotation package org.superbiz.refs; import javax.ejb.EJB; import javax.ejb.Stateless; import javax.naming.InitialContext; @Stateless @EJB(name = "myFooEjb", beanInterface = FooRemote.class) public class MyEjbRemoteRefBean implements MyBeanInterface { @EJB private BarRemote myBarEjb; public void someBusinessMethod() throws Exception ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="embedded-and-remotable.html">Embedded and Remotable</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Overview This example shows how to use OpenEJB3's remoting capabilities in an embedded scenario. By remoting we mean that you wish to allow clients in other vms access your ejbs. Note, you do not need to go to this extreme to unit ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="embedded-configuration.html">Embedded Configuration</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Defaults, Overrides and Order When booting up OpenEJB for testing via the LocalInitialContextFactory there is quite a bit of flexibility to how things are configured. OpenEJB will function fine with no configuration at all and will happily create things as needed and select defaults for everything. So in a real ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="embedding.html">Embedding</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">basic process for embedding OpenEJB: # Add the OpenEJB libraries to your classpath # Ensure your EJB modules are discoverable # Use the LocalInitialContextFactory to boot OpenEJB Important docs Application discovery via the classpath Embedded Configuration Configuring DataSources in Tests Configuring ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="examples.html">Examples</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">EJB3 Examples All examples come with JUnit unit tests that can be run in any IDE, Maven or Ant without special plugins using OpenEJB as an embedded EJB container. The easiest way to run the examples in your IDE is to use ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="examples-table.html">Examples Table</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">title description APIs used Simple Stateless Simple Stateless Example Simple EJB3 @Stateless bean with local and remote business interfaces and unit test. javax.ejb.Remote javax.ejb.Local javax.ejb.Stateless Simple Stateful Simple Stateful Example Simple EJB3 @Stateful ... </DIV> |
| </TD> |
| </TR><TR valign="top"> |
| <TD><H4 style="margin-top: 0px"><A name="index-F"></A>F</H4> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="failover.html">Failover</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Overview OpenEJB supports stateless failover. Specifically, the ability for an EJB client to failover from one server to the next if a request cannot be completed. No application state information is communicated between the servers, so this functionality should be used only with applications ... </DIV> |
| </TD> |
| <TD><H4 style="margin-top: 0px"><A name="index-G"></A>G</H4> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="getting-started.html">Getting Started</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">nbsp;The following instructions are written using Eclipse 3.2. We will refer to the install location of OpenEJB as OPENEJBHOME Here are some basic steps you need to perform to get started with OpenEJB # Download and install OpenEJB # Setup your development environment ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="getting-started-d.html">Getting Started (D)</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px"></DIV> |
| </TD> |
| </TR><TR valign="top"> |
| <TD><H4 style="margin-top: 0px"><A name="index-H"></A>H</H4> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="hello-world.html">Hello World</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">page shows the basic steps required to create, build, and run an EJB and EJB client in its most minimum form. It does not hide steps or rely on special build tools or IDEs and is about the most stripped down you can ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="helloworld-weblogic.html">Helloworld Weblogic</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px"></DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="hibernate.html">Hibernate</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Sample persistence.xml For a unit called "movieunit" using two datasources called "movieDatabase" and "movieDatabaseUnmanaged" the following persistence.xml would work. <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xsi:schemaLocation ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="home.html">Home</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px"></DIV> |
| </TD> |
| <TD><H4 style="margin-top: 0px"><A name="index-I"></A>I</H4> |
| <SPAN class="icon icon-home-page" title="Home" page="">Home page:</SPAN> |
| <A href="index.html">Index</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Java EE Basics ## Getting Things Basics Getting Things ## Security Basics Security ## Transactions Basics Transactions # EJB 3.0 Applications ## EJB 3.0 Specification ## Callbacks ## Understanding Callbacks ## Security Annotations ## Transaction Annotations ## EJB Refs ## XML ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="injection-of-datasource-example.html">Injection of DataSource Example</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Overview <object width="400" height="250"><param name="movie" value="http://www.youtube.com/v/g3lIPlegDJk?fs=1&amp;hl=enUS&amp;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="injection-of-entitymanager-example.html">Injection of EntityManager Example</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Overview <object width="400" height="250"><param name="movie" value="http://www.youtube.com/v/s4uiIoAehgQ?fs=1&amp;hl=enUS&amp;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="injection-of-env-entry-example.html">Injection of env-entry Example</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Overview The EJB 3.0 spec added Dependency Injection as a main feature. The @Resource annotation can be used to inject several things including EntityManagers, DataSources, Topics, Queues, etc. Most of these are container supplied objects. It is possible, however, to supply your ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="injection-of-other-ejbs-example.html">Injection of other EJBs Example</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Overview This example shows how to use the @EJB annotation in a bean class to refer to other beans. This functionality is often referred as dependency injection, and has been introduced in Java EE 5. In this particular example, we will create two session stateless ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="interceptor-example.html">Interceptor Example</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px"></DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="introduction-to-the-command-line-tools.html">Introduction to the command line tools</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px"></DIV> |
| </TD> |
| </TR><TR valign="top"> |
| <TD><H4 style="margin-top: 0px"><A name="index-J"></A>J</H4> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="java-ee-refs.html">Java EE Refs</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px"></DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="javaagent.html">JavaAgent</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Adding a JavaAgent Adding a java agent is done via a vm parameter as follows: java javaagent:openejbjavaagent3.0beta2.jar \other params... The java agent is only required if using OpenJPA as your persistence provider or if using CMP. Maven2 In maven2 you can ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="javaagent-with-maven-surefire.html">JavaAgent with Maven Surefire</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Maven2 In maven2 you can enable the javaagent for your tests by adding this to your pom.xml file: <build> <plugins> <! this configures the surefire plugin to run your tests with the javaagent enabled > <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>mavensurefireplugin</artifactId> <configuration ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="jms-resources-and-mdb-container.html">JMS Resources and MDB Container</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">External ActiveMQ Broker <openejb> <Resource id="MyJmsResourceAdapter" type="ActiveMQResourceAdapter"> # Do not start the embedded ActiveMQ broker BrokerXmlConfig ServerUrl tcp://someHostName:61616 </Resource> <Resource id="MyJmsConnectionFactory" type="javax.jms.ConnectionFactory"> ResourceAdapter MyJmsResourceAdapter </Resource> <Container id ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="jndi-names.html">JNDI Names</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">What's My Bean's JNDI Name? There are two things to keep in mind before you start reading: # OpenEJB provides a default JNDI name to your EJB. # You can customize the JNDI name. Default JNDI name The default JNDI ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="jpa-concepts.html">JPA Concepts</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">JPA 101 If there's one thing you have to understand to successfully use JPA (Java Persistence API) it's the concept of a Cache. Almost everything boils down to the Cache at one point or another. Unfortunately the Cache is an internal thing and not exposed via ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="jpa-usage.html">JPA Usage</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Things to watch out for Critical: Always set jtadatasource and nonjtadatasource Always set the value of jtadatasource and nonjtadatasource in your persistence.xml file. Regardless if targeting your EntityManager usage for transactiontype="RESOURCELOCAL" or transactiontype="TRANSACTION", it's very difficult to guarantee one or the other ... </DIV> |
| </TD> |
| <TD><H4 style="margin-top: 0px"><A name="index-K"></A>K</H4> |
| </TD> |
| </TR><TR valign="top"> |
| <TD><H4 style="margin-top: 0px"><A name="index-L"></A>L</H4> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="local-client-injection.html">Local Client Injection</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">LocalClient annotation (org.apache.openejb.api.LocalClient) is an innovation that crosses concepts of an Java EE Application Client with a plain Java SE client. This particular annotation is focused on clients of an Embeddable EJB container, i.e. local clients. There is another annotation in development ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="lookup-of-other-ejbs-example.html">Lookup of other EJBs Example</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Overview This example shows how to configure JNDI to lookup other EJBs using either the @EJB annotation or the ejbjar.xml deployment descriptor. There are a couple interesting aspects in this example intended to flush out some of the more confusing, and perhaps frustrating, aspects of referring ... </DIV> |
| </TD> |
| <TD><H4 style="margin-top: 0px"><A name="index-M"></A>M</H4> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="manual-installation.html">Manual Installation</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Overview The manual installation process is significantly harder then the automatic installation Tomcat which we normally recommend. In this installation process you will do the following: # Install openejb.war ## Download openejb.war from the OpenEJB download page http://people.apache.org/dain/openejbtemp ... </DIV> |
| </TD> |
| </TR><TR valign="top"> |
| <TD><H4 style="margin-top: 0px"><A name="index-N"></A>N</H4> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="navigation.html">Navigation</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px"></DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="new-instructions.html">New Instructions</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Instructions on OpenEJB Tomcat Installation can be found at&nbsp; Tomcat</DIV> |
| </TD> |
| <TD><H4 style="margin-top: 0px"><A name="index-O"></A>O</H4> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="online-javadocs.html">Online Javadocs</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px"></DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="openejb-per-tomcat-installation.html">OpenEJB per Tomcat installation</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Instructions on OpenEJB Tomcat Installation can be found at&nbsp; Tomcat OpenEJB per Tomcat instance Configure OpenEJB per Tomcat instance requires the following steps:\ Copy the war/openejbloader1.0SNAPSHOT.war into the webapps dir of a running Tomcat install $ cd $OPENEJBHOME ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="openejbxml.html">openejb.xml</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Overview The openejb.xml is the main configuration file for the container system and it's services such as transaction, security, and data sources. The format is a mix of xml and properties inspired by the format of the httpd configuration file. Basically: <tag id=""> ...properties... </tag> Such as: <Resource id="MyDataSource" type ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="openjpa.html">OpenJPA</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">OpenJPA is bundled with OpenEJB as the default persistence provider. An example of working persistence.xml for OpenJPA: <persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0"> <persistenceunit name="movieunit"> <jtadatasource>movieDatabase</jtadatasource> <nonjtadatasource>movieDatabaseUnmanaged</nonjtadatasource> <class ... </DIV> |
| </TD> |
| </TR><TR valign="top"> |
| <TD><H4 style="margin-top: 0px"><A name="index-P"></A>P</H4> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="persistence-context.html">persistence-context</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Via annotation Both lookup and injection of an EntityManager can be configured via the @PersistenceContext annotation. package org.superbiz; import javax.persistence.PersistenceContext; import javax.persistence.EntityManager; import javax.ejb.Stateless; import javax.naming.InitialContext; @Stateless @PersistenceContext(name = "myFooEntityManager", unitName = "foounit") public class ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="persistence-unit-ref.html">persistence-unit-ref</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Both lookup and injection of an EntityManagerFactory can be configured via the @PersistenceUnit annotation or <persistenceunitref> in xml. Annotations and xml have equal function in both lookup and injection. Injection and Lookup Via annotation package org.superbiz; import javax.persistence.PersistenceUnit; import javax.persistence.EntityManagerFactory ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="properties-tool.html">Properties Tool</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Properties Command line Tool To see all configurable properties in use by OpenEJB, using the following tool against a running server: ./bin/openejb properties The output of this tool takes all overrideable components OpenEJB sees and outputs their properties along ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="property-overriding.html">Property Overriding</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">OpenEJB consists of several components (containers, resource adapters, security services, etc.) all of which are pluggable and have their own unique set of configurable properties. These components are required to specify their default property values in their servicejar.xml file. This means that at a minimum you ... </DIV> |
| </TD> |
| <TD><H4 style="margin-top: 0px"><A name="index-Q"></A>Q</H4> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="quicklinks.html">QuickLinks</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Home OPENEJB:Index Download OPENEJB:Download Lists OPENEJB:Mailing Lists</DIV> |
| </TD> |
| </TR><TR valign="top"> |
| <TD><H4 style="margin-top: 0px"><A name="index-R"></A>R</H4> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="resource-injection.html">Resource Injection</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Overview This example demonstrates the use of the injection of environment entries using @Resource annotation. The EJB 3.0 specification (EJB Core Contracts and Requirements) section 16.2.2 reads: A field or method of a bean class may be annotated to request that an entry from ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="resource-ref-for-datasource.html">resource-ref for DataSource</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Via annotation package org.superbiz.refs; import javax.annotation.Resource; import javax.ejb.Stateless; import javax.naming.InitialContext; import javax.sql.DataSource; @Stateless @Resource(name = "myFooDataSource", type = DataSource.class) public class MyDataSourceRefBean implements MyBeanInterface { @Resource private DataSource myBarDataSource; public void someBusinessMethod ... </DIV> |
| </TD> |
| <TD><H4 style="margin-top: 0px"><A name="index-S"></A>S</H4> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="security.html">Security</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Security How To. We currently have two authentication mechanisms to choose from: {{PropertiesLoginModule}} (a basic text file based login that looks up users and groups from the specified properties files) {{SQLLoginModule}} (database based login that looks up ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="security-annotations.html">Security Annotations</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">page shows the correct usage of the security related annotations: javax.annotation.security.RolesAllowed javax.annotation.security.PermitAll javax.annotation.security.DenyAll javax.annotation.security.RunAs javax.annotation.security.DeclareRoles Basic idea By default all methods of a business interface are accessible, logged in or not The annotations go on the bean class, not the business interface Security annotations can ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="service-locator.html">Service Locator</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">functionality of the openejb.jndiname.format JNDI Names allows for writing some really fun service locator code. Creating the exact layout you want using the exact data you want means you can create robust libraries for pulling things ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="simple-stateful-example.html">Simple Stateful Example</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Overview <object width="400" height="250"><param name="movie" value="http://www.youtube.com/v/9JqxbfzsWOQ?fs=1&amp;hl=enUS&amp;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="simple-stateless-example.html">Simple Stateless Example</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Overview <object width="400" height="250"><param name="movie" value="http://www.youtube.com/v/aLx2jta96xU?fs=1&amp;hl=enUS"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="singleton-beans.html">Singleton Beans</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Singleton Overview For the first time in years EJB has a new bean type, the @Singleton. In my opinion, the javax.ejb.Singleton will replace a lot of what people are using @Stateless for today. The Singleton is essentially what you get if you take a Stateless bean ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="singleton-example.html">Singleton Example</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Overview As the name implies a javax.ejb.Singleton is a session bean with a guarantee that there is at most one instance in the application. What it gives you that is completely missing in EJB 3.0 and prior versions is the ability to have an EJB that is notified when the application starts and notified when ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="">Space Index</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px"></DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="spring.html">Spring</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">document and the related feature is considered a prototype and will change based on user feedback. All comments suggestions welcome. Introduction The OpenEJB Spring integration makes all Spring defined beans injectable to JEE components, and all JEE components can be injected ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="spring-and-openejb-30.html">Spring and OpenEJB 3.0</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">OpenEJB 3.1 and later users should refer to the Spring page. Bootstrapping OpenEJB in Spring If you wish to use OpenEJB inside Spring you can do so pretty easily. Include OpenEJB and its dependencies in your classpath as you ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="spring-ejb-and-jpa.html">Spring EJB and JPA</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">OpenEJB 3.1 or later required This example shows how to combine Spring, OpenEJB and Hibernate using the integration code provided by OpenEJB. Here, OpenEJB is used as an embeddable EJB container inside of Spring. See the Spring page for details. We ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="startup.html">Startup</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">NAME openejb start OpenEJB Remote Server SYNOPSIS openejb start #options NOTE The OpenEJB Remote Server can be started by running the openejb.bat script for windows and the openejb script for Linux and other Unix based OSes. Before running these scripts ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="stateless-session-beans.html">Stateless Session Beans</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px"></DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="system-properties.html">System Properties</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">General properties Update this section and add more documentation and examples of the usage of each property. Group similar properties openejb.authentication.realmName openejb.base openejb.configuration openejb.deploymentId.format openejb.deployments.classpath openejb.deployments.classpath.ear openejb.deployments.classpath.exclude openejb.deployments.classpath.filter.descriptors openejb.deployments.classpath.filter.systemapps openejb.deployments.classpath.include openejb.deployments.classpath.require.descriptor openejb.deployments.classpath.ear openejb.descriptors.output openejb.embedded.remotable openejb.home openejb.jndiname.failoncollision ... </DIV> |
| </TD> |
| </TR><TR valign="top"> |
| <TD><H4 style="margin-top: 0px"><A name="index-T"></A>T</H4> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="testcase-with-testbean-inner-class.html">TestCase with TestBean inner-class</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">use of an innerclass annotated as an EJB can get you all the resources you may need to run your test case such as a UserTransaction, EntityManager, JMS Topic or Queue, DataSource, references to other EJBs, etc. Simply add ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="testing-security-example.html">Testing Security Example</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Overview Builds upon the Injection of EntityManager Example but adds the use of @RolesAllowed and @PermitAll in the @Stateful bean to restrict who can perform create, persist and remove operations on the EntityManager. Shows a TestCase using the @RunAs annotation to execute and test the bean code ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="testing-transactions-example.html">Testing Transactions Example</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Overview Testing an EntityManager that uses the default, PersistenceContextType.TRANSACTION, can be challenging due to Entities detaching around transaction boundaries. If you were to take the Injection of EntityManager Example which uses an EXTENDED persistence context and switch it to a TRANSACTION persistence ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="tomcat.html">Tomcat</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Introduction The OpenEJB plugin for Tomcat makes all of the OpenEJB features available to Servlets, including: @Annotations @Resource @PersistenceUnit @PersistenceContext @EJB JPA Java Persistence Architecture JMS Java Messaging Service JTA Transaction Processing TransactionManager Container Managed ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="tomcat-detailed-instructions.html">Tomcat Detailed Instructions</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Detailed Installation Instructions These instructions assume you have a standard Tomcat installation running on port 8080. If you do not have an existing Tomcat installation, or want to start with a fresh installation for OpenEJB, the Tomcat Installation will show you how ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="tomcat-ejb-refs.html">Tomcat ejb-refs</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Via @EJB Annotation Which an be as simple as adding this to your Servlet, Filter, or Listener: @EJB private HelloLocal helloLocal; See the @EJB Injection Example Injection of other EJBs Example for a running example. The example uses one ejb to refer ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="tomcat-installation.html">Tomcat Installation</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Overview Tomcat installation is very simple, and can be describes as "Unpack and Run". These instructions were written using Tomcat 6.0.14 but any recent 6.x version should work. If you are comfortable with the CLI, these the following quick instructions will get you going ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="tomcat-objectfactory.html">Tomcat ObjectFactory</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px"></DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="transaction-annotations.html">Transaction Annotations</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Transaction Annotations also see Testing Transactions Testing Transactions Example for an example of how to use and test EJB transaction attributes The javax.ejb.TransactionAttribute annotation (@TransactionAttribute) can be applied to a bean class or it's methods. Usage of the @TransactionAttribute requires you to specify ... </DIV> |
| </TD> |
| <TD><H4 style="margin-top: 0px"><A name="index-U"></A>U</H4> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="understanding-callbacks.html">Understanding Callbacks</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">rules here are pretty hard to follow without examples. When they say one AroundInvoke per class they mean that in the most literal sense as in one individual java class definition, not including it's parent class or classes, may exactly one AroundInvoke ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="understanding-the-directory-layout.html">Understanding the Directory Layout</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">When freshly unpacked, OpenEJB will look like this: openejb3.0/ openejb3.0/logs/ openejb3.0/apps/ openejb3.0/lib/ openejb3.0/lib/<several jars> openejb3.0/LICENSE.txt openejb3.0/NOTICE.txt openejb3.0/README.txt openejb3.0/bin/ openejb3.0/bin/openejb.bat openejb3.0/bin/openejb openejb3.0/conf/ openejb3.0/conf/README.txt Directories bin/ Contains ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="unit-testing-transactions.html">Unit Testing Transactions</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Basic setup Add the following interface and bean to your test sources (they could even be inner classes of a test case): Business interface public interface Caller Bean Implementation(s) import java.util.concurrent.Callable; @Stateless @TransactionAttribute(REQUIRESNEW) public class TransactionBean ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="users.html">Users</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px"></DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="users-guide.html">Users Guide</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Table of Contents: # Getting Started # Understanding the Directory Layout # Introduction to the command line tools # OPENEJB:Persistence # Stateless Session Beans # OPENEJB:Stateful Session Beans # OPENEJB:Message Driven Beans # Configuring the Server ## Configure a DataSource Configuring DataSources ... </DIV> |
| </TD> |
| </TR><TR valign="top"> |
| <TD><H4 style="margin-top: 0px"><A name="index-V"></A>V</H4> |
| </TD> |
| <TD><H4 style="margin-top: 0px"><A name="index-W"></A>W</H4> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="webapp-based-ejbs.html">Webapp-based EJBs</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px">Instructions on Webappbased EJBs can be found at&nbsp; Collapsed EAR Introduction The basic idea of this approach is that your Servlets and EJBs are together in your war file as one app. No classloader boundries between Serlvets & EJBs EJBs and Servlets can share ... </DIV> |
| <SPAN class="icon icon-page" title="Page">Page:</SPAN> |
| <A href="wiki.html">Wiki</A> |
| <BR> |
| <DIV class="smalltext" style="margin: 0 0 0 36px"></DIV> |
| </TD> |
| </TR><TR valign="top"> |
| <TD><H4 style="margin-top: 0px"><A name="index-X"></A>X</H4> |
| </TD> |
| <TD><H4 style="margin-top: 0px"><A name="index-Y"></A>Y</H4> |
| </TD> |
| </TR><TR valign="top"> |
| <TD><H4 style="margin-top: 0px"><A name="index-Z"></A>Z</H4> |
| </TD> |
| <TD><H4 style="margin-top: 0px"><A name="index-%21@%23%24"></A>!@#$</H4> |
| </TD> |
| </TR> |
| </TABLE> |
| </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"> </TD> |
| <TD class="Col2"> </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=OPENEJBx30&title=Space%20Index">[ edit ]</A> |
| </TD> |
| </TR> |
| </TABLE> |
| <BR> |
| </TD> |
| <TD class="Col4"><IMG src="http://openejb.apache.org/images/dotTrans.gif"></TD> |
| <TD class="Col5"> </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> |