hlship 2004/06/15 07:57:43
Modified: src/documentation/content/xdocs index.xml
framework/src/test/hivemind/test LocatableFixture.java
framework/src/test/hivemind/test/services
TestThreadLocalStorage.java
src/images HiveMindImages.vsd
Added: src/documentation/resources/images FrameworkStack.png
Log:
Add high-level diagram of the HiveMind framework stack.
Revision Changes Path
1.10 +19 -6
jakarta-hivemind/src/documentation/content/xdocs/index.xml
Index: index.xml
===================================================================
RCS file:
/home/cvs/jakarta-hivemind/src/documentation/content/xdocs/index.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- index.xml 9 Jun 2004 14:58:16 -0000 1.9
+++ index.xml 15 Jun 2004 14:57:43 -0000 1.10
@@ -56,6 +56,21 @@
different services, their lifecycles, and how they are
combined. HiveMind
takes care of thread-safe, just-in-time creation of
singleton service
objects so your code doesn't have to.</p>
+
+ <p>
+ HiveMind sits between your application code and the underlying J2EE or
other APIs:
+ </p>
+
+ <figure src="images/FrameworkStack.png" alt="[Framework Stack]"/>
+
+ <p>
+ In this diagram, the application accesses key HiveMind services (the
small circles). These services
+ acts as facades; the implementations of
+ the services are dependent on many other services, as well as
configurations (the blue stacks of blocks).
+ Service implementations make use of Java and J2EE APIs, and may even
"bridge" into other systems such
+ as EJB session beans.
+ </p>
+
<p>HiveMind is organized around <em>modules</em>: individual
building
blocks, each providing a particular set of services and
configurations.
Each module is deployed as its own JAR file, containing
its own <link
@@ -67,11 +82,9 @@
applications are multi-threaded, everything in HiveMind
is thread-safe.
That's one less thing for you to be concerned about.</p>
<p>HiveMind allows you to create more complex applications, yet
keep the
- individual pieces (the individual services) simple and
testable. HiveMind
- takes responsibility for instantiating services,
configuring them, and
- connecting them together. It lets you concentrate on
best practices:
- coding to interfaces, not implementations, and
designing your code to be
- easily unit tested.</p>
+ individual pieces (the individual services) simple and
testable. HiveMind enourages the use
+ of common best practices, such as coding to interfaces, seperation of
concerns, and keeping
+ code highly testable without a special container. </p>
<section>
<title>Status</title>
<p>HiveMind has been promoted to a top-level <link
1.2 +3 -3
jakarta-hivemind/framework/src/test/hivemind/test/LocatableFixture.java
Index: LocatableFixture.java
===================================================================
RCS file:
/home/cvs/jakarta-hivemind/framework/src/test/hivemind/test/LocatableFixture.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- LocatableFixture.java 21 May 2004 18:46:20 -0000 1.1
+++ LocatableFixture.java 15 Jun 2004 14:57:43 -0000 1.2
@@ -1,10 +1,10 @@
-// Copyright 2004 The Apache Software Foundation
+// Copyright 2004 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
-// http://www.apache.org/licenses/LICENSE-2.0
+// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
1.1
jakarta-hivemind/src/documentation/resources/images/FrameworkStack.png
<<Binary file>>
1.7 +2 -2
jakarta-hivemind/framework/src/test/hivemind/test/services/TestThreadLocalStorage.java
Index: TestThreadLocalStorage.java
===================================================================
RCS file:
/home/cvs/jakarta-hivemind/framework/src/test/hivemind/test/services/TestThreadLocalStorage.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- TestThreadLocalStorage.java 1 Mar 2004 15:32:39 -0000 1.6
+++ TestThreadLocalStorage.java 15 Jun 2004 14:57:43 -0000 1.7
@@ -1,4 +1,4 @@
-// Copyright 2004 The Apache Software Foundation
+// Copyright 2004 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
1.2 +72 -34 jakarta-hivemind/src/images/HiveMindImages.vsd
<<Binary file>>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]