An optical switch for an optical network, which can switch a light beam from and input fiber to an output fiber quickly and without expensive intermediate conversions to electrical form. An end cap is attached to each end of the roller tube which has a hollow internal bore and an outer seal insert retained within the hollow internal bore of the end cap and having an internal recess and adapted for rotation with the roller tube and end cap. Said filling compound made of filled polymers seals the gaps in the permanent-magnet rotor by injection moulding. The web service may be deployable to a server for hosting, where the web service is invocable over a network to perform the corresponding one or more web methods.