Rimfaxe Web Server

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Server » Rimfaxe Web Server 
Rimfaxe
License:Apache Software License
URL:http://www.rimfaxe.com/rws/rws.jsp
Description:The Rimfaxe Web Server (short name RWS) is a powerful Web Server with a servlet engine.
Package NameComment
com.rimfaxe.gcj
com.rimfaxe.http
com.rimfaxe.thread
com.rimfaxe.util
com.rimfaxe.webserver
com.rimfaxe.webserver.compiler
com.rimfaxe.webserver.compiler.jsp
com.rimfaxe.webserver.compiler.jsp.error
com.rimfaxe.webserver.forms
com.rimfaxe.webserver.runtime
com.rimfaxe.webserver.seda
com.rimfaxe.webserver.servletapi
com.rimfaxe.webserver.servletapi.filter
com.rimfaxe.webserver.servletapi.jsp
com.rimfaxe.webserver.servletapi.session
com.rimfaxe.webserver.servletapi.standard
com.rimfaxe.webserver.servletapi.util
com.rimfaxe.webserver.stat
com.rimfaxe.webserver.webapp
com.rimfaxe.xml
com.rimfaxe.xml.compatibility
com.rimfaxe.xml.compatibility.fatpath
com.rimfaxe.xml.datamodel
com.rimfaxe.xml.dom
com.rimfaxe.xml.extractor
com.rimfaxe.xml.xerceswrappers
com.rimfaxe.xml.xmlreader
com.rimfaxe.xml.xmlreader.xpath
javax.xml.parsersjavax.xml.parsers

Bootstrapping APIs for JAXP parsers. This is the first portable API defined for bootstrapping DOM.

JAXP parsers bootstrap in two stages. First is getting a factory, and configuring it. Second is asking that factory for a parser.

The SAX bootstrapping support corresponds to functionality found in the org.xml.sax.helpers package, except that it uses the JAXP two stage bootstrap paradigm and that the parser that's bootstrapped is normally wrapping a SAX parser rather than exposing it for direct use.

javax.xml.transformtrax

Base "TRAX" API for XSLT transformers. This API borrows many structural notions from SAX, such as the way error handling and external entity resolution are handled, although it does not reuse the corresponding SAX classes. To use XSLT transformers:

  • Start with TransformerFactory.newInstance();
  • Then you may wish to configure that factory through its features and properties. This includes modifying the way errors are handled and URIs are resolved.
  • Then you have several options for how to perform the XSLT transformations. One generic option is to ask the factory for a Transformer and then use Transformer.transform() to pull input text onto output text.
  • Alternatively, most factories support flexible integration with SAX event streams. You can cast such factories to a SAXTransformerFactory and perform either push or pull mode transformations.

The OutputKeys class holds constants that can be used to configure output properties used with Result objects, as if they were specified in xslt:output attributes in the stylesheet specifying the transform.

The Templates class accomodates the notion of "compiled" transforms.

javax.xml.transform.domtrax for dom

Support for DOM inputs and outputs to transformers.

javax.xml.transform.saxtrax for sax

Support for SAX2-based XSLT transformers. Normally you would cast a TransformerFactory to a SAXTransformerFactory and use that to in any of the various modes supported (such as push or pull).

javax.xml.transform.streamtrax for streams

Support for text stream inputs and outputs to transformers.

org.apache.catalina
org.apache.catalina.ant

This package contains a set of Task implementations for Ant (version 1.4 or later) that can be used to interact with the Manager application to install, reload, and remove web applications from a running instance of Tomcat. For more information, see http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html.

The attributes of each task element correspond exactly to the request parameters that are included with an HTTP request sent directly to the Manager application. They are summarized as follows:

Attribute Description
url The URL of the Manager web application you will use to perform the requested operations. If not specified, defaults to http://localhost:8080/manager (which corresponds to a standard installation of Tomcat 4).
username The username of a Tomcat user that has been configured with the manager role, as required to execute Manager application commands. This attribute is required.
password The password of a Tomcat user that has been configured with the manager role, as required to execute Manager application commands. This attribute is required.
config A URL pointing at the context configuration file (i.e. a file containing only the <Context> element, and its nested elements, from server.xml for a particular web application). This attribute is supported only on the install target, and is required only if you wish to install an application with non-default configuration characteristics.
path The context path (including the leading slash) of the web application this command is intended to manage, or a zero-length string for the ROOT web application. This attribute is valid for the install, reload, remove, start, and stop tasks only, and is required in all of those cases.
war A jar: URL that points at a web application archive (WAR) file, or a file: URL that points at an unpacked directory containing the web application. This attribute is supported only on the install target. You must specify at least one of the config and war attributes; if you specify both, the war attribute overrides the docBase attribute in the context configuration file.

