The Problem - The Current VCR uses sockets
- Client must be connected all the time
- Mobile devices waste energy in permanent connections
- Web browsers are disconnected in nature
Solution
- Creation of “middle layer”
:
- .NET Remoting:
- Single Call objects:
- Stateless : therefore cannot be connected all the time
- Ideal for web services
- Singleton:
- One instance can serve multiple clients
- Stateful
- Simple to develop
- Client-Activated Objects (CAO)
- Each client can have its own instance
- Stateful
- The best of both world
- More difficult to develop
- Web site in ASP.NET with J#
- Mobile Client connects to the web server
- ASP.NET application connect to the .NET remoting which is connected all the time
- Client
- Any browser with support for XMLHTTP paradigm:
- Can connect to a server sending information via GET
- Can send information to a server using POST
- Currently
- Internet Explorer 5 or better
- Mozilla Firefox
|
|