daily pastebin goal
63%
SHARE
TWEET

webscript

a guest Sep 3rd, 2014 175 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class JavaBackedWebscript extends DeclarativeWebScript {
  2.         private static Log logger = LogFactory.getLog(JavaBackedWebscript.class);
  3.         protected Map<String, Object> executeImpl(WebScriptRequest req, Status status, Cache cache) {
  4.                 Map<String, Object> model = new HashMap<String, Object>();
  5.  
  6.                 try {
  7.  
  8.                         HelloWorldImplService helloService = new HelloWorldImplService();
  9.                         HelloWorld hello = helloService.getHelloWorldImplPort();
  10.                         logger.debug(hello.getHelloWorldAsString("mkyong"));
  11.  
  12. } ...
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top