NOTE - Commands executed through the Manager application are NOT reflected in updates to the Tomcat server.xml configuration file, so they do not persist past the next time you restart the entire Tomcat container.

org.apache.catalina.authenticator

This package contains Authenticator implementations for the various supported authentication methods (BASIC, DIGEST, and FORM). In addition, there is a convenience base class, AuthenticatorBase, for customized Authenticator implementations.

If you are using the standard context configuration class (org.apache.catalina.startup.ContextConfig) to configure the Authenticator associated with a particular context, you can register the Java class to be used for each possible authentication method by modifying the following Properties file:

    src/share/org/apache/catalina/startup/Authenticators.properties

Each of the standard implementations extends a common base class (AuthenticatorBase), which is configured by setting the following JavaBeans properties (with default values in square brackets):

  • cache - Should we cache authenticated Principals (thus avoiding per-request lookups in our underyling Realm) if this request is part of an HTTP session? [true]
  • debug - Debugging detail level for this component. [0]

The standard authentication methods that are currently provided include:

  • BasicAuthenticator - Implements HTTP BASIC authentication, as described in RFC 2617.
  • DigestAuthenticator - Implements HTTP DIGEST authentication, as described in RFC 2617.
  • FormAuthenticator - Implements FORM-BASED authentication, as described in the Servlet API Specification, version 2.2.
org.apache.catalina.cluster

This package contains code for Clustering, the base class of a Cluster is org.apache.catalina.Cluster implementations of this class is done when implementing a new Cluster protocol

The only Cluster protocol currently implemented is a MulticastProtocol
    StandardCluster.java

In addition to the Cluster implementation StandardCluster there's a listener and a sender implemented using multicasting.

  • MulticastSender - A ClusterSender implementation that works with a MulticastSocket
  • MulticastReceiver - A ClusterReceiver implementation that works with a MulticastSocket

Both extend the common class ClusterSessionBase which provides common functionality shared by the two implementations.

org.apache.catalina.connector
org.apache.catalina.connector.http
org.apache.catalina.connector.http10
org.apache.catalina.core
org.apache.catalina.deploy

This package contains Java objects that represent complex data structures from the web application deployment descriptor file (web.xml). It is assumed that these objects will be initialized within the context of a single thread, and then referenced in a read-only manner subsequent to that time. Therefore, no multi-thread synchronization is utilized within the implementation classes.

org.apache.catalina.loader
org.apache.catalina.logger
org.apache.catalina.mbeans
org.apache.catalina.net
org.apache.catalina.realm

This package contains Realm implementations for the various supported realm technologies for authenticating users and identifying their associated roles. The Realm that is associated with a web application's Context (or a hierarchically superior Container) is used to resolve authentication and role presence questions when a web application uses container managed security as described in the Servlet API Specification, version 2.2.

The implementations share a common base class that supports basic functionality for all of the standard Realm implementations, and can be configured by setting the following properties (default values are in square brackets):

  • debug - Debugging detail level for this component. [0]

The standard Realm implementations that are currently available include the following (with additional configuration properties as specified):

  • JDBCRealm - Implementation of Realm that operates from data stored in a relational database that is accessed via a JDBC driver. The name of the driver, database connection information, and the names of the relevant tables and columns are configured with the following additional properties:
    • connectionURL - The URL to use when connecting to this database. [REQUIRED - NO DEFAULT]
    • driverName - Fully qualified Java class name of the JDBC driver to be used. [REQUIRED - NO DEFAULT]
    • roleNameCol - Name of the database column that contains role names. [REQUIRED - NO DEFAULT]
    • userCredCol - Name of the database column that contains the user's credentials (i.e. password) in cleartext. [REQUIRED - NO DEFAULT]
    • userNameCol - Name of the database column that contains the user's logon username. [REQUIRED - NO DEFAULT]
    • userRoleTable - Name of the database table containing user role information. This table must include the columns specified by the userNameCol and roleNameCol properties. [REQUIRED - NO DEFAULT]
    • userTable - Name of the database table containing user information. This table must include the columns specified by the userNameCol and userCredCol properties. [REQUIRED - NO DEFAULT]
  • MemoryRealm - Implementation of Realm that uses the contents of a simple XML file (conf/tomcat-users.xml) as the list of valid users and their roles. This implementation is primarily to demonstrate that the authentication technology functions correctly, and is not anticipated as adequate for general purpose use. This component supports the following additional properties:
    • pathname - Pathname of the XML file containing our user and role information. If a relative pathname is specified, it is resolved against the pathname specified by the "catalina.home" system property. [conf/tomcat-users.xml]
