Python Cookbook Welcome to the Python Cookbook, a collaborative collection of your contributions to Python lore. Python Cookbook code is freely available for use and review. We encourage you to contribute recipes (code and discussion), comments and rati
Jersey 1.0 is an open-source, production-ready reference implementation of JAX-RS, the Java API for RESTful Web Services (JSR-311). Jersey makes it easy to create RESTful web services in Java.
In an earlier Tech Tip, Implementing RESTful Web Services in Java, Paul Sandoz and I introduced RESTful Web Services, JAX-RS, and Jersey, and showed how to write RESTful web services in Java that conform to the JAX-RS specification. In this tip you will learn how to configure data in JSON (JavaScript Object Notation) using Jersey 1.0. JSON is a lightweight data-interchange format that is based on the object notation of the JavaScript language. Because of it's simple text format, JSON provides a good alternative to other data interchange formats such as XML and is particularly attractive as a data interchange format for RESTful web services.
In this tip you will build a Jersey-based web application that provides information about printer status. The application returns the information in JSON format. To build the application, you will use the Maven 2 software project management tool. For more information about Maven, see Welcome to Maven and Building Web Applications with Maven 2.
This presentation was given as a scheduled talk at PyCon UK 2007. The material presented covered the following subjects: * Generating code from user interface descriptions with pyuic4 * Connecting signals and slots using auto-connection * Creating custom widgets with PyQt4 for use in Qt Designer
This article outlines the process involved in transforming the del.icio.us user API XML document into an HTML fragment. Because the XSLT processor is compiled, and therefore runs significantly faster than interpreted Javascript in the browser, I push as m
This article outlines the process involved in transforming the del.icio.us user API XML document into an HTML fragment. Because the XSLT processor is compiled, and therefore runs significantly faster than interpreted Javascript in the browser, I push as m
Take out a blank sheet of paper or open up a word processor where you can type (I prefer the latter because it’s faster). Write at the top, “What is my true purpose in life?” Write an answer (any answer) that pops into your head. It doesn’t ha