Vita Rara: A Life Uncommon

Java Persistence API

Quadran Update


Categories: | | | | |

This has been a very frustrating week. All in all I worked on working. I'm fried. I'm going for ice cream.

Got JBoss, Java Persistance API, Spring and Webwork Playing Nice

Over the past few weeks I've coded the data layer of Quadran using EJB3 (JPA) and making data access object that subclass from Springs JpaDaoSupport class. Coding all of this and getting it deployed on JBoss was fairly straight forward. The interesting part came when I tried to instantiate the DAO's from Spring and inject the EntityManager instance. That was fun. Stay tuned for a HOWTO in the near future.

I also got WebWork mixed into this all. That was actually quite easy. Getting JBoss and Spring to play nicely was the hard part.

Frustrating Days in Quadran Land


Categories: | | | | | |

The past week or so has been one of frustration. It seems like I have been working on working. I've been setting up Spring, and WebWork, creating the skeleton of WebWork action classes. All in all a lot of busy work.

In the course of creating the JPA implementation of our data layer I used the JpaDaoSupport from the Spring framework. This caused some boot strapping issues when I went to get all of this running under JBoss 4.0.4.GA. The persistence archive deployed perfectly, but it was bear from that point out getting the DAO's to work. I think I have it figured out, and will post a HOWTO once I have it all working.

Syndicate content