Changes between Version 1 and Version 2 of ExampleUsingOwnConceteTypes
- Timestamp:
- 10/06/06 16:45:05 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ExampleUsingOwnConceteTypes
v1 v2 1 1 == Using own concete types == 2 2 3 [|Special case: Using own types in Collections and Maps.] Java's type erasure in action! 4 3 5 === Server side === 4 5 6 6 7 … … 44 45 }}} 45 46 46 Now our type ist XML-RPC compliant! 47 Now our type ist XML-RPC compliant! We can register the implementation as usual... 48 {{{ 49 WebServer xmlRpcServer = new WebServer( port ); 50 xmlRpcServer.addHandler( "handlerId", XmlRpcHandlerFactory.createHandlerFor( new Impl() ); 51 xmlRpcServer.start(); 52 }}} 53 47 54 48 55 === Client Side === … … 59 66 ... 60 67 }}} 68 69 == Using own types in Collections and Maps == 70