Package com.grailsinaction

Examples of com.grailsinaction.RemotePostService


            System.exit(1);
        }

        try {
            Registry registry = LocateRegistry.getRegistry("localhost", 1199);
            RemotePostService postService = (RemotePostService) registry.lookup("PostService");
            long postId = postService.createPost("peter", args[0]);

            System.out.println("Created new post with ID '" + postId + "'");
        } catch (Exception e) {
            e.printStackTrace();
        }
View Full Code Here

TOP

Related Classes of com.grailsinaction.RemotePostService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.