Quadcap 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 » Quadcap Web Server 
Quadcap Web Server
License:
URL:http://www.quadcap.com/
Description:
Package NameComment
com.quadcap.app.bugdb Implementation of the Bug Database sample application.
com.quadcap.app.dbimage Implementation of the Image Database sample application.
com.quadcap.app.qed "Application Logic" to support the QED Admin Tool application. This application uses a single AdminSession JavaBean which dispatches different application actions from a central 'handleRequest()' function.

This approach is simple, and sufficient for small applications.

Note that this is still partly a "Model 1" application, in which a fair amount of the application logic is in the JSP pages:

com.quadcap.app.qws Application logic to support the Quadcap Web Server Admin Tool application. This is a pretty straightforward "Model 2" application, with a central servlet dispatching to individual action classes, which perform application logic and then forward to JSP pages for final display.
com.quadcap.http.client HTTP client utilities for regression testing, benchmarking, link checking.
com.quadcap.http.server22 Implementation of JSDK2.2 Web Server, with JSP 1.1. This package also contains a series of runtime optimizations; it's about 4x faster than the previous implementation.
com.quadcap.http.servlets.cgi This package contains a simple Servlet->CGI mapping, so that CGI scripts can be run by a Java web server.
com.quadcap.http.servlets.file Generic file servlet.
com.quadcap.http.servlets.jsp JSP 1.0 Implementation.
com.quadcap.http.util A place to put general HTTP-related utilities.
com.quadcap.io Useful InputStreams, OutputStreams, Readerss, and Writerss galore.
com.quadcap.io.dir This package defines an abstract directory access API which can be used to access directory structures in native filesystems or jar files.
com.quadcap.net.server A tuned multi-threaded server architecture. Allocations are minimized through reusable objects: Worker, WorkerInputStream, WorkerOutputStream.
com.quadcap.pop3.client POP3 Agent implementation -- the POP3 agent runs periodically to check a remote mailbox and download any new messages into the local message store.
com.quadcap.server Generic server/service framework.

A set of named services:

Each service is a JavaBean

  • init(ServiceContainer c, Properties p)
  • init(ServiceContainer c, Document d)
  • stop();

A service's properties are defined in an xml file or a '.props' file, the contents of which are defined by the service itself.

The initial services are defined in an xml file. The 'service-config' parameter refers to a file which may be an XML file, a '.props' file, or an inline XML element.

<server>
  <service>
    <service-name>log</service-name>
    <service-class>com.quadcap.services.Logger</service-class>
    <service-config>
      <file-name>server.log</file-name>
      <log-level>2</log-level>
    </service-config>
    <load-on-startup>0</load-on-startup>
  </service>

  <service>
    <service-name>DataSources</service-name>
    <service-class>com.quadcap.services.DataSources</service-class>
    <service-config>datasources.xml</service-config>
    (or
    <service-config>
      <data-sources>
        <data-source>
	</data-source>
      </data-sources>
    </service-config>
    <load-on-startup>0</load-on-startup>
  </service>

  <service>
    <service-name>web80</service-name>
    <service-class>com.quadcap.services.WebServer</service-class>
    <service-config>web80.xml</service-config>
    <load-on-startup>2</load-on-startup>
  </service>
  
</server>

Services can be added/deleted at run time:

  • ServiceContainer.addService(String name, Service service)
com.quadcap.services Standard Quadcap Services:
  • JDBC Datasources
  • Web Service
com.quadcap.sql.file Implementation of a cached block/stream data store with write-ahead logging. Individual pages are accessed through an LRU cache. Subpage allocators implement smaller granularity allocations. Arbitrary size objects can accessesd as streams.
com.quadcap.text Miscellaneous text utilities.
com.quadcap.text.sax Fast SAX Parser implementation.
com.quadcap.util Most-used general-purpose classes, Config, Debug, Util, etc.
com.quadcap.util.collections Interesting and useful collection classes:
com.quadcap.util.text General text manipulation utilities.
com.quadcap.util.threads Classes to support multi-threaded programming.
luxor.browser.albert
org.xml.sax
org.xml.sax.helpers
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.