| ||||||||||
Resin 3.1 Documentation Examples Changes Quercus Database Amber EJB SOA/ESB IoC JMS Servlet JMX Hessian Security Hessian Serialization Hessian Addition Service Addition Hessian with DI Burlap Addition custom-protocol |
Hessian SerializationHessian 2.0 provides cross-language binary object serialization with efficiencies better than java.io serialization. The compaction encodings added to Hessian 2.0 have improved an already-popular cross-platform binary web services protocol. With these changes, Hessian 2.0 now directly competes with java.io serialization in efficiency. Hessian AdditionThe addition example creates a Hessian web services with a servlet and uses that web service from a JSP client and a Python client. Service AdditionWriting a Hessian service as a plain-old Java object (POJO) eliminates protocol dependencies and simplifies service testing. Hessian with DIUsing Hessian with Dependency Injection pattern creates services which are simpler, protocol-independent and more easily tested. The Dependency Injection pattern (aka inversion of control) gives Resin the responsibility of configuring and assembling the service, protocol, and client. Burlap AdditionThe addition example creates a Burlap web services with a servlet and uses that web service from a JSP client. custom-protocolThis tutorial shows the usage of the Resin server architecture to handle a custom protocol. Resin handles the TCP connections, multi-threading, and the request object pooling. The application implements a class that reads from a stream and writes to a stream. Professor Trelawny once got a student to make a Magic8Ball, used for prophecy. Originally it was used with a simple web interface. Now Trelawny wants to provide a protocol server on the Hogwart's public web server. The protocol is at the same level as or , it sit's directly on top of TCP/IP.
|