Friday, 26 July 2013

Restlet is a lightweight, comprehensive, open source REST framework for the Java platform. Restlet is suitable for both server and client Web applications. It supports major Internet transport, data format, and service description standards like HTTP and HTTPS, SMTP, XML, JSON, Atom, and WADL. A GWT port of the client-side library is also available. (Reference: http://en.wikipedia.org/wiki/Restlet) Hello World Example Project Structure RestletApplication.java package...

Thursday, 11 July 2013

Introduction Apache CouchDB, commonly referred to as CouchDB, is an open source database that focuses on ease of use and on being "a database that completely embraces the web". It is a NoSQL database that uses JSON to store data, JavaScript as its query language using MapReduce and HTTP for an API. One of its distinguishing features is multi-master replication. Couch is an acronym for cluster of unreliable commodity hardware A ...

Monday, 1 July 2013

1) Is it the "servlets" directory or the "servlet" directory? Answer: For Java Web Server: on the file system, it's "servlets" c:\JavaWebServer1.1\servlets\DateServlet.class in a URL path, it's "servlet" http://www.stinky.com/servlet/DateServlet 2) How do I support both GET and POST protocol from the same Servlet? Answer: The easy way is, just support POST, then have your doGet method call your doPost method:               ...
Find me on Facebook! Follow me on Twitter!