blob: 6fd330bc61df6716843293a0a0f2300d5f76c1fb [file] [log] [blame]
<?xml version="1.0"?>
<document url="http://www.openejb.org/index.xml" toc="none" page-title="none">
<body>
<title>OpenEJB 1.0 WebAdmin</title>
<section title="Intro">
<p>
The Webadmin is very innovative in that it lets you plug-in your own
admin beans. Here are some screenshots:
<ul>
<li><a href='images/webadmin-main.png'>Main</a></li>
<li><a href='images/webadmin-ejbdetails.png'>EJB Details</a></li>
<li><a href='images/webadmin-listlogs.png'>List Logs</a></li>
<li><a href='images/webadmin-properties.png'>System Properties</a></li>
<li><a href='images/webadmin-viewjndi.png'>JNDI Viewer</a></li>
<li><a href='images/webadmin-ejbviewer.png'>EJB Viewer</a></li>
<li><a href='images/webadmin-objectinvoker.png'>Object and EJB Invoker</a></li>
</ul>
</p>
</section>
<section title="WebAdmin Beans">
<p>
To create an EJB and have it included as part of the WebAdmin, simply
subclass from WebAdminBean and include it in your ejb-jar.xml file as
such:
</p>
<p>
<code-block>
<![CDATA[
<session>
<description>A JNDI viewer</description>
<ejb-name>webadmin/ViewJndi</ejb-name>
<home>org.openejb.webadmin.HttpHome</home>
<remote>org.openejb.webadmin.HttpObject</remote>
<ejb-class>org.openejb.webadmin.clienttools.ViewJndiBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
</session>
]]>
</code-block>
</p>
<p>
The ejb-name is used to create the menus and should follow the format
of 'menu-section/menu-item'. WebAdminBeans are grouped together by
the 'menu-section' portion of their ejb-name. The 'menu-item' is the
clickable link that causes the EJB code to be execute. Very simple
and makes it possible to package administrative components with your
EJB applications.
</p>
</section>
<section title="WebAdmin Plugins">
<p>
Here is a project that already takes advantage of the
new feature.
<a href="http://beangen.sourceforge.net/">BeanGen</a>
</p>
</section>
</body>
</document>