blob: 14a7534bc90a9dd723651a1d3b761f4e36ef7c9e [file] [log] [blame]
<?xml version="1.0" encoding="CP1252" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=CP1252" />
<title>ServerToolsUseCases.html</title>
</head>
<body>
<h1>Server Tools Use Cases</h1>
<p></p>
<p>Principles: We'll consider starting point naive end users who know nothing of
servers, and they don't care, just want one installed installed so they
can focus on their web development. We'll consider three levels: 1) User
does near nothing, 2) user doesn't do much, but may have to provide some
config values and/or import config values. 3) User has to provide many configvalues, and in the worst cases, actually write ant scripts. </p>
<p>Principle: In addition to "end user" use cases,
we'll specify &quot;client code&quot; uses-case that may
simply be specifiying details of function needed for end-user use cases, but
will always have a unit test associated with it. Also, we'll specfiy "service provider"
use cases which can be used to defind SPI's. </p>
<blockquote>
<p></p>
</blockquote><table width="75%" border="1" cellpadding="1" cellspacing="1">
<tbody>
<tr>
<th style="width: 108px">Name</th>
<th style="width: 60px">Priority</th>
<th style="width: 78px">User</th>
<th style="width: 360px">Description</th>
</tr>
<tr>
<td style="width: 108px">Install a Server</td>
<td style="width: 60px">2</td>
<td style="width: 78px">End-user</td>
<td style="width: 360px">From an update site, user can install a
server (using Eclipse standard update manager functions).</td>
</tr>
<tr>
<td style="width: 108px">Configure a Jakarta-tomcat</td>
<td style="width: 60px">1</td>
<td style="width: 78px">End-User</td>
<td style="width: 360px">Given a Jakarta-tomcat server (V5) installed
on local file system, user can &quot;install&quot; a server to WTP by
selecting from a list of available server adapters, selecting the one
for Jakarta-tomcat server, and specifying location of server's
install directory.
<table border="1">
<tbody>
<tr>
<td>Variant 1</td>
<td style="width: 277px">JBoss Server instead</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="width: 108px">get list of server adapters</td>
<td style="width: 60px">1</td>
<td style="width: 78px">client programs (unit test)</td>
<td style="width: 360px">programmatically get list of known
Jakarta-tomcat servers adapters and their associated information
(name, version, whether installed or not, etc)</td>
</tr>
<tr>
<td style="width: 108px">run on server</td>
<td style="width: 60px">1</td>
<td style="width: 78px">End-user</td>
<td style="width: 360px">user can select a JSP and &quot;run on
server&quot;, meaning it will be displayed in Eclipse web browser.
<table border="1">
<tbody>
<tr>
<td style="width: 66px">Variant 1</td>
<td style="width: 348px">If no more than one installed, the user
will not get list to select from</td>
</tr>
</tbody>
</table>
<table border="1">
<tbody>
<tr>
<td style="width: 69px">Variant 2</td>
<td style="width: 345px">If none installed, the user will be given
a chance to select and install one (see Install a Server)</td>
</tr>
</tbody>
</table>
<table border="1">
<tbody>
<tr>
<td style="width: 65px">Variant 3</td>
<td style="width: 349px">If more than one installed, user given
the</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="width: 108px">get list of installed servers</td>
<td style="width: 60px">1</td>
<td style="width: 78px">client programs (unit test)</td>
<td style="width: 360px">programmatically get list of installed
servers and their associated information (name, etc)</td>
</tr>
<tr>
<td style="width: 108px">import/export server configuration</td>
<td style="width: 60px">2</td>
<td style="width: 78px">client programs</td>
<td style="width: 360px">Can import or export server configuration
files, such as to give to another member of team. This file may best
be in XML format.</td>
</tr>
<tr>
<td style="width: 108px">Server Providers can provide discoverable adapter</td>
<td style="width: 60px">1</td>
<td style="width: 78px">Service Providers</td>
<td style="width: 360px">The information needed to be listed as potential server adapter can be found completely in plugin.xml (not Java code, which would require activation of plugin). </td>
</tr>
</tbody>
</table>
</body>
</html>