Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The spring based vysper runtime (see ServerMain() class) together with spring-beans.xml provides that we can rewire the server very easily. This fosters SoC and is invaluable as the codebase evolves.
As the code is not tied to spring on compile time nor runtime, I propose to support a simple Server() class which does all the default wiring automatically (and with reduced configurability on the component level). The inspiration comes from Jetty (see http://docs.codehaus.org/display/JETTY/Embedding+Jetty ).
a simple new Server("vysper.org"); should be enough.