A while ago, I built an MAF application, which was consuming a few REST webservices from Oracle Java Cloud. But for each request from the app, the response JSON was getting created, and which made the app response very slow. So, I created the contents of the REST response as a scheduled job. My data wasn't getting changed that often, so I choose to build my REST responses every morning at 10am using java.util.TimerTask. Used Software: JDeveloper 12.1.3 #1. REST response POJOs : public class Feed { public String url; public String source; public Feed() { super(); } public Feed(String source, String url) { setSource(source); setUrl(url); } public void setSource(String source) { this.source = source; } public String getSource() { return source; } public void setUrl(String url) { this.url = url; } public String getUrl() { return url; } } ============
About anything and everything from my daily consulting life. ADF, Java, Weblogic, Unix shell scripting, Mobile technology..etc. etc.. The views expressed on this blog are my own and do not necessarily reflect the views of my employer.