Template-Based Code Generation with Apache Velocity, Part 2
Publish Date: Jun. 2, 2004
Giuseppe Naccarato's investigation of code generation continues with a look at using a language-agnostic model to represent the relationships of classes, attributes, and operations in the code to be generated. Does it work better than something platform-specific? The answer is surprising.
Template-Based Code Generation with Apache Velocity, Part 1
Publish Date: May. 5, 2004
This article demonstrates a simple code generator in Java that uses Velocity. The generator takes an XML representation of classes and data members and generates the Java code to define them. The generation process will be driven by a template that encapsulates the syntax of the target programming language.
Local Invocation for CORBA
Publish Date: Oct. 23, 2002
CORBA 2.2 or less does not enable
applications to transfer objects from the server to the client by copying.
This article explains how to simulate the
pass-by-value strategy in CORBA so that a client virtual machine can
locally invoke methods implemented on a remote CORBA server.
Introducing Nonblocking Sockets
Publish Date: Sep. 4, 2002
Nonblocking sockets, the new I/O API in J2SE 1.4, allow I/O operations on a channel without blocking the processes using it. This will allow for asynchronous high-performance read/write operations that will totally alter the techniques for developing socked-based applications.
© 2014, O’Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.