You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2021/05/18 01:05:45 UTC

[tomee-site-generator] 05/44: translate 2 files to adoc by hand that kramdoc didn't understand

This is an automated email from the ASF dual-hosted git repository.

dblevins pushed a commit to branch markdown-to-asciidoc
in repository https://gitbox.apache.org/repos/asf/tomee-site-generator.git

commit bf50454d2c11e30990ec49d06656d09335b34032
Author: David Jencks <dj...@apache.org>
AuthorDate: Sat Feb 8 15:51:57 2020 -0800

    translate 2 files to adoc by hand that kramdoc didn't understand
---
 oldcontent/modules/ROOT/nav.adoc                   |   2 +
 .../ROOT/pages/dev/tips-and-suggestions.adoc       | 410 +++++++++++++++++++++
 oldcontent/modules/ROOT/pages/time-saved.adoc      | 249 +++++++++++++
 3 files changed, 661 insertions(+)

diff --git a/oldcontent/modules/ROOT/nav.adoc b/oldcontent/modules/ROOT/nav.adoc
index 1933431..74f6667 100644
--- a/oldcontent/modules/ROOT/nav.adoc
+++ b/oldcontent/modules/ROOT/nav.adoc
@@ -74,6 +74,7 @@
 * xref:dev/source-code.adoc[]
 * xref:dev/take-my-code.adoc[]
 * xref:dev/thread-dumps.adoc[]
+* xref:dev/tips-and-suggestions.adoc[]
 * xref:dev/validation-keys-audit-report.adoc[]
 * xref:dev/website-dev.adoc[]
 * xref:dev/writing-examples.adoc[]
@@ -97,6 +98,7 @@
 * xref:security/support.adoc[]
 * xref:support.adoc[]
 * xref:team.adoc[]
+* xref:time-saved.adoc[]
 * xref:tomcat-activemq.adoc[]
 * xref:tomcat-cdi.adoc[]
 * xref:tomcat-detailed-instructions.adoc[]
