Re: Re: help, please
Leo Mekenkamp <[email protected]>
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2004-07-08 at 11:48, Gabi M. wrote: > >First of all, there is less than 24 hours between your mail and an > >almost identical previous mail. A lot of people I know would consider > >this to be very rude and put you on their permanent black-list. > > I am really sorry, I sent the email twice because when I looked at the user list I found > my message was empty. So I think the first time I made a mistake. Sorry again. There was one empty one, send tue 9:09 PM and a 'filled' one, tue 9:10 PM. > >Second, you say you want to use 2 new frameworks and you do not know how or what. I > >have seen projects fail that had only 1 new framework and no sense of direction... > >Third, it is literally impossible to give a good answer to your questions; they are > >overly broad and too vague. The only advice I can give you: > >1a) write decent user requirements > >1b) write acceptance tests > >2) write decent system requirements based on 1) > >3) write a decent design based on 2) > >4) write a prototype (that partially passes 1b)) to test 3) > >5) write app > >Cheers, > >Leo > > I know what I want to do but I am not sure how. I will try to explain it more clearly. > For the jsf part (presentation), I want to use the proxy objects as backing beans but I am > not sure it is the best way. May be there is an an other better design (eg, binding to > other beans). > For the spring part (logic), I will need to access, create, modify, delete... objects in > the database. I plan to use the proxy objects directly as DTOs. Is it a design error? > There is an "incompatibility" with the proxy object concept or implementation. I want to > use spring because I dont want to deal with EJBs and I need some cool features powered by > this framework (IoC, AOP...). > For the ozone part (persistence), I need to link persisted objects with other persisted > objects and other xml persisted files. What is the best way to achieve this? Collections > (arrays, lists, sets...) for objects? An object property containing the URI for xml files? It is literally impossible to give a good answer to your questions; they are overly broad and too vague. The only advice I can give you: 1a) write decent user requirements 1b) write acceptance tests 2) write decent system requirements based on 1) 3) write a decent design based on 2) 4) write a prototype (that partially passes 1b)) to test 3) 5) write app > One new question since yesterday, I want to load or store an object with nested and linked > objects but I dont want the nested or linked objects to be loaded or stored everytime the > enclosing object is accessed. I want it only when the nested or linked object is required > or needed. Ozone only loads (clusters of) objects that are really needed. There is nothing extra you need to do in order to make use of this functionality. > How can I do (I have to use an arraylist)? I read a bit in the faq section of > the tutorial but it didnt help me. Is it solved using the Ozone types > (OzoneArrayList...)? I thought that an array stored the references to other objects not > the linked objects. Is this behaviour due to serialization when retrieving or storing > database objects? > > These questions are certainly obvious for most of you but it is difficult for a beginner > to assimilate all these concepts in a short time. Again, using 1 or more new paradigms in a project while you do not have a clear focus on where to go is a recipe for failure IMHO. Cheers, Leo ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com