org.apache.catalina.servlets

This package contains Servlets that implement some of the standard functionality provided by the Catalina servlet container. Because these servlets are in the org.apache.catalina package hierarchy, they are in the privileged position of being able to reference internal server data structures, which application level servlets are prevented from accessing (by the application class loader implementation).

To the extent that these servlets depend upon internal Catalina data structures, they are obviously not portable to other servlet container environments. However, they can be used as models for creating application level servlets that provide similar capabilities -- most obviously the DefaultServlet implementation, which serves static resources when Catalina runs stand-alone.

org.apache.catalina.session

This package contains the standard Manager and Session implementations that represent the collection of active sessions and the individual sessions themselves, respectively, that are associated with a Context. Additional implementations of the Manager interface can be based upon the supplied convenience base class (ManagerBase), if desired. Different implementations of Session are possible, but a need for functionality beyond what is provided by the standard implementation (StandardSession) is not expected.

The convenience ManagerBase base class is configured by setting the following properties:

  • algorithm - Message digest algorithm to be used when generating session identifiers. This must be the name of an algorithm supported by the java.security.MessageDigest class on your platform. [DEFAULT_ALGORITHM]
  • debug - Debugging detail level for this component. [0]
  • distributable - Has the web application we are associated with been marked as "distributable"? If it has, attempts to add or replace a session attribute object that does not implement the java.io.Serializable interface will be rejected. [false]
  • entropy - A string initialization parameter that is used to increase the entropy of the seeding of the random number generator used in creation of session identifiers. [NONE]
  • maxInactiveInterval - The default maximum inactive interval, in minutes, for sessions created by this Manager. The standard implementation automatically updates this value based on the configuration settings in the web application deployment descriptor. [60]
  • randomClass - The Java class name of the random number generator to be used when creating session identifiers for this Manager. [java.security.SecureRandom]

The standard implementation of the Manager interface (StandardManager) supports the following additional configuration properties:

  • checkInterval - The interval, in seconds, between checks for sessions that have expired and should be invalidated. [60]
  • maxActiveSessions - The maximum number of active sessions that will be allowed, or -1 for no limit. [-1]
  • pathname - Pathname to the file that is used to store session data persistently across container restarts. If this pathname is relative, it is resolved against the temporary working directory provided by our associated Context, if any. ["sessions.ser"]
org.apache.catalina.ssi

This package contains code that is used by the SsiInvoker.

This class consists of SsiMediator.java which works as a mediator between the different SsiCommands. To add a command you have to implement the SsiCommand interface and extend the SsiMediator. Commands currently implemented are

  • SsiConfig - Implementation of the NCSA command Config i.e. <!--#config errmsg="error?"-->
  • SsiEcho - Implementation of the NCSA command Echo i.e. <!--#echo var="SERVER_NAME"-->
  • SsiExec - Not implemented
  • SsiFlastMod - Implementation of the NCSA command flastmod i.e. <!--#flastmod virtual="file"-->
  • SsiFsize - Implementation of the NCSA command fsize i.e. <!--#fsize file="file"-->
  • SsiInclude - Implementation of the NCSA command Include i.e. <!--#config virtual="includefile"-->
org.apache.catalina.startup
org.apache.catalina.users
org.apache.catalina.util
org.apache.catalina.valves

This package contains a variety of small Valve implementations that do not warrant being packaged separately. In addition, there is a convenience base class (ValveBase) that supports the usual mechanisms for including custom Valves into the corresponding Pipeline.

Other packages that include Valves include org.apache.tomcat.logger and org.apache.tomcat.security.

org.apache.html.dom
org.apache.naming

This package contains a memory based naming service provider.

org.apache.naming.factory

