Re: examples and issues
"Shash Chatterjee" <[email protected]>
| Newsgroups | gmane.comp.java.keel.user |
|---|---|
| Message-ID | <[email protected]> |
Machiel,
> I'm trying to write an application using Keel. So far I've created a
> prompter and process model and an entity.
>
> I want to continue on the Keel road, but there is a serious lack of
> documentation and (even more important) examples. I saw a post on
> creating a demo app in SF and stimulate documentation. I'm willing
> to contribute to both.
>
Agree strongly on the docs, and welcome any help you can provide us. Mainly
what we can do is answer your questions to help you along with your
udnerstanding of Keel. Feel free to ask more questions, sooner or later
you'll get an answer. If you check out the keel-doc module in CVS, there's a
lot of doc that needs to be brought up to date, but it is a good source
nonetheless.
I don't agree, however, on the examples. app-poll and app-hoj are meant
primarily as examples and tutorials. app-crud, app-security, app-register
provide essential functionality to Keel, but are also meant to show examples.
What is it exactly that you are looking for? I wish I could wave the magic
wand and generate docs, but it a'int gonna happen :-) I'd say ask specific
questions, we'll try to help out.
> But as I'm just a novice I have some issues of my own. First of all,
> I'm not sure about the integration of Hibernate with Keel
> persistence. I just using hibernate xdoclet tags is clearly not
> enough. So at least some @persist tags need te be present. But the
> generic tags seem to be limited. I'm used to creating a
> relationships in Hibernate, so I can have a entity-bean where fields
> can be other beans.
>
> For example (Person and House are both persistable):
> public class Person
> {
> private House house;
> public get/setHouse();
> }
Keel doesn't support this, AFAIK. What you have to do is create two sepearte
beans/persistents for Person, House and call the setHouse of Person yourself.
If you have to have this, wanna take a shot at extending the Persistent class
to do this?
Shash