Java appliction design question
- by ring bearer
Hi
I have a hobby project, which is basically to maintain 'todo' tasks in the way I like.
One task can be described as:
public class TodoItem {
private String subject;
private Date dueBy;
private Date startBy;
private Priority priority;
private String category;
private Status status;
private String notes;
}
as you can imagine I would have 1000 todo items at a given time.
What is the best strategy to store a
todo item? (currently on an XML file)
such that all the items are loaded
quickly up on app start up(the
application shows kind of a dashboard
of all the items at start up)
What is the best way to design its
back-end so that it can be ported to
android/or a J2ME based phone
Currently this is done using java
swing. What should be the concerns so
that it works efficiently on a device
where memory is limited?
Thanks!