This article tries to demonstrate that Java can be more productive than Ruby.
We are going to develop the same application of the article Rolling with Ruby
on Rails Revisited (part 1  and part 2 ) but using POJO s annotated
with JPA  and a Model Driven Framework, OpenXava  in this case. The
result is that with less code, and less time you obtain a more powerful
Ruby and rails: The regressive framework
Ruby on rails  is so elegant, so easy, so productive. I cannot avoid read
and heard continuously these comments. For example, the article Rolling with
Ruby on Rails Revisited of Bill Walton says:
“What would you think if I told you that you can develop a web application
at least ten times faster with Rails than you can with a typical Java
Oops! Ten times faster!
Well, after these comments I decided to learn Ruby on Rails. I ne... (more)
OpenXava is a framework for Rapid Java Web Development, well-suited for
business and database oriented applications.
OpenXava allows you to develop applications just by writing simple domain
classes with Java or Groovy. The user interface is generated automatically in
runtime, without code generation.
OpenXava 4.6 has some new interesting features such as:
Custom reports generation from list.
It's possible to customize the list mode defining your own editor.
You can assign a model object (an entity or a transient object) directly to a
View to populate it.
In the jUnit tests you ca... (more)
This is a story about creating a user interface easily, or better yet, about
having good user interfaces without working for them.
Once upon a time, you created a really cool invoicing application. Your
wonderful application had an agile MS-DOS (or Unix, or AS/400, or HOST)
character interface, but your users demanded a Windows interface: more
beautiful, and easier to use. So, you rewrote your application to have a
Windows user interface. All OK, but then your users asked you for a
multiplatform application, so you rewrote your application in Java with AWT,
but your ... (more)
OpenXava 3.1.4 is a framework focused in productivity for developing business
Java applications. The idea is that you write only your POJOs annotated with
JPA and you get an application ready for production.
With OpenXava, you only need to write your model, POJOs and Java annotations.
You do not need to write the view, and the controller (for CRUD, printing,
etc) is reused. And from that you'll have an application for CRUD, report
generation in PDF, export to Excel, searching, sorting, validations etc. You
only need to write a simple Java class, no XMLs, no JSPs and no code
The goal of this book is to teach you how to develop Java Enterprise
applications with OpenXava and other Java-related technologies, tools and
frameworks. The way to achieve this goal is developing an application from
scratch, step-by-step, until your application will be complete.
In this book you'll learn, not only OpenXava, but JPA, Eclipse, PostgreSQL,
JUnit, HtmlUnit, Hibernate Validator framework, Liferay, etc. And more
important, you're going to learn techniques to solve common and advanced
cases you'll face developing business applications.
Get the book!