Generate an Java-based Ajax-enabled Web App in 5 Minutes

Over the last couple of years there has been a lot of talk about Ruby on Rails and Grails and how easy it is to use them to quickly build an application.  How would you like to be able to have all of that speed of development, but have it in a technology that you already know?  If you are familiar with Struts or JSF, you can use Rev to quickly build an application for you.

Rev is a code generation tool developed by Vgo Software, and it gives you the power to do that.  All you need is a database, a JDBC driver (most of the common ones are provided with Rev out of the box), a JDK of version 1.5 or better and Rev.  Using Rev you’ll be able to generate a completely functional CRUD application based on the tables that you select.  The output can be in a variety of different flavors: JSF, Struts, JSF with AJAX, JDBC, EJB, Hibernate, etc.  Rev also generates ANT build scripts for a variety of popular application servers so you can build and deploy your application directly from the tool.

What good is a CRUD application?  It all depends on what type of application you are building.  For adding testing data or building some Administration screens for a system, the Rev output may be all you need.  If you are building a more complicated system, then maybe the persistence layer is all you need and you can rework most of the UI layer.  All of the source code is available for you to modify as you see fit, so whether it is the final application itself or the basis for something bigger you will always have something to start with.

One of the unique features of Rev is the ability to customize the generation.  Not only can you easily customize the stylesheet from within Rev, but if you want to go deeper you can customize the templates that Rev uses to generate virtually whatever you’d like.  From modifying the JSP pages that get generated to creating a whole new set of templates for a completely different language, you can do it all!  In fact, included with Rev is a set of templates for generating a PHP-based application.

You can download your free trial of Rev at the Vgo Software site.  Also, be sure to sign up for the webinar I will be presenting on June 30th at 11:00 a.m. EST.  During that webinar I will demonstrate how to use Rev and talk about the various output options.

Share/Save/Bookmark

Book Review: Processing XML documents with Oracle JDeveloper 11g

This is a new feature here on Java Hair, a book review. I was recently approached by the publisher of this book who asked if I would be interested in doing a review. The request was quite timely, I thought, since I have recently been working with XML Schema design (check out the XML category).

edfa

“Processing XML documents with Oracle JDeveloper 11g” seems more like the title to a whitepaper than a full-fledged book, but I found that the book actually covers a lot of topics that fall under the XML Processing umbrella.  That, and the fact that JDeveloper documentation can be difficult to come by makes this book a pretty handy addition to your library if you develop with JDeveloper 11g and you are working with XML.

Starting out, the book covers the parsing of XML documents using both the SAX API and the DOM API.  Information that you could get elsewhere, but as the book is JDeveloper 11g specific, it also includes information on how to set up your projects and which libraries you need to include that may or may not be included with your JDeveloper distribution.  Very handy information for someone using JDeveloper.

There is a chapter on using JDeveloper to design an XML Schema, something I could have used a few months ago, actually.  JDeveloper’s visual design feature for XML Schema’s is a great tool and comparable to anything I’ve used with Eclipse and NetBeans.  Following that is a chapter on validating your schema 3 different ways and how to create these projects in JDeveloper.

There are some chapters that I didn’t expect to see in this book, but were quite welcome.  A chapter devoted to transforming XML to PDF, another on transforming XML to MS Excel, storing XML in Oracle Berkeley DB XML and even a chapter on Oracle XML Publisher.

So all in all, despite the self-imposed limitation of XML and JDeveloper, the author, Deepak Vohra, has managed to cram in some very useful topics into his book.  Though some of it isn’t really JDeveloper specific, he does makes it relevant by walking thru setting up each project in JDeveloper as well as building and running the subsequent applications in JDeveloper.

The writing style is very dry, much like you’d probably expect from a reference book, and it should be treated as such, it isn’t something that you are going to want to sit down and read in one sitting.  However, if you have work to do in XML and you are considering using or already using JDeveloper as your IDE, I would definitely recommend picking it up.

You can find the book on virtually any online bookstore or on the publisher’s website: Packt Publishing.

Share/Save/Bookmark