@Override
        public boolean attachChild(String model) {
            if (model == null)
                throw new RuntimeException("Cannot be null. .. etc");

            final String finalModel = model;
            serverApp.enqueue(new Callable<Void>() {
                @Override
                public Void call() throws Exception {
                    Spatial spatial = serverApp.getAssetManager().loadModel(finalModel);
                    serverApp.getRootNode().attachChild(spatial);
                    return null;
                }
            });
            return true;
        }
Attaches the model with the given name to the server's scene.

@param model The model name

@return True if the model was attached.

@throws RuntimeException If some error occurs.
jme3-examples/src/main/java/jme3test/network/TestRemoteCall.java