Over a million developers have joined DZone.

jPersist 3.2.7 and jWebApp 4.8.7: Simple Web and ORM Framework Alternatives

DZone's Guide to

jPersist 3.2.7 and jWebApp 4.8.7: Simple Web and ORM Framework Alternatives

· ·
Free Resource

This release fixes a high profile problem that caused the following exception:

jpersist.JPersistException: Column 'a.column' not found.  
at jpersist.Result.getColumnValue(Result.java:1282)

Everyone using these open-source projects should upgrade to the latest version.


Getting Started

jWebApp and jPersist provide a simple alternative to other Java frameworks and RAILs, but don't let the following fool you, there is a ton of functionality provided with jWebApp and jPersist.

jWebApp and jPersist make web development as easy as defining a simple Java class:

    public class Customer extends RequestHandler
public String processGetCustomer(ServerInterface serverInterface)
String customerId = serverInterface.getParameter(“customerId”);
Customer customer = jpersist.loadObject(new Customer(customerId));

serverInterface.setAttribute("customer", customer);

return "/WEB-INF/customer.jsp";

...and creating a view with plain HTML and your favorite template markup (JSP, Velocity, etc):

    <div align="center">
<h3>Customer ${customer.firstName}, ${customer.lastName}</h3>

...and then calling:


The following servlet configuration is all that is needed:



That's it! No other XML, annotation, or configuration is needed!

Is there an easier way?


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}