Network IO Integration Overview of Jetty Support in Oracle Complex Event Processing
11.2.5 Developing Servlets for Jetty
Oracle CEP supports development of servlets for deployment to Jetty by creating a standard Java EE Web Application and configuring it using the Section 11.2.4, jetty-web-app Configuration Object.11.2.6 Web Application Deployment
Oracle CEP supports deployments packaged either as WAR files or as exploded WAR files, as described in version 2.4 of the Java Servlet Specification. You can deploy pre-configured web applications from an exploded directory or WAR file by including them in the server configuration. Security constraints specified in the standard web.xml file are mapped to the Common Security Services security provider. The Servlet API specifies declarative role-based security, which means that particular URL patterns can be mapped to security roles.11.3 Example Jetty Configuration
The following snippet of a config.xml file provides an example Jetty configuration; only Jetty-related configuration information is shown: Example 11–1 Example Jetty Configuration config netio nameJettyNetIOname port9002port netio work-manager nameWMname max-threads-constraint64max-threads-constraint min-threads-constraint3min-threads-constraint work-manager jetty nameTestJettyname work-manager-nameWMwork-manager-name network-io-nameJettyNetIOnetwork-io-name debug-enabledfalsedebug-enabled scratch-directoryJettyWorkscratch-directory jetty jetty-web-app Table 11–4 Configuration Parameters for the jetty-web-app Element Parameter Type Description context-path String The context path where this web app is deployed in the web servers name space. If not set, it defaults to . scratch-directory String The location where Jetty stores temporary files for this web app. Overrides the scratch-directory parameter in the Section 11.2, Configuring a Jetty Server Instance. path String A file name that points to the location of the web app on the server. It may be a directory or a WAR file. jetty-name String The name of the Jetty service where this web application is deployed. It must match the name of an existing Section 11.2, Configuring a Jetty Server Instance. name String The name of this configuration object. 11-6 Oracle Complex Event Processing Administrators Guide nametestname context-pathtestcontext-path pathtestWebApp.warpath jetty-nameTestJettyjetty-name jetty-web-app configParts
» Oracle Fusion Middleware Online Documentation Library
» Understanding Oracle CEP Servers and Domains
» User Action: Start Oracle CEP Server
» User Action: Stop Oracle CEP Server
» Oracle CEP Server Configuration Files
» Configuring an Oracle CEP Server by Manually Editing the config.xml File
» Configuration History Management Understanding Oracle CEP Server Configuration
» How to Configure the Oracle CEP Server bootclasspath
» Configuration Wizard Oracle CEP Visualizer
» wlevs.Admin Command-Line Utility
» Creating Oracle CEP Servers and Domains Updating Oracle CEP Servers and Domains
» Managing Oracle CEP Applications, Servers, and Domains
» Next Steps Oracle Fusion Middleware Online Documentation Library
» Creating an Oracle CEP Standalone-Server Domain
» Updating an Oracle CEP Standalone-Server Domain
» Deploying an Application to an Oracle CEP Standalone-Server Domain
» Oracle Coherence Clustering Oracle CEP Native Clustering
» Singleton Server Deployment Group
» Domain Deployment Group Groups
» Scalability and Multi-Server Domains Next Steps
» How to Create an Oracle CEP Multi-Server Domain With Default Groups Using Oracle Coherence
» How to Create an Oracle CEP Multi-Server Domain With Custom Groups Using Oracle Coherence
» The tangosol-coherence-override.xml File
» Updating an Oracle CEP Multi-Server Domain Using Oracle Coherence
» Yes No Oracle Fusion Middleware Online Documentation Library
» Securing the Messages Sent Between Servers in a Multi-Server Domain
» Using the Multi-Server Domain APIs to Manage Group Membership Changes
» Starting and Stopping an Oracle CEP Server in a Multi-Server Domain
» Creating an Oracle CEP Multi-Server Domain Using Oracle CEP Native Clustering
» Updating an Oracle CEP Multi-Server Domain Using Oracle CEP Native Clustering
» Yes Oracle Fusion Middleware Online Documentation Library
» No Oracle Fusion Middleware Online Documentation Library
» Oracle CEP Server Stops Application After Deployment
» Network IO Providers Overview of Network IO in Oracle CEP
» How to Configure Network IO Server
» How to Configure Network IO Client
» Java SE Security Security Providers
» SSL Overview of Security in Oracle CEP
» FIPS Overview of Security in Oracle CEP
» Enabling and Disabling Security
» Security Utilities Overview of Security in Oracle CEP
» Specifying User Credentials When Using the Command-Line Utilities
» Configuring Java SE Security for Oracle CEP Server
» Configuring Authentication Using the LDAP Provider and Authorization Using the DBMS Provider
» Configuring Both Authentication and Authorization Using the DBMS Provider
» Configuring Password Strength Oracle Fusion Middleware Online Documentation Library
» How to Configure SSL Manually
» How to Create a Key-Store Manually
» How to Configure SSL in a Multi-Server Domain for Oracle CEP Visualizer
» Configuring FIPS for Oracle CEP Server
» Configuring HTTPS-Only Connections for Oracle CEP Server
» Configuring Jetty Security Configuring Security for Oracle CEP Server Services
» Configuring JMX Security Configuring JDBC Security
» Configuring HTTP Publish-Subscribe Server Channel Security
» Configuring the Oracle CEP Security Auditor
» Disabling Security Oracle Fusion Middleware Online Documentation Library
» Servlets Overview of Jetty Support in Oracle Complex Event Processing
» Network IO Integration Overview of Jetty Support in Oracle Complex Event Processing
» jetty Configuration Object Configuring a Jetty Server Instance
» netio Configuration Object Configuring a Jetty Server Instance
» work-manager Configuration Object Configuring a Jetty Server Instance
» jetty-web-app Configuration Object Configuring a Jetty Server Instance
» Developing Servlets for Jetty
» Web Application Deployment Configuring a Jetty Server Instance
» Example Jetty Configuration Oracle Fusion Middleware Online Documentation Library
» Understanding JMX Configuration Overview of JMX Support in Oracle CEP
» Accessing the Oracle CEP JMX Server
» Oracle CEP Configuration MBeans
» Oracle CEP Runtime MBeans Oracle CEP MBean Hierarchy
» jmx Configuration Object rmi Configuration Object
» jndi-context Configuration Object Configuring JMX
» exported-jndi-context Configuration Object Configuring JMX
» How to Programmatically Connect to the Oracle CEP JMX Server From a Non-Oracle CEP Client
» How to Programmatically Connect to the Oracle CEP JMX Server From an Oracle CEP Client
» How to Programmatically Configure an Oracle CEP Component Using JMX APIs
» Databases Supported by the Oracle JDBC Driver
» Databases Supported by the Type 4 JDBC Driver for SQL Server from DataDirect
» Default Data Source Configuration
» Custom Data Source Configuration
» Getting the Native JDBC Connection
» Configuring Access to a Database Using the Oracle JDBC Driver
» Configuring Access to a Database Using the Type 4 JDBC Drivers from Data Direct
» How to Access a Database Driver Using an Application Library Built With bundler.sh
» How to Access a Database Driver Using bootclasspath
» How the HTTP Pub-Sub Server Works
» HTTP Pub-Sub Server Support in Oracle CEP
» Creating a New HTTP Publish-Subscribe Server
» Configuring an Existing HTTP Publish-Subscribe Server
» Example HTTP Publish-Subscribe Server Configuration
» Log Files Log Message Format
» OSGi Framework Logger Overview of Logging and Debugging Configuration
» logging-service Configuring the Oracle CEP Logging Service
» log-file Configuring the Oracle CEP Logging Service
» log-stdout Configuring the Oracle CEP Logging Service
Show more