Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Resource-Oriented Computing with NetKernel
Preface
Audience
Downloads
Conventions
Great expectations
Don’t know much about history. . .
10,600-foot view of ROC
Why bother?
Using Code Examples
Safari® Books Online
How to Contact Us
Acknowledgments
I. Getting Acquainted
1. Stacking the Deck
Setup
Layout NK5 Installation
[install]/bin
[install]/etc
[install]/javadoc
[install]/lib
[install]/log
[install]/modules
[install]/project-modules
Hammer Time—Your First Module
Directory
Module Definition
Dynamic Import
The HelloEndpoint
Registering the Module
Try It
We Are Not Finished
Trying Documentation and Tests
Source Version Control
Well Done
Conclusion
2. Incision, Right Here
Inside [moduleroot]/module.xml
Template
Template’s First Flesh
Rootspace
Endpoint—Fileset
Endpoint—Import
Endpoint—Mapper
Endpoint—Prototype
Dynamic Imports
The Web Server Pattern
Goal
Module Definition
Documentation
Testing
Conclusion
3. ROC Talk
Principles
1. A resource is an abstract set of information.
2. Each resource may be identified by one or more logical identifier.
3. A logical identifier may be resolved within an informational context to obtain a physical resource-representation.
4. Computation is the reification of a resource to a physical resource-representation.
5. Resource-representations are immutable.
6. Transreption is the isomorphic, lossless transformation of one physical resource-representation to another.
7. Computational results are resources and are identified within the address space.
Three Cs
Construct
Compose
Constrain
Shock
Frequently Used Graph
ROC Training
Base
Adding the Front End
Advanced
Extra
Practice
Real Life ROC
Conclusion
4. Humongous Fun
Background
MongoDB in Five Minutes
Document Database
Showtime
Hammer Time—The Module
Design
No Dynamic Export
Grammar
Grammar’s Kitchen
Request
The Driver
Insert
Update
Delete
Select
Drop
Count
Missing in Action
Testing
Documentation
Interfacing
Room for Improvement
5. Expanding Your Horizon
New Module Wizard
Confession
To Use or Not to Use
Exercise
Visualizer
Apposite
SE Versus EE
Extra Batteries
Packaging
Logging
Tools
Plugging In
You are already plugged in
LogConfig
Non DPML
Message Bundles
Viewlog Accessor
Conclusion
II. Batteries Included
6. DPML
Glue
Building Blocks
Basics
Sequence
Literal
Request
Conditional Processing
Iterative Processing
Exception Handling
Making Life Easier
Functional Programming
Differences
More Information
Conclusion
7. XRL
Prerequisites
Setup
The Design
The Code
Verify and Troubleshoot
Integrate in Scripting Playpen
Copy and Rename
Changes
Activation
Basics
Humble Beginnings
Recursive Replacement
Dynamic Recursive Replacement
Three Ways to Use XRL
xrl:include
xrl:resolve
xrl:eval
All Three Together
Did You/I Notice?
Conclusion
8. nCoDE
Prerequisites
Beginnings
Give Me More
It Is Not a Toy
Ahead of Myself
helloWorldActive
helloWorldTester
Conclusion
III. Appendixes
A. Getting and Installing NetKernel
Prerequisites
Download
Installation
Running the downloaded jar—Windows
Running the downloaded jar—Ubuntu
Verification—all environments
Installation—all environments
Verification—Windows
Verification—Ubuntu
Stopping downloaded jar - all environments
First run from disk—Windows
First run from disk—Ubuntu
Verification - all environments
Apposite—all environments
Conclusion
B. Setting Up Your Own Apposite Repository
Prerequisites
Preparation
Getting Cygwin—Windows
Installing Cygwin—Windows
Nonroot user—Ubuntu
Synchronization
Creating the repository—Windows
Creating the repository—Ubuntu
Synchronizing the repository—Windows
Synchronizing the repository—Ubuntu
Verification—Windows
Verification—Ubuntu
Use
Activating your personal Apposite Repository—Windows
Activating your personal Apposite Repository—Ubuntu
Conclusion
C. Running NetKernel as a Service
Cover Story
Procedure Windows 7
Download Java Service Wrapper
Install Java Service Wrapper
Activate NetKernel service
Deactivate NetKernel service
Procedure Ubuntu 10.04
The netkerneld script
Installing the netkerneld script
Activating the netkerneld script
Deactivating the netkerneld script
Deinstalling the netkerneld script
Alternative script
Quid Pro Quo
D. Locking Down Your NetKernel Instance
Cover Story
Procedure Windows 7
Client
Server
Firewall
Procedure Ubuntu 10.04
Client
Server
Firewall
Tunneling
E. Source Version Control
Raison d'être
Statements
Discussion
Conclusion
Setup
Eclipse
Subversion Repository
Customize Eclipse
Extra tools
NetKernel specific
New Eclipse Project
Creation
Sources
Source Version Control
Deployment
F. Examples and Solutions
Example—Limiter
Setup
The issue
The solution
Verification
The Correct Solution
Another verification
Conclusion
Solution—Error in third test ExtJS Server module
Solution—xrl:resolve
About the Author
← Prev
Back
Next →
← Prev
Back
Next →