This package contains object factories used by the naming service.

org.apache.naming.java

This package contains the URL context factory for the "java" namespace.

org.apache.naming.resources

This package contains the resources directory context implemetation. This includes :

  • A CacheDirContext which handles caching and acts as a proxy for the real resources context
  • A FileDirContext, an implementation of DirContext to access the filesystem

org.apache.naming.resources.jndi
org.apache.wml
org.apache.wml.dom
org.apache.xerces.dom
org.apache.xerces.dom.events
org.apache.xerces.domx
org.apache.xerces.framework
org.apache.xerces.jaxp
org.apache.xerces.msg
org.apache.xerces.parsers
org.apache.xerces.readers
org.apache.xerces.utils
org.apache.xerces.utils.regex
org.apache.xerces.validators.common
org.apache.xerces.validators.datatype
org.apache.xerces.validators.dtd
org.apache.xerces.validators.schema
org.apache.xerces.validators.schema.identity
org.apache.xml.serialize
org.w3c.dom DOM Level 2

Contains the core and "XML" feature set of the DOM Level 2 Recommendation.

org.w3c.dom.css yadda yadda

Supports the optional "CSS" and "CSS2" stylesheet features of the DOM Level 2 Recommendation.

org.w3c.dom.events yadda yadda

Supports the optional "Events", "UIEvents", "MouseEvents", "MutationEvents", and "HTMLEvents" features of the DOM Level 2 Recommendation.

Note that apart from the basic "Events" infrastructure and the "MutationEvents", all other events currently defined in the DOM specification imply having some user interface that issues various events to the DOM. Also, to fully support the "UIEvents" and its child event set "MouseEvents", the DOM implementation must also support the "Views" feature.

org.w3c.dom.html yadda yadda

Supports the optional "HTML" feature of the second DOM Level 2 Candidate Recommendation.

org.w3c.dom.ranges yadda yadda

Supports the optional "Range" feature of the DOM Level 2 Recommendation.

org.w3c.dom.stylesheets yadda yadda

Supports optional "StyleSheets" features (see the sibling CSS package) of the DOM Level 2 Recommendation.

org.w3c.dom.traversal yadda yadda

Supports the optional "Traversal" feature of the DOM Level 2 Recommendation.

org.w3c.dom.views yadda yadda

Supports the optional "Views" feature of the DOM Level 2 Recommendation.

org.xml.sax

This package provides the core SAX APIs. Some SAX1 APIs are deprecated to encourage integration of namespace-awareness into designs of new applications and into maintainance of existing infrastructure.

See http://www.saxproject.org for more information about SAX.

SAX2 Standard Feature Flags

One of the essential characteristics of SAX2 is that it added feature flags which can be used to examine and perhaps modify parser modes, in particular modes such as validation. Since features are identified by (absolute) URIs, anyone can define such features. Currently defined standard feature URIs have the prefix http://xml.org/sax/features/ before an identifier such as validation. Turn features on or off using setFeature. Those standard identifiers are:

Feature ID Default Description
external-general-entities unspecified Reports whether this parser processes external general entities; always true if validating
external-parameter-entities unspecified Reports whether this parser processes external parameter entities; always true if validating
is-standalone none May be examined only during a parse, after the startDocument() callback has been made; read-only. The value is true if the document specified the "standalone" flag in its XML declaration, and otherwise is false.
lexical-handler/parameter-entities unspecified true indicates that the LexicalHandler will report the beginning and end of parameter entities
namespaces true true indicates namespace URIs and unprefixed local names for element and attribute names will be available
namespace-prefixes false true indicates XML 1.0 names (with prefixes) and attributes (including xmlns* attributes) will be available
resolve-dtd-uris true A value of "true" indicates that system IDs in declarations will be absolutized (relative to their base URIs) before reporting. (That is the default behavior for all SAX2 XML parsers.) A value of "false" indicates those IDs will not be absolutized; parsers will provide the base URI from Locator.getSystemId(). This applies to system IDs passed in
  • DTDHandler.notationDecl(),
  • DTDHandler.unparsedEntityDecl(), and
  • DeclHandler.externalEntityDecl().
