Installing Context Engine Cartridge
To install Context Engine Cartridge, copy resources and create a device database.
- Selecting Web applications to add the Context Engine Cartridge to
Install Context Engine Cartridge installation in one or more Web applications in order to activate it on one more Web sites and/or Web services. - Copying Context Engine Cartridge resources
Copy JAR files to add the Context Engine Cartridge to a Web application. - Creating the device database
While connected to the internet, run a Java executable to create a database with up-to-date device information. - Configuring the Context Engine Cartridge
In the Ambient Data Framework configuration, add the new Cartridge. If you use a Java Web application, also define a tag. - Deploying the Discovery Resolver
To perform discovery of aspects and their properties, expose a part of Context Engine Cartridge called Discovery Resolver by copying a JavaScript file. - Setting up Context Engine Cartridge Custom Tags or Server Controls in the Web site or Web service
Context Engine Cartridge ships with a custom element for rendering content only if a certain context expression evaluates totrue, and another custom element for rendering the result of evaluating a context expression. This topic explains how to enable these custom elements for JSP as Custom Tags, or for ASP.NET as Server Controls. - Setting up Context Engine Cartridge Custom Tags or Server Controls in the Content Deployer
Context Engine Cartridge ships with a custom element for rendering content only if a certain context expression evaluates totrue, and another custom element for rendering the result of evaluating a context expression. This topic explains how to enable the transformation of these custom elements for JSP as Custom Tags, or for ASP.NET as Server Controls. - Optional: Packaging your Web application as a WAR file
At this point in the installation procedure, you may wish to package the Web application (including the device database and Discovery Resolver, and possibly including your own resources) as a WAR file. - Restarting your Web application
When all your changes to your Web application have been made, apply those changes by restarting your Web application.