...
framework instance 419
■
Stopping a framework instance 420
13.2 Launching the framework 421
Determining which bundles to install 422
■
Shutting down
cleanly 422
■
Configuring, creating, and starting ... covers
■
Understanding Java s built -in support for modularity
■
Introducing OSGi technology and how it improves
Java modularity
■
Positioning OSGi with respect to other technologi...
... Activiti Engine within a Spring application context. By
using the Spring container to execute the Activiti Engine, you can, for example, use
the Spring dependency injection functionality and invoke ... service tasks 90
Scripting in the Activiti Engine 90
■
Implementing a Java service
task 92
■
Creating the BPMN 2.0 XML file 93
■
Testing the
process with JUnit 94
5.3 Interacting with u...
... 175
8.2 Using a Spring-managed Activiti Engine 176
Creating a process engine from a config file or Java 176
■
Creating
a process engine from a Spring configuration 177
8.3 Configuring the Activiti ... configuring the Activiti Engine 169
8.1 Choosing between deployment options 170
Embedding the Activiti Engine in a Java application 170
■
Using
a standalone Activiti Engine instance...
... assembling OSGi bun-
dles into web applications. We won’t be spending any time digging into
OSGi s original purpose of embedded software or discussing other uses
of OSGi such as building plugins ... runtime.
But what about Java? Does Java offer any help in developing modular
applications?
Modularity in Java
Java archive (JAR) files are often thought of as the unit of modu
la...
... 77
Understanding invocation handlers 79
Handling the methods of Object 80
4.4 Implementing a tracing proxy 81
4.5 A note on factories 84
4.6 Chaining proxies 86
Structuring invocation handlers for chaining ... 86
■
Implementing
a synchronized proxy 88
■
Chaining the two proxies 89
4.7 Stubbing interfaces for unit testing 90
Examining stubs 90
■
Design for stubbing with Proxy 91
Implementatio...
... exciting.
We’ll start by taking a look at what modularity is, and why it’s so important in soft-
ware engineering.
1.1 Java s missing modularity
When it was first introduced, in 1995, Java ... accessing data in a
database, controlling the flow of transactions, and packaging bundles into a sin-
gle unit.
Chapter 1 starts off gently by introducing OSGi and explaining why modular...
... 32
Chapter 2: An Introduction to Data Binding 37
Introduction 37
Displaying data in Silverlight applications 40
Creating dynamic bindings 49
Binding data to another UI element 52
Binding collections ... 139
Introduction 139
Displaying data in a customized DataGrid 140
Inserting, updating, and deleting data in a DataGrid 146
Sorting and grouping data in a DataGrid 151
Filtering and...
... modern .NET architectures.
In addition to managing business objects and processing the standard business logic,
every interface method in the Façade validates the incoming arguments, authorizes ... from within the
Login dialog window (through a link label on the top right).
Figure 3: Windows application (not logged in)
When starting the web service client you see the main for...