Tuesday, 7 July 2009

Visual JPA with Ajax Push


Bilal Ahamed has put together a tutorial on Using Java Persistence API in a Visual Web ICEfaces framework and NetBeans including Ajax Push.

An interesting variation would be to try the SessionRenderer in this application (instead of the RenderManager APIs that were used). So in init()


    public void init() {
        ...
        SessionRenderer.addCurrentSession("userGroup"); 
    }

And at the end of saveButton_processAction():


public void saveButton_processAction(ActionEvent ae) {
        ...
        SessionRenderer.render("userGroup"); 
    }

Posted by ted.goddard at 3:23 PM in Entries by Ted Goddard

« July »
SMTWTFS
   1234
567891011
12131415161718
19202122232425
262728293031