diff --git a/oldcontent/modules/ROOT/pages/dev/tips-and-suggestions.adoc b/oldcontent/modules/ROOT/pages/dev/tips-and-suggestions.adoc
new file mode 100644
index 0000000..6f931c0
--- /dev/null
+++ b/oldcontent/modules/ROOT/pages/dev/tips-and-suggestions.adoc
@@ -0,0 +1,410 @@
+= Tips and Suggestions
+
+
+[#TipsandSuggestions-Usefulinformationforcontributors]
+== Useful information for contributors
+
+[#TipsandSuggestions-JIRAusage]
+=== JIRA usage
+It's good to leverage JIRA, but everything that happens there should be
+considered invisible for the most part and only reviewed on a random and
+infrequent basis.
+
+
+A good way to bring jira "discussion" back to the list is to follow up on the list rather than posting more jira comments.  Maybe by having the first followup comment be a link to Nabble's "forum" view of the list.  Optionally, you can Cc jira@apache.org and include "[jira](jira.html)
+ OPENEJB-XXX" anywhere in your subject line and your email will get added
+as a jira comment.
+
+
+For those looking to contribute, there are some good habits to put into
+use.  We use a permission scheme called "Interactive Permissions."  It's
+description has some good information:
+
+ Interactive Permissions
+
+ This permissions model differs from the Standard Permissions
+ model in that people in the Contributor role must interact with
+ the dev list to get to get issues assigned to them and issues
+ closed. This isn't a trust issue, more that there are a few
+ benefits.
+
+ 1.  Active contributors hitting the list to begin and end work
+     shows other people not yet active how to get involved.
+
+ 2.  Adds more "touch points" between Contributors and
+     Committers. It should be possible to "see" the active
+     contributors even if you are not watching the JIRA or SVN
+     notifications. It's also hoped that the practice of
+     announcing your intentions on the dev list will persist
+     even when the Contributor becomes a Committer.
+
+ 3.  Gives Committers the opportunity to help, mentor or
+     otherwise get the Contributor going in the right direction
+     before a task is started; potentially resulting in fewer
+     rejected patches, less waisted Contributor time, and more
+     collaborative development.
+
+ 4.  Overall brings more communication to the dev list before
+     all work is done and all decisions made giving more
+     potential to collaboration.
+
+
+{+}If you'd like to get added to the openejb-contributors JIRA group, just
+ping the list with your JIRA id and someone will add you.{+}
+
+[#TipsandSuggestions-Commits]
+=== Commits
+
+*Contributed by*: David Blevins
++Here is an email from David Blevins explaining the things he keeps in mind
+during commits.+ *{+}Definitely worth a read{+}{*}+:+
+
+I generally *try never to reformat a file and make changes at the same
+time* as it makes it impossible for anyone to see what I've changed. Needle
+in a haystack.	I *try to get the reformatting as its own commit* before or
+after I change a file.
+
+A lot of times I end up tweaking a bunch of little unrelated things while
+working on a bigger change. *I tend to like to "clear them out" in separate
+commits as to isolate the big change in one commit*. Sometimes I'm not so
+good at that and other times I'm really meticulous about it.
+
+*Include the JIRA number and title (if there is a jira)*.  I try never to
+say "Fixed FOO-2543" all by itself.  Reviewing the last 10 changes on a
+file is a super big PITA when all you see is numbers to other systems. *I
+shoot for more or less "Fixed <issue-number> <issue-title>
+<how-did-i-fix-it>"* Sometimes the "how did i fix it" part is obvious by
+the title, other times not.  Sometimes I'm too tired and the wife is
+impatiently waiting for me to leave the computer :-)
+As far as jiras go, there doesn't have to be a jira for absolutely every
+commit -- what's the point of that.  I *try to make sure there's a jira for
+anything we'd definitely want to see in the release notes*.  Sometimes I
+don't get the jira created till long after the change, towards release time
+when creating the release notes :-) It's pretty easy to forget stuff that
+way though :-)
+
+As far as jira titles, I always *try and make them short and succinct* for
+the future release notes.
+
+[#TipsandSuggestions-SVN+JIRA]
+=== SVN + JIRA
+
+
+[#TipsandSuggestions-*Contributedby*:Vamsi]
+==== *Contributed by*: Vamsi
+
+I had trouble figuring out if a revision is related to a JIRA and what all
+revisions corresponded to a particular JIRA.  So, I always include the JIRA
+number (if there is an associated JIRA) in the svn comment and once
+committed, I add the revision number to the JIRA comment.  It may be a
+minute or two more to do this.	But, it saves a lot of time if you ever
+have to investigate a regression or if there are multiple revisions for a
+JIRA you know where to find the revision numbers instead of having to mine
+the svn logs.
+
+Some files may be missing $Rev$ and $Date$ in the header.  Whenever I
+modify an existing file, I always check if I have to add these missing
+$Rev$ $Date$ and add those so that the file will have them from my next
+commit onwards.
+
+[#TipsandSuggestions-*Contributedby*:DavidBlevins]
+==== *Contributed by*: David Blevins
+
+> If you put "\[jira\](jira\.html)
+>  OPENEJB-XXX" anywhere in your subject line and cc jira@apache.org our
+> email gets added as a comment with all '> quoted' text stripped out.
+PS: XXX is the JIRA issue number
+
+[#TipsandSuggestions-Details]
+==== Details
+
+The following subject lines did work:
+- Subject: \[jira\](jira\.html)
+ OPENEJB-670
+- Subject: Some other subject prefix (\[jira\](jira\.html)
+ OPENEJB-670)
+- Subject: Re: Some other subject prefix (\[jira\](jira\.html)
+ OPENEJB-670)
+
+The following subject lines did *not* work:
+- Subject: OPENEJB-670
+- Subject: Some other subject prefix (jira: OPENEJB-670)
+- Subject: Some other subject prefix (jira OPENEJB-670)
+- Subject: Some other subject prefix (OPENEJB-670)
+
+It appears that as long as the subject contains "\[jira\](jira\.html)
+ FOO-XXX" the email contents will be added as comments.
+
+It also appears that all quoted text regardless of place in the email is
+stripped out and the remaining text is added as the comment.
+
+The exact email bodies, white space and all, for the "reply text" comments
+above are:
+
+<one>
+Reply text at the top.
+
+-- David
+
+On Aug 23, 2007, at 1:02 PM, David Blevins wrote:
+
+Testing adding comments via email with this subject line "Some other subject prefix (\[jira\](jira\.html)
+ OPENEJB-670)"
+
+</one>
+
+<two>
+
+On Aug 23, 2007, at 1:02 PM, David Blevins wrote:
+
+Testing adding comments via email with this subject line "Some other subject prefix (\[jira\](jira\.html)
+ OPENEJB-670)"
+
+Reply text at the bottom.
+
+--
+David
+
+</two>
+
+<three>
+On Aug 23, 2007, at 1:02 PM, David Blevins wrote:
+
+Testing adding comments via email
+
+Some reply text
+
+with this subject line "Some other subject prefix (\[jira\](jira\.html)
+ OPENEJB-670)"
+
+Some more reply text
+
+--
+David
+
+</three>
+
+=== scp, ssh, and rsync examples for working with files and directories on
+people.apache.org
+
+*Contributed by*: David Blevins
+
+*copying a file to apache from locahost*
+----
+scp topsecret.tar.gz kmalhi@people.apache.org:
+scp index.html kmalhi@people.apache.org:public_html/
+----
+
+*copying a file from apache to localhost -- reverse of the above*
+----
+scp kmalhi@people.apache.org:topsecret.tar.gz ./
+scp kmalhi@people.apache.org:public_html/index.html ./
+----
+
+*copying directories*
+----
+scp \-r kmalhi@people.apache.org:public_html ./
+scp \-r public_html kmalhi@people.apache.org:
+----
+
+*When the directory exists, better to rsync*
+
+*pull a dir from apache*
+----
+rsync \-v \-e ssh \-lzrptog kmalhi@people.apache.org:public_html ./
+rsync \-v \-e ssh \-lzrptog
+kmalhi@people.apache.org:/home/kmalhi/public_html ./
+----
+
+*the two above commands do the exact same thing*
+
+*push the same dir to apache*
+----
+rsync \-v \-e ssh \-lzrptog ./public_html kmalhi@people.apache.org:
+rsync \-v \-e ssh \-lzrptog ./public_html
+kmalhi@people.apache.org:/home/kmalhi/
+----
+
+*the two above commands do the exact same thing*
+
+*sometimes useful to execute commands over ssh (piping works too)*
+----
+ssh people.apache.org ls /home \| tee home-dirs-on-apache.txt
+echo \-e 'Hello, me\n\nHow am I doing today?' \| ssh
+kmalhi@people.apache.org mail \-s 'Greetings' kmalhi@apache.org
+----
+
+*For Putty users*
+*Contributed by:* Mohammad
+I have Putty on my linux machine and it is easier to use, Putty has a
+Windows version too, I issue this command to upload a file to my home dir
+on people.apache.org
+
+----
+    pscp [[file-name]
+ | [dir]
+] mnour@people.apache.org:~/
+----
+
+and if you want to access your home page, you should create a dir with the
+name public_html, and then upload files to it.
+
+[#TipsandSuggestions-Acoolsubversiontip]
+=== A cool subversion tip
+
+*Contributed by*: Jacek Laskowski.
+
+*It'll let you forget about some svn administrative commands you'd
+otherwise have to type in on the command line.*
+Edit/Add the following configurations to \~/.subversion/config:
+
+----
+    [miscellany]
+    global-ignores = *.log *.save *.o *.lo *.la #*# .*~ *~ .#* .DS_Store
+    build dist target *.ipr *.iml *.iws .project .classpath .settings
+    enable-auto-props = yes
+    
+    [auto-props]
+    *.c = svn:eol-style=native;svn:keywords=Date Author Id Revision HeadURL
+    *.cpp = svn:eol-style=native;svn:keywords=Date Author Id Revision HeadURL
+    *.h = svn:eol-style=native;svn:keywords=Date Author Id Revision HeadURL
+    *.dsp = svn:eol-style=CRLF
+    *.dsw = svn:eol-style=CRLF
+    *.sh = svn:executable;svn:eol-style=native;svn:keywords=Date Revision
+    *.cmd = svn:mime-type=text/plain;svn:eol-style=CRLF
+    *.bat = svn:mime-type=text/plain;svn:eol-style=CRLF
+    Makefile = svn:eol-style=native;svn:keywords=Date Author Id Revision
+HeadURL
+    *.obj = svn:mime-type=application/octet-stream
+    *.bin = svn:mime-type=application/octet-stream
+    *.bmp = svn:mime-type=image/bmp
+    *.class = svn:mime-type=application/java
+    *.doc = svn:mime-type=application/msword
+    *.exe = svn:mime-type=application/octet-stream
+    *.gif = svn:mime-type=image/gif
+    *.gz = svn:mime-type=application/x-gzip
+    *.jar = svn:mime-type=application/java-archive
+    *.jelly = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date
+    Revision
+    *.jpg = svn:mime-type=image/jpeg
+    *.jpeg = svn:mime-type=image/jpeg
+    *.pdf = svn:mime-type=application/pdf
+    *.png = svn:mime-type=image/png
+    *.tgz = svn:mime-type=application/octet-stream
+    *.tif = svn:mime-type=image/tiff
+    *.tiff = svn:mime-type=image/tiff
+    *.zip = svn:mime-type=application/zip
+    *.txt = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date
+Revision
+    *.xml = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Date
+Revision
+    *.ent = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date
+Revision
+    *.dtd = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date
+Revision
+    *.vsl = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date
+Revision
+    *.xsd = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Date
+Revision
+    *.xsl = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Date
+Revision
+    *.wsdl = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Date
+Revision
+    *.htm = svn:mime-type=text/html;svn:eol-style=native;svn:keywords=Date
+Revision
+    *.html = svn:mime-type=text/html;svn:eol-style=native;svn:keywords=Date
+Revision
+    *.css = svn:mime-type=text/css;svn:eol-style=native;svn:keywords=Date
+Revision
+    *.js = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date
+Revision
+    *.jsp = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date
+Revision
+    *.txt = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date
+Revision
+    *.java = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date
+    Revision
+    *.properties =
+svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date
+    Revision
+    *.sql = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date
+Revision
+----
+
+
+[#TipsandSuggestions-Maventips]
+=== Maven tips
+
+*Contributed by:* Jacek and David
+*I want to make a small change in a module , for example openejb-core and
+then want to build a snapshot of openejb-standalone, start the server and
+test my change. What is the easiest and fastest way of doing it?*
+Run the following from within openejb-core
+
+----
+    mvn -Dtest=none install
+----
+
+Now run the following from within openejb-standalone
+
+----
+    mvn -Dtest=none clean package
+----
+
+*So what if I wanted to do the above in a single command?*
+It's possible with $\{module\} and $\{assemble\} properties and *create a
+profile or a plugin*
+
+Another option is and *if you're in bash*, here's what could be done
+
+----
+    # camping out in assembly/openejb-standalone/
+    $ (cd ../../container/openejb-core && mvn clean install -Dtest=skip) && mvn
+clean install && ./try.sh
+----
+
+That's one command, parens and all. The first "$" is the prompt,don't type
+that.  Then just edit ./try.sh to do what you're looking for on the
+standalone zip.
+
+The parens in bash are great as nothing done in there lasts -- at least no
+changes to the environment.  So you can 'cd' around all you want and not
+have to 'cd' back when done.
+
+For example
+
+----
+    $ export FOO=hello && (export FOO=byebye) && echo $FOO
+    hello
+    
+    $ cd ~ && echo $PWD && (cd /tmp && echo $PWD) && echo $PWD
+    /Users/dblevins
+    /tmp
+    /Users/dblevins
+----
+
+As well, several commands can be combined with '&&'.  Far better than just
+separating commands with ';' as if one of the commands fail, the remaining
+commands will not be executed.
+
+*Suggestion from Dain*
+----
+> &nbsp;I suggest that you always do a full build (with tests) before
+> committing.  I do this even if the change is small because I have been
+> burned too many times by trivial changes. At the very least I suggest you
+> run
+> 
+>     mvn -Dtest=none clean install
+> 
+> Using \-Dtest=none instead of \-Dmaven.test.skip=true causes maven to
+> compile the test classes so you know that your change doesn't have compile
+> errors.
+> If you want to be thorough, run with \-Dassemble.
+----
+
+[#TipsandSuggestions-JAXBUsage]
+=== JAXB Usage
+{note:title=TODO}
+Create a write up from here
+http://www.nabble.com/jaxb-question-td18023648.html
+{note}
diff --git a/oldcontent/modules/ROOT/pages/time-saved.adoc b/oldcontent/modules/ROOT/pages/time-saved.adoc
new file mode 100644
index 0000000..b5ea4d1
--- /dev/null
+++ b/oldcontent/modules/ROOT/pages/time-saved.adoc
@@ -0,0 +1,249 @@
+= Time Saved
+
+Ever wonder exactly how much time you might be saving being able to quickly
+compile and test code with OpenEJB?  Well, find out!
+
+Deploy times in Java EE in general are partially based on the platform and
+partially on the size of the application itself.  With that in mind, we've
+put together this little calculator so you can see what OpenEJB is doing
+for you!
+
+
+++++
+<a name="TimeSaved-Calculator"></a>
+# Calculator
+<script type="text/javascript" src="http://prototypejs.org/assets/2010/4/1/prototype.js"></script>
+<script>
+
+  function calculate() {
+    var developers = $("devs").getValue();
+    var cycles = $("cycles").getValue();
+    var weeks = $("weeks").getValue();
+
+    var individual_deployTime_openejb = $("time_openejb").getValue();
+    var individual_deployTime_vendor = $("time_vendor").getValue();
+    var individual_deployTime_savings = individual_deployTime_vendor - individual_deployTime_openejb;
+
+    var individual_deployTimePerHour_openejb = cycles * individual_deployTime_openejb / 8;
+    var individual_deployTimePerHour_vendor =  cycles * individual_deployTime_vendor / 8;
+    var individual_deployTimePerHour_savings = individual_deployTimePerHour_vendor - individual_deployTimePerHour_openejb;
+
+    var individual_deployTimePerWeek_openejb = individual_deployTimePerHour_openejb * 40;
+    var individual_deployTimePerWeek_vendor = individual_deployTimePerHour_vendor * 40;
+    var individual_deployTimePerWeek_savings = individual_deployTimePerWeek_vendor - individual_deployTimePerWeek_openejb;
+
+    var individual_deployTimePerMonth_openejb = individual_deployTimePerWeek_openejb * 4.33;
+    var individual_deployTimePerMonth_vendor = individual_deployTimePerWeek_vendor * 4.33;
+    var individual_deployTimePerMonth_savings = individual_deployTimePerMonth_vendor - individual_deployTimePerMonth_openejb;
+
+    var team_deployTime_openejb = developers * individual_deployTime_openejb;
+    var team_deployTime_vendor = developers * individual_deployTime_vendor;
+    var team_deployTime_savings = developers * individual_deployTime_savings;
+
+    var team_deployTimePerHour_openejb = developers * individual_deployTimePerHour_openejb;
+    var team_deployTimePerHour_vendor = developers * individual_deployTimePerHour_vendor;
+    var team_deployTimePerHour_savings = developers * individual_deployTimePerHour_savings;
+
+    var team_deployTimePerWeek_openejb = developers * individual_deployTimePerWeek_openejb;
+    var team_deployTimePerWeek_vendor = developers * individual_deployTimePerWeek_vendor;
+    var team_deployTimePerWeek_savings = developers * individual_deployTimePerWeek_savings;
+
+    var team_deployTimePerMonth_openejb = developers * individual_deployTimePerMonth_openejb;
+    var team_deployTimePerMonth_vendor = developers * individual_deployTimePerMonth_vendor;
+    var team_deployTimePerMonth_savings = developers * individual_deployTimePerMonth_savings;
+
+    var total_savings = team_deployTimePerWeek_savings * weeks;
+
+    $("individual.deployTime.openejb").innerHTML = format(individual_deployTime_openejb);
+    $("individual.deployTime.vendor").innerHTML = format(individual_deployTime_vendor);
+    $("individual.deployTime.savings").innerHTML = format(individual_deployTime_savings);
+
+    $("individual.deployTimePerHour.openejb").innerHTML = format(individual_deployTimePerHour_openejb);
+    $("individual.deployTimePerHour.vendor").innerHTML = format(individual_deployTimePerHour_vendor);
+    $("individual.deployTimePerHour.savings").innerHTML = format(individual_deployTimePerHour_savings);
+
+    $("individual.deployTimePerWeek.openejb").innerHTML = format(individual_deployTimePerWeek_openejb);
+    $("individual.deployTimePerWeek.vendor").innerHTML = format(individual_deployTimePerWeek_vendor);
+    $("individual.deployTimePerWeek.savings").innerHTML = format(individual_deployTimePerWeek_savings);
+
+    $("individual.deployTimePerMonth.openejb").innerHTML = format(individual_deployTimePerMonth_openejb);
+    $("individual.deployTimePerMonth.vendor").innerHTML = format(individual_deployTimePerMonth_vendor);
+    $("individual.deployTimePerMonth.savings").innerHTML = format(individual_deployTimePerMonth_savings);
+
+    $("team.deployTime.openejb").innerHTML = format(team_deployTime_openejb);
+    $("team.deployTime.vendor").innerHTML = format(team_deployTime_vendor);
+    $("team.deployTime.savings").innerHTML = format(team_deployTime_savings);
+    $("team.deployTimePerHour.openejb").innerHTML = format(team_deployTimePerHour_openejb);
+    $("team.deployTimePerHour.vendor").innerHTML = format(team_deployTimePerHour_vendor);
+    $("team.deployTimePerHour.savings").innerHTML = format(team_deployTimePerHour_savings);
+    $("team.deployTimePerWeek.openejb").innerHTML = format(team_deployTimePerWeek_openejb);
+    $("team.deployTimePerWeek.vendor").innerHTML = format(team_deployTimePerWeek_vendor);
+    $("team.deployTimePerWeek.savings").innerHTML = format(team_deployTimePerWeek_savings);
+    $("team.deployTimePerMonth.openejb").innerHTML = format(team_deployTimePerMonth_openejb);
+    $("team.deployTimePerMonth.vendor").innerHTML = format(team_deployTimePerMonth_vendor);
+    $("team.deployTimePerMonth.savings").innerHTML = format(team_deployTimePerMonth_savings);
+
+    $("totalSavings").innerHTML = longFormat(total_savings);
+
+  }
+
+  function format(secs) {
+    var mins = Math.floor(secs / 60)
+    secs = secs % 60;
+    secs -= secs % 1;
+
+    var hrs = Math.floor(mins / 60)
+    mins = mins % 60
+
+    if (secs < 10) secs = "0" + secs;
+    if (mins < 10) mins = "0" + mins;
+    if (hrs < 10) hrs = "0" + hrs;
+
+    return hrs + ":" + mins + ":" + secs + "";
+  }
+
+  function longFormat(secs) {
+    var mins = Math.floor(secs / 60)
+    secs = secs % 60;
+    secs -= secs % 1;
+
+    var hrs = Math.floor(mins / 60)
+    mins = mins % 60
+
+    // eight hours per work day
+    var days = Math.floor(hrs / 8)
+    hrs = hrs % 8
+
+    // five days per work week
+    var weeks = Math.floor(days / 5)
+    days = days % 5
+
+    var str = "";
+    if (weeks > 0) str = weeks + " weeks, "
+    if (str.length > 0 || days > 0) str += days + " days, "
+    if (str.length > 0 || hrs > 0) str += hrs + " hours, "
+    if (str.length > 0 || mins > 0) str += mins + " minutes, "
+    if (secs > 0) str += secs + " seconds"
+
+    str = str.replace(/, $/, "");
+    str = str.replace(/^ */, "");
+
+    return str;
+  }
+</script>
+
+<table>
+  <col width=370>
+    <!--<col width=200>-->
+  <tr>
+    <td><strong>How many developers?</strong></td>
+    <td><input id="devs" type="text" value="0" size="5"/></td>
+  </tr>
+  <tr>
+    <td><strong>How many weeks?</strong>
+    </td>
+    <td><input id="weeks" type="text" value="0" size="5"/></td>
+  </tr>
+  <tr>
+    <td><strong>How many times do you compile/run per day?</strong></td>
+    <td><input id="cycles" type="text" value="0" size="5"/></td>
+  </tr>
+  <tr>
+    <td><strong>Time to start/deploy your app in OpenEJB?</strong></td>
+    <td><input id="time_openejb" value="0" type="text" size="5"/> <i>seconds</i></td>
+  </tr>
+  <tr>
+    <td><strong>Time to start/deploy your app in your other platform?</strong></td>
+    <td><input id="time_vendor" value="0" type="text" size="5"/> <i>seconds</i></td>
+  </tr>
+  <tr>
+    <td colspan="2" align="center">&nbsp;</td>
+  </tr>
+  <tr>
+    <td colspan="2" align="center"><input type="button" id="calculate" value="Calculate" onclick="calculate();"/></td>
+  </tr>
+</table>
+
+
+<h3>Individual Stats</h3>
+<table cellpadding="1" border="1" style='border-collapse:collapse'>
+  <col width=198>
+  <col width=90>
+  <col width=90>
+  <col width=90>
+  <tr>
+    <td></td>
+    <td align="center">OpenEJB</td>
+    <td align="center">Vendor</td>
+    <td align="center"><b>Savings</b></td>
+  </tr>
+  <tr>
+    <td>deployTime</td>
+    <td align="center" id="individual.deployTime.openejb"></td>
+    <td align="center" id="individual.deployTime.vendor"></td>
+    <td align="center" id="individual.deployTime.savings"></td>
+  </tr>
+  <tr>
+    <td>deployTimePerHour</td>
+    <td align="center" id="individual.deployTimePerHour.openejb"></td>
+    <td align="center" id="individual.deployTimePerHour.vendor"></td>
+    <td align="center" id="individual.deployTimePerHour.savings"></td>
+  </tr>
+  <tr>
+    <td>deployTimePerWeek</td>
+    <td align="center" id="individual.deployTimePerWeek.openejb"></td>
+    <td align="center" id="individual.deployTimePerWeek.vendor"></td>
+    <td align="center" id="individual.deployTimePerWeek.savings"></td>
+  </tr>
+  <tr>
+    <td>deployTimePerMonth</td>
+    <td align="center" id="individual.deployTimePerMonth.openejb"></td>
+    <td align="center" id="individual.deployTimePerMonth.vendor"></td>
+    <td align="center" id="individual.deployTimePerMonth.savings"></td>
+  </tr>
+</table>
+<p><i>Time in HH:MM:SS format</i></p>
+<h3>Team Stats</h3>
+<table border=1 cellpadding=2 cellspacing=2 style='border-collapse:
+ collapse;table-layout:fixed'>
+  <col width=198>
+  <col width=90>
+  <col width=90>
+  <col width=90>
+  <tr>
+    <td></td>
+    <td align="center">OpenEJB</td>
+    <td align="center">Vendor</td>
+    <td align="center"><b>Savings</b></td>
+  </tr>
+
+  <tr>
+    <td>deployTime</td>
+    <td align="center" id="team.deployTime.openejb"></td>
+    <td align="center" id="team.deployTime.vendor"></td>
+    <td align="center" id="team.deployTime.savings"></td>
+  </tr>
+  <tr>
+    <td>deployTimePerHour</td>
+    <td align="center" id="team.deployTimePerHour.openejb"></td>
+    <td align="center" id="team.deployTimePerHour.vendor"></td>
+    <td align="center" id="team.deployTimePerHour.savings"></td>
+  </tr>
+  <tr>
+    <td>deployTimePerWeek</td>
+    <td align="center" id="team.deployTimePerWeek.openejb"></td>
+    <td align="center" id="team.deployTimePerWeek.vendor"></td>
+    <td align="center" id="team.deployTimePerWeek.savings"></td>
+  </tr>
+  <tr>
+    <td>deployTimePerMonth</td>
+    <td align="center" id="team.deployTimePerMonth.openejb"></td>
+    <td align="center" id="team.deployTimePerMonth.vendor"></td>
+    <td align="center" id="team.deployTimePerMonth.savings"></td>
+  </tr>
+</table>
+
+<h3>Total Savings</h3>
+
+<p><span  id="totalSavings"></span></p>
+++++