Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Thanks, great tutorial. I will use it in future to provide restricted access.
- Amit
there is a chance of throwing NUllPointer Exception in the above program in case of the user is not an admin and the command he is issuing is not containing rm…
- prasad
Client application can directly create instance of CommandExecutorImpl class and invoke runCommand. How this can be avoided?
- Yogesh
In class CommandExecutorProxy, it looks like changing “private CommandExecutor executor;” to “private CommandExecutorImpl executor;” is more efficient. Why not use its implementation directly?
- Ben qu
Just one thing wanted to check with you , should not it be good design if we do not expose proxy class to outer world and get it functionality done as kind of a filter before actually getting command fired. That is exactly kind of reference from your proxy class mentioned in serialization process blog. By doing this way outer world does not know internal structure whether there is any filter in place in middle.
- Amit