It does not apply to EntityResolver.resolveEntity(), which is not used to report declarations, or to LexicalHandler.startDTD(), which already provides the non-absolutized URI.
string-interning unspecified true if all XML names (for elements, prefixes, attributes, entities, notations, and local names), as well as Namespace URIs, will have been interned using java.lang.String.intern. This supports fast testing of equality/inequality against string constants.
use-attributes2 unspecified Returns true if the Attributes objects passed by this parser in ContentHandler.startElement() implement the org.xml.sax.ext.Attributes2 interface. That interface exposes additional information, such as whether the attribute was specified in the source text rather than defaulted.
use-locator2 unspecified Returns true if the Locator objects passed by this parser in ContentHandler.setDocumentLocator() implement the org.xml.sax.ext.Locator2 interface. That interface exposes additional entity information, such as the character encoding and XML version used.
use-entity-resolver2 true (when recognized) Returns true if, when setEntityResolver is given an object implementing the org.xml.sax.ext.EntityResolver2 interface, those new methods will be used. Returns false to indicate that those methods will not be used.
validation unspecified controls whether the parser is reporting all validity errors; if true, all external entities will be read.

Support for the default values of the namespaces and namespace-prefixes properties is required.

For default values not specified by SAX2, each XMLReader implementation specifies its default, or may choose not to expose the feature flag. Unless otherwise specified here, implementations may support changing current values of these standard feature flags, but not while parsing.

SAX2 Standard Handler and Property IDs

For parser interface characteristics that are described as objects, a separate namespace is defined. The objects in this namespace are again identified by URI, and the standard property URIs have the prefix http://xml.org/sax/properties/ before an identifier such as lexical-handler or dom-node. Manage those properties using setProperty(). Those identifiers are:

Property ID Description
declaration-handler Used to see most DTD declarations except those treated as lexical ("document element name is ...") or which are mandatory for all SAX parsers (DTDHandler). The Object must implement org.xml.sax.ext.DeclHandler.
dom-node For "DOM Walker" style parsers, which ignore their parser.parse() parameters, this is used to specify the DOM (sub)tree being walked by the parser. The Object must implement the org.w3c.dom.Node interface.
lexical-handler Used to see some syntax events that are essential in some applications: comments, CDATA delimeters, selected general entity inclusions, and the start and end of the DTD (and declaration of document element name). The Object must implement org.xml.sax.ext.LexicalHandler.
xml-string Readable only during a parser callback, this exposes a TBS chunk of characters responsible for the current event.

All of these standard properties are optional; XMLReader implementations need not support them.

org.xml.sax.ext

This package contains interfaces to SAX2 facilities that conformant SAX drivers won't necessarily support.

See http://www.saxproject.org for more information about SAX.

This package is independent of the SAX2 core, though the functionality exposed generally needs to be implemented within a parser core. That independence has several consequences:

  • SAX2 drivers are not required to recognize these handlers.
  • You cannot assume that the class files will be present in every SAX2 installation.
  • This package may be updated independently of SAX2 (i.e. new handlers and classes may be added without updating SAX2 itself).
  • The new handlers are not implemented by the SAX2 org.xml.sax.helpers.DefaultHandler or org.xml.sax.helpers.XMLFilterImpl classes. You can subclass these if you need such behavior, or use the helper classes found here.
  • The handlers need to be registered differently than core SAX2 handlers.

This package, SAX2-ext, is a standardized extension to SAX2. It is designed both to allow SAX parsers to pass certain types of information to applications, and to serve as a simple model for other SAX2 parser extension packages. Not all such extension packages should need to be recognized directly by parsers, however. As an example, most validation systems can be cleanly layered on top of parsers supporting the standardized SAX2 interfaces.

org.xml.sax.helpers

This package contains "helper" classes, including support for bootstrapping SAX-based applications.

See http://www.saxproject.org for more information about SAX.

seda.apps.Haboob
seda.apps.Haboob.bottleneck
seda.apps.Haboob.cache
seda.apps.Haboob.hdapi
seda.apps.Haboob.hdapi.test
seda.apps.Haboob.http
seda.nbio
seda.sandStorm.api
seda.sandStorm.api.internal
seda.sandStorm.core
seda.sandStorm.internal
seda.sandStorm.lib.aDisk
seda.sandStorm.lib.aSocket
seda.sandStorm.lib.aSocket.nbio
seda.sandStorm.lib.aSocket.nio
seda.sandStorm.lib.Gnutella
seda.sandStorm.lib.http
seda.sandStorm.lib.util
seda.sandStorm.main
seda.util
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.