Parsing PARS
I've been working on parsing last year's PAR (a Word document) so that the goals it contains can be ingested into the database. This means wrapping the Word converter Antiword. and calling from Java and then searching the text for marker text that surrounds the goals.
Posted on Fri, 30 Mar 2007 Tags: par
Supervisor/Employee problem
I worked all day on the supervisor-employee problem, first reading the Hibernate book and later trying to write the code. Here's my sketch to solving the problem:
public class Paruser {
// add these to existing paruser class
private Supervisor supervisor;
public void setSupervisor (Supervisor supervisor) {
this.supervisor = supervisor;
}
public Supervisor getSupervisor () {
return supervisor;
}
}
<class name="Paruser" table="paruser">
<!-- all the properties of paruser, plus: -->
<many-to-one name="supervisor" column="supervisorid"
class="Supervisor" not-null="true" />
</class>
public class Supervisor extends Paruser {
private Set employees = new TreeHashSet();
public void setEmployees (Set employees) {
this.employees = employees;
}
public Set getEmployees () {
return this.employees;
}
public void addEmployee (Paruser employee) {
employee.setSupervisor((this);
employees.add(paruser);
}
}
<class name="Supervisor" table="paruser">
<!-- all the properties of paruser, plus: -->
<set name="employees" inverse="true"
order-by="lastname asc">
<key column="supervisorid" />
<one-to-many class="Paruser" />
</set>
</class>
Posted on Wed, 28 Mar 2007 Tags: par
Scheduling
I finalized the WBS for the PAR Automation Project and then used it to create a preliminary PAR. Some of the time estimates are off, so the schedule will need to be revised. I also worked with grep on the supervisor/employee relation in the code.
Posted on Tue, 27 Mar 2007 Tags: par
Managing
I finished up the WBS, but wasn't able to do a schedule because I don't seem to have Microsoft Project installed. I started setting up a development environment parallel to Greg's on my PC.
Posted on Mon, 26 Mar 2007 Tags: par
Management
I worked on the PAR WBS and held a meeting with Sandy and Greg on the subject. I also did some more work with Greg on the authorization code.
Posted on Fri, 23 Mar 2007 Tags: par
The long slog
I did more work with Greg on implementation strategy for the PAR rework and talked with Joe Polizzi about the Web Roadmap, along with the rest of our group. I also sent a preliminary WBS to Steve, Greg, and Sandy.
Posted on Thu, 22 Mar 2007 Tags: par
Study and Work
I read more of the Mastering Java Server Faces book, skipping to the good stuff (the worked examples.) I put together a preliminary WBS. And I worked with Greg of the problem of retrieving the parid for a request.
Posted on Wed, 21 Mar 2007 Tags: par
Study
I got my new "Masreing Javaserver Faces" book, which covers JSF and Hibernate. So I've been reading that. Yesterday I was on jury duty.
Posted on Tue, 20 Mar 2007 Tags: par
Debugging
I worked with Greg to try to resolve the problem we were having updating a PAR, which has to do with the relationship between the JSF managed bean and the Hibernate persistent object. We determined that things worked if the manage bean was written as a wrapper class with one attribute whose value was a Hibernate persistent object. We're having problems handling our list of PARs which we hope can be resolved by similar code.
Posted on Fri, 16 Mar 2007 Tags: par
More Study
Today was a repeat of yesterday. I studied the Hibernate docs and worked with Greg solving coding problems.
Posted on Thu, 15 Mar 2007 Tags: par