Changes for page Development-WO Adaptor
Last modified by Pascal Robert on 2012/07/19 21:50
From version 33.1
edited by Andrew Lindesay
on 2007/10/30 18:21
on 2007/10/30 18:21
Change comment:
There is no comment for this version
To version 34.1
edited by Ravi Mendis
on 2011/05/03 21:55
on 2011/05/03 21:55
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - Web Applications-Development-WO Adaptor1 +Development-WO Adaptor - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. apl1 +XWiki.rmendis - Content
-
... ... @@ -1,6 +1,6 @@ 1 1 == Overview == 2 2 3 -The [[WOAdaptor>>http:// developer.apple.com/documentation/WebObjects/Reference/API/com/webobjects/appserver/WOAdaptor.html]] layer of WebObjects can be thought of as a broker of requests and responses. Its role in the framework is to:3 +The [[WOAdaptor>>http://webobjects.mdimension.com/javadoc/WebObjects/5.4.2/com/webobjects/appserver/WOAdaptor.html]] layer of WebObjects can be thought of as a broker of requests and responses. Its role in the framework is to: 4 4 5 5 1. Receive incoming requests of some type (typically HTTP) 6 6 1. Package them into a WORequest ... ... @@ -8,8 +8,22 @@ 8 8 1. Receive the WOResponse back from the WOApplication 9 9 1. Send the response back across whatever protocol the adaptor handles 10 10 11 -In most cases, you will be dealing with WODefaultAdaptor, which isprovides support for HTTP. However, adaptors could receive requests from any number of sources. As an example, Project Wonder includes ERIMAdaptor, which provides support for requests and responses over Instant Messaging networks.11 +In most cases, you will be dealing with WODefaultAdaptor, which provides support for HTTP. However, adaptors could receive requests from any number of sources. As an example, Project Wonder includes ERIMAdaptor, which provides support for requests and responses over Instant Messaging networks. 12 12 13 +=== Netty WOAdaptor === 14 + 15 +The Wonder ERWOAdaptor framework includes a new WOAdaptor based on [[Netty>>http://www.jboss.org/netty]]. 16 +JBoss [[Netty>>http://www.jboss.org/netty]], Grizzly and Apache Mina are frameworks for Java [[NIO>>http://en.wikipedia.org/wiki/New_I/O]]. But Netty is widely regarded in the industry as being the fastest and most scalable... 17 + 18 +==== How To Use ==== 19 + 20 +1. Include the ERWOAdaptor framework in your app project and rebuild. 21 +1. Run the app with the property ##WOAdaptor WONettyAdaptor## 22 + 23 +==== Limitations ==== 24 + 25 +Currently, there is a fixed file size limit for file uploads. This is settable via a property ##WOFileUpload.sizeLimit##. It defaults to 100MB. 26 + 13 13 === AJP Adaptor === 14 14 15 15 The LEWOStuff frameworks include a WOAdaptor which can be used to supply requests from an [[AJP>>http://en.wikipedia.org/wiki/Apache_JServ_Protocol]] supplier such as Apache2.