Please suggest the most harmonious way for me to implement a command pattern in spring.
I want my tests/gui's to create a command. This could be on another machine, or not. Then I want the command to be instantiated on a server and receive the "execute()" command. This command may need to hae access to SpringManaged resources.
If I define the command as a Spring managed bean and have it list its dependencies then if those are not available on the client (Say the web tier with no access to the services) then that is problematic.
Please either advice of an approach, or better yet point me to an existing framework that has addressed these issues.
Thanks, and please forgive my beginning Spring knowledge.