Datamill Offers Spring Alternative

Datamill, an open-source Java framework for Web applications that uses functional reactive programming (FRP), has emerged as an alternative to the Spring Framework.

FRP is a model of programming with asynchronous data streams (reactive programming) that uses a functional programming approach. Functional programming emphasizes the evaluation of expressions rather than the execution of commands. Datamill is built on RxJava (Reactive Extensions for the JVM), which is a library for composing asynchronous and event-based programs using observable sequences for the Java Virtual Machine.

The new framework is being developed as a reaction to some limitations of the Spring Framework, explained lead datamill developer Ravi Chodavarapu in a blog post. Unlike other modern Java frameworks, he wrote, datamill makes the flow and manipulation of data through an application highly visible by using the FRP style on RxJava.

"This allows you to be explicit about how data flows through your application, and how to modify that data as it does," Chodavarapu wrote. "At the same time, if you use Java 8 lambdas (datamill and RxJava are intended to be used with lambdas), you can still keep your code concise and simple."

Datamill applications are meant to be started as standalone Java applications, Chodavarapu wrote, where the developer explicitly creates the HTTP server, specifies how requests are handled, and has the server start listening on a port. "Unlike traditional [Java EE] deployments, where you have to worry about configuring a servlet container or an application server, you have control of when the server itself is started," he wrote.

Datamill is still in the early stages of development, but it has been used to build several large Web applications, Chodavarapu said in the GitHub release notes.

Pivotal's Spring Framework continues to be a strong brand among Java developers, said IDC analyst Al Hilwa in an earlier interview, and it's one of the most popular Java application frameworks on the market today. Spring is a layered Java/J2EE framework based on code published in Rod Johnson's book Expert One-on-One Java EE Design and Development (Wrox Press, October 2002). Johnson also wrote the first version of the framework and co-founded SpringSource, the company that supported it commercially.

About the Author

John has been covering the high-tech beat from Silicon Valley and the San Francisco Bay Area for nearly two decades. He serves as Editor-at-Large for Application Development Trends ( and contributes regularly to Redmond Magazine, The Technology Horizons in Education Journal, and Campus Technology. He is the author of more than a dozen books, including The Everything Guide to Social Media; The Everything Computer Book; Blobitecture: Waveform Architecture and Digital Design; John Chambers and the Cisco Way; and Diablo: The Official Strategy Guide.



Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.

Upcoming Events