Monday Jun 01, 2009
Wednesday Dec 24, 2008
By cwebster on Dec 24, 2008
Monday Sep 01, 2008
By cwebster on Sep 01, 2008
I have been working on a book describing how to use zembly to create the social web (think wiki for code targeted to social networks and other web 2.0 platforms like a blog), which was released via Safari Rough Cuts. There is still time to influence the book's content, so please use the feedback mechanism.
Wednesday Apr 09, 2008
Saturday Jan 05, 2008
Wednesday Jan 02, 2008
By cwebster on Jan 02, 2008
Dapper is an interesting software as a service website that serves as a transformation engine for the content of a website. The content can be converted to a variety of different formats including RSS, XML and JSON. One of the common use cases for Dapper is to select some subset of a website's content, which is certainly interesting. However, a more interesting use case for "Web Service" type applications is the ability to create an external API for web sites which do not have API's defined. These API's are constructed using the Dapper interface which allows publishing a RESTful service that can then be consumed by service side mashup services. There is a free dapper camp in San Francisco in February where you can learn more about this technology.
In addition to the dapper camp, a contest to build a NetBeans plugin is underway. If you are considering enhancing the NetBeans REST or other web technology support this provides an interesting incentive.
Saturday Aug 25, 2007
By cwebster on Aug 25, 2007
NetBeans has introduced a Web Service designer, as you may have seen in Geertjan's blog. In addition to the ability to graphically view and modify operations for implementation first web services (WSDL is generated based on the JAXWS annotations), the web service designer provides the ability to work incrementally starting from a WSDL document. This represents a significant enhancement to the development experience as the WSDL document can become a first class source artifact, while the developer experience remains the same as the Web service designer provides the same implementation
view. The add operation feature has also been extended to support the direct addition of XML schema. Direct addition of schema elements will perform an on demand generation of JAXB to provide a Java binding.
Having the WSDL generated as part of deployment presents makes it difficult for composite application assembly tools, such as the NetBeans CASA editor, to take advantage of the abstract WSDL binding capability of the openESB runtime. A composite application provides code composition based on well defined WSDL based interfaces. Since all the modules are deployed together and each WSDL interface is exposed on the service bus, developers can rely on bus endpoints instead of the concrete endpoints exposed in WSDL, thus achieving loose coupling as only the abstract WSDL is needed. The WSDL document can also be modified using the NetBeans WSDL editor to enhance the generated information such as adding documentation.
You will also notice the ability to see sample input and output messages. This is useful when working from Java types to see how changes to the structure of Java classes will affect the XML messages.
This new feature is worth a look, you can find this in NetBeans 6.
Thursday Jul 26, 2007
By cwebster on Jul 26, 2007
Friday May 04, 2007
By cwebster on May 04, 2007
The wizard determines the set of entity beans available in a project and allows a set of beans to be selected and exposed as resources. In addition to generating the rest resource code, the wizard generates a converter layer which provides the ability to marshal and unmarshal to and from the wire protocol. Currently, the converters are using custom XML to serialize data; however, JSON and ATOM publishing protocol are also being considered. Finally, the converter layer translates object references (such as JPA references) into URI references. All the code generated by NetBeans is freely editable (no guarded blocks) and only relies on the JSR-311 annotations.
Accompanying the wizard is the ability to generate a test client to exercise the generated resources. The test client supports interaction with resource collections as well as individual resources through GET, PUT, POST, and DELETE (depending on the options available via the resources). The test client is generated locall and uses XHR for communicating with the resources, which should mimic most common architectures.
This is best to see in action, check out the video.
Sunday Apr 08, 2007
By cwebster on Apr 08, 2007
Saturday Feb 10, 2007
- Last day at Sun
- Profiling an ANT process
- Community One presentation on zembly architecture
- The Agile Development Process used to create Zembly
- zembly update
- MySQL 5.1 v 5.0
- zembly book is almost ready for release
- How to pass a parameter into an XSLT stylesheet
- Safari Rough Cut release of zembly book