In a few short steps, the following blog entry illustrates how to create an end-to-end call from a browser application using jMaki/Ajax to a back-end using the Java Persistence API, while leveraging NetBeans and Glassfish. Read Carol McDonalds's blog post on using jMaki and the Java Persistence API: http://weblogs.java.net/blog/caroljmcdonald/archive/2008/02/dynamic_ajax_ta.html