Kenyth Zeng's Library tagged → View Popular
03 Nov 09
dm Kernel | SpringSource Team Blog
-
If you want OSGi modular support for your system apps, but don’t want or need to host web applications, then dm Kernel is what you want.
27 Apr 09
6.4 Multi bundle integration testing
-
the use of
classpath*:with respect to themodule-context.xmlpath. This will
cause Spring to look for files that match that path in all of the bundles on the classpath meaning that all
the application beans will be instantiated: -
When this test is run, Spring creates an
ApplicationContextthat is built
from themodule-context.xmlconfiguration files from all of the bundles.
6.2 Single bundle integration testing
-
One of the most common forms of integration testing is ensuring that the object relational mapping in an
application is working properly.
5.4 Trying out the JPA middle tier
-
Add Sticky NoteThis can be achieved changing
greenpages.appso that it no longer
publishes itsDirectoryimplementation.- how can be achieved to adaptively choose the most appropriate service without modifying configurations or source codes? - on 2009-04-27
5.3 Building the JPA module
-
enable load-time weaving that is required by JPA,
-
This will result in a bean being created in the application context that is named
dataSource.
The bean will be of typejavax.sql.DataSourceand will be backed by a service found in the
OSGi service registry that implements thejavax.sql.DataSourceinterface. - 1 more annotations...
26 Apr 09
Martin Lippert: Load-Time Weaving for Spring-DM
-
I am aware of dm Server also implements ltw for OSGi (not only AspectJ, but for all different kinds of lt weavers), but just for the server, not for spring-dm in general, if I remember this correctly. So if you wish to use spring-dm without a server (client-side, just OSGi, whatever) or with a different one (embedding OSGi in WebSphere, WebLogic, Tomcat, Jetty, whatever) or with a different web support (PAX-Web on top of OSGi) you are now able to use ltw for spring-dm with this bridge to Equinox Aspects.
24 Apr 09
5.5 Working with dependencies
-
uses a local provisioning repository of bundles and libraries
-
SERVER_HOME/repository/bundles/usrfor bundles, and
SERVER_HOME/repository/libraries/usrfor libraries.
5.4 Automatic Imports
-
consult the
server.profile
file located in theSERVER_HOME/libdirectory
which corresponds to the version of the JVM on which the dm Server
is running (e.g.,java5-server.profile
orjava6-server.profile).
5.3 Programmatic Access to Personality-specific Features
-
for a Web Module,
you can use Spring MVC's WebApplicationContextUtils'
getWebApplicationContext(servletContext, attributeName)
method (or other means) to programmatically retrieve a reference to the
WebApplicationContext, which is an instance
ofServerOsgiBundleXmlWebApplicationContext.
For Shared Services WARs, you can programmatically retrieve
theWebApplicationContextdirectly from the
ServletContext.
5.2 Packaging
-
The modules of a PAR have their exported packages imported by the
synthetic context bundle which is used for thread context class loading. -
Packaged as an OSGi bundle with a
.jarextension - 12 more annotations...
4. Deployment Architecture
-
passes through a deployment pipeline.
-
At deployment time, the WAR file is
transformed into an OSGi bundle and installed into Tomcat. - 8 more annotations...
3.3 Why the SpringSource dm Server?
-
converting
JAR files into bundles and making sure that any libraries needed by those
bundles are also available as OSGi bundles. -
Lack of application-level isolation
- 5 more annotations...
23 Apr 09
5.2 Creating the DataSource project
-
By default, a bundle project is configured with a Bundle Classpath Container.
-
Bundlor uses a manifest template to control the contents of the generated manifest.
- 3 more annotations...
SpringSource Team Blog » Our plans for building OSGi applications
-
generating manifest files automatically from the associated metadata available for an application module.
-
treating their OSGi manifests as the canonical description of dependency metadata.
- 10 more annotations...
4.5 Creating a PAR
-
In dm Server, applications consisting of multiple bundles can be packaged as part of a PAR.
4.2 GreenPages set up
-
Errors in this configuration may cause the dm Server instance to fail to start later.
21 Apr 09
SpringSource Team Blog » Running Spring Applications on OSGi with the SpringSource Application Platform
-
Load-time weaving was one of the most problematic features to support in a robust manner. At the basic level, it requires hooking into the Equinox ClassLoader so that standard ClassFileTransformers can be attached and used during the defineClass calls.
-
When you start propagating weaving across to other bundles, you really need to know when to stop.
- 4 more annotations...
Selected Tags
Related Tags
Sponsored Links
Ads by Google
Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »
Join Diigo
