You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Jeremy Quinn <je...@media.demon.co.uk> on 2003/08/14 18:19:10 UTC
Flow + Hibernate sample offer
Dear All,
I have just been given permission by my client inIVA.org to open source
the application I have been writing for them for editing their SQL
dataset (their Archive on http://www.iniva.org/archive).
My hope is that this could constitute a sample of working with
FlowScript + JX + Hibernate. It would not be otherwise useful to
anyone, because it all depends on inIVA's copious data (which would
obviously not be supplied).
I would either supply the App as a .gzip download, or maybe from the
private CVS I use.
I imagine I would put a page on the wiki to alert people of the
existence of the sample, with a link to the download.
So, some questions ....
what do you think, is this a good idea?
should/can I add the Apache license to it?
does it matter that I used my own form-framework, not Woody, JXForm
etc.?
would anyone care to peer-review it (to check I have used good
practises) before release?
should I publish it with a test dataset, so the jUnit tests work (if
so, how)?
are there any other issues I have not thought of?
Thanks for your feedback
regards Jeremy
Re: Flow + Hibernate sample offer
Posted by Jeremy Quinn <je...@media.demon.co.uk>.
On Friday, August 15, 2003, at 04:37 PM, Sylvain Wallez wrote:
> Steven Noels wrote:
>
>> Vadim Gritsenko wrote:
>>
>>> I meant your code (if any) which has imports of hybernate packages.
>>> I'm not sure that it can have ASL/BSD license.
>>
>>
>> If it's stored in Apache CVS and redistributed with Cocoon, it can't.
>>
>> Outside Apache, you can't add "(c) ASF" anyhow, since you're
>> operating on your own, but you are perfectly free to copy the license
>> verbatim, change it into (c) Jeremy and import/invoke LGPL'ed method
>> signatures.
>
>
> Yep. That's what I did with the CVSSource licence (see for example [1])
>
> Sylvain
>
> [1]
> http://cvs.cocoondev.org/cgi-bin/viewcvs.cgi/cvssource/src/java/com/
> anwrt/cocoon/cvssource/source/
> CVSSource.java?rev=1.2&cvsroot=cvssource&content-type=text/
> vnd.viewcvs-markup
Thanks Guys
regards Jeremy
Re: Flow + Hibernate sample offer
Posted by Sylvain Wallez <sy...@anyware-tech.com>.
Steven Noels wrote:
> Vadim Gritsenko wrote:
>
>> I meant your code (if any) which has imports of hybernate packages.
>> I'm not sure that it can have ASL/BSD license.
>
>
> If it's stored in Apache CVS and redistributed with Cocoon, it can't.
>
> Outside Apache, you can't add "(c) ASF" anyhow, since you're operating
> on your own, but you are perfectly free to copy the license verbatim,
> change it into (c) Jeremy and import/invoke LGPL'ed method signatures.
Yep. That's what I did with the CVSSource licence (see for example [1])
Sylvain
[1]
http://cvs.cocoondev.org/cgi-bin/viewcvs.cgi/cvssource/src/java/com/anwrt/cocoon/cvssource/source/CVSSource.java?rev=1.2&cvsroot=cvssource&content-type=text/vnd.viewcvs-markup
--
Sylvain Wallez Anyware Technologies
http://www.apache.org/~sylvain http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance - http://www.orixo.com
Re: Flow + Hibernate sample offer
Posted by Steven Noels <st...@outerthought.org>.
Vadim Gritsenko wrote:
> I meant your code (if any) which has imports of hybernate packages. I'm
> not sure that it can have ASL/BSD license.
If it's stored in Apache CVS and redistributed with Cocoon, it can't.
Outside Apache, you can't add "(c) ASF" anyhow, since you're operating
on your own, but you are perfectly free to copy the license verbatim,
change it into (c) Jeremy and import/invoke LGPL'ed method signatures.
You might however inform your users that the no-strings-attached
redistribution clause of ASF/BSD-style licenses isn't necesseraly
compatible with clause 6 of the LGPL license, and that the FSF goes at
length in denying the existence of this problem.
If the Hibernate peeps change the license for their API, that's
something entirely different.
</Steven>
--
Steven Noels http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at http://blogs.cocoondev.org/stevenn/
stevenn at outerthought.org stevenn at apache.org
Re: Flow + Hibernate sample offer
Posted by Vadim Gritsenko <va...@verizon.net>.
Jeremy Quinn wrote:
>
> On Thursday, August 14, 2003, at 06:29 PM, Vadim Gritsenko wrote:
>
>> Jeremy Quinn wrote:
>
...
>>> should/can I add the Apache license to it?
>>
>>
>>
>> Not sure that this is possible due to bindings to LGPL code.
>
>
> Sorry I meant, should I be adding the Apache license to the Java and
> Flowscript *I* wrote for project, (not add it to Hibernate code).
I meant your code (if any) which has imports of hybernate packages. I'm
not sure that it can have ASL/BSD license.
Vadim
Re: Flow + Hibernate sample offer
Posted by Jeremy Quinn <je...@media.demon.co.uk>.
On Thursday, August 14, 2003, at 06:29 PM, Vadim Gritsenko wrote:
> Jeremy Quinn wrote:
>
>> Dear All,
>
> ...
>
>> My hope is that this could constitute a sample of working with
>> FlowScript + JX + Hibernate. It would not be otherwise useful to
>> anyone, because it all depends on inIVA's copious data (which would
>> obviously not be supplied).
>>
>> I would either supply the App as a .gzip download, or maybe from the
>> private CVS I use.
>
>
> Try cocoondev.org
good idea
>
>
>> I imagine I would put a page on the wiki to alert people of the
>> existence of the sample, with a link to the download.
>>
>> So, some questions ....
>>
>> what do you think, is this a good idea?
>
>
> Yes
Good ;)
>> should/can I add the Apache license to it?
>
>
> Not sure that this is possible due to bindings to LGPL code.
Sorry I meant, should I be adding the Apache license to the Java and
Flowscript *I* wrote for project, (not add it to Hibernate code).
>> does it matter that I used my own form-framework, not Woody,
>> JXForm etc.?
>
>
> I think use of JXForm (this is the one which is official today?) will
> be much better than homegrown solution.
:-)))
JXForm was the first one I tried, it just did not suit what I wanted to
do ..... Woody was off my radar ..... (bad timing ....)
I use JXTemplateGenerator for views, but my own Form interface for
handling the interaction between Persistable Beans and the front-end.
ie the Form contains the "HTML-Centric" version of the Bean's content,
knows how to translate between them, validates etc. :
public interface Form {
/** Populate the Form from incoming Request Parameters */
public void populate(FOM_Cocoon cocoon);
/** Update the Model from the Form */
public void update();
/** Validate the data in the Form */
public void validate();
/** Get the Form's Errors */
public Map getErrors () ;
/** Set the Form's Errors */
public void setErrors (Map errors) ;
/** Does the Form have Errors? */
public boolean hasErrors () ;
/** Set the Form's Model Bean */
public void setModel (Persistable model) ;
/** Get the Form's Model Bean */
public Persistable getModel () ;
}
>> would anyone care to peer-review it (to check I have used good
>> practises) before release?
>
>
> Not me
:-(
>> should I publish it with a test dataset, so the jUnit tests work
>> (if so, how)?
>
>
> How would you run it if there is no test data? I think you should
> include some data.
You are right .... I need to bite the bullet and make a unit test (or
something) that builds and populates Tables with test data.
Thanks for the feedback
regards Jeremy
Re: Flow + Hibernate sample offer
Posted by Vadim Gritsenko <va...@verizon.net>.
Jeremy Quinn wrote:
> Dear All,
...
> My hope is that this could constitute a sample of working with
> FlowScript + JX + Hibernate. It would not be otherwise useful to
> anyone, because it all depends on inIVA's copious data (which would
> obviously not be supplied).
>
> I would either supply the App as a .gzip download, or maybe from the
> private CVS I use.
Try cocoondev.org
> I imagine I would put a page on the wiki to alert people of the
> existence of the sample, with a link to the download.
>
> So, some questions ....
>
> what do you think, is this a good idea?
Yes
> should/can I add the Apache license to it?
Not sure that this is possible due to bindings to LGPL code.
> does it matter that I used my own form-framework, not Woody,
> JXForm etc.?
I think use of JXForm (this is the one which is official today?) will be
much better than homegrown solution.
> would anyone care to peer-review it (to check I have used good
> practises) before release?
Not me
> should I publish it with a test dataset, so the jUnit tests work
> (if so, how)?
How would you run it if there is no test data? I think you should
include some data.
Vadim
Re: Flow + Hibernate sample offer
Posted by Stefano Mazzocchi <st...@apache.org>.
On Friday, Aug 15, 2003, at 14:45 Europe/Rome, Vadim Gritsenko wrote:
> Jeremy Quinn wrote:
>
>>
>>> BTW: The Hibernate guys are now aware of the license problem, and
>>> seem to be
>>> willing to offer their api under a less restrictive license.
>>
>>
>> That is good news ...
>
>
> Some BSD-like license for redistributing their binary code would be
> just what we need. We don't need BSD-like license for their source
> code, it still could be (L)GPL.
You can't release a binary with an open source license and the code
with another one. it's just plain silly to call open source a binary,
don't you think?
--
Stefano.
Re: Flow + Hibernate sample offer
Posted by Vadim Gritsenko <va...@verizon.net>.
Jeremy Quinn wrote:
>
>> BTW: The Hibernate guys are now aware of the license problem, and
>> seem to be
>> willing to offer their api under a less restrictive license.
>
>
> That is good news ...
Some BSD-like license for redistributing their binary code would be just
what we need. We don't need BSD-like license for their source code, it
still could be (L)GPL.
Or they can dual-license the whole thing if they wish.
Vadim
Re: Flow + Hibernate sample offer
Posted by Steven Noels <st...@outerthought.org>.
Jeremy Quinn wrote:
>> But I suggest you create a Wiki page and add your example as a zip
>> file to
>> this page. Instead of having links to your own CVS.
>
>
> or cocoondev as Vadim suggested ..... who do I approach for cocoondev ?
Me. I'm a bit swamped ATM, but will try and follow up ASAP.
Hm. Maybe it doesn't warrant a full 'project' on its own, with separate
mailing list and CVS module and all that. I might as well make a general
purpose CVS module for license-incompatible Cocoon-related scratchpad
thingies on cocoondev.org, and give anyone who wants commit access.
Will think some more!
</Steven>
--
Steven Noels http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at http://blogs.cocoondev.org/stevenn/
stevenn at outerthought.org stevenn at apache.org
Re: Flow + Hibernate sample offer
Posted by Jeremy Quinn <je...@media.demon.co.uk>.
On Thursday, August 14, 2003, at 08:26 PM, Hugo Burm wrote:
> Yes, I am interested.
>
> But I suggest you create a Wiki page and add your example as a zip
> file to
> this page. Instead of having links to your own CVS.
or cocoondev as Vadim suggested ..... who do I approach for cocoondev ?
> I am interested because I walked the same road as you did.
well ... I found your examples a helpful start ....
> Just like you, I found out that I could not do some things with the
> JXForms
> framework. You created your own form-framework solution. I am looking
> into
> Woody which has a lot of hooks to insert your own solution. But this
> takes a
> lot of time to invest. So when you have to deliver something before
> the end
> of the month...
Starting the project now, I would probably have used woody .... just
bad timing ....
> Anyway, I am interested in your solution.
You want to wait for a cleaned up version, or are you in a hurry ?
> BTW: The Hibernate guys are now aware of the license problem, and seem
> to be
> willing to offer their api under a less restrictive license.
That is good news ...
regards Jeremy
RE: Flow + Hibernate sample offer
Posted by Hugo Burm <hu...@xs4all.nl>.
Yes, I am interested.
But I suggest you create a Wiki page and add your example as a zip file to
this page. Instead of having links to your own CVS.
I am interested because I walked the same road as you did.
Just like you, I found out that I could not do some things with the JXForms
framework. You created your own form-framework solution. I am looking into
Woody which has a lot of hooks to insert your own solution. But this takes a
lot of time to invest. So when you have to deliver something before the end
of the month...
Anyway, I am interested in your solution.
BTW: The Hibernate guys are now aware of the license problem, and seem to be
willing to offer their api under a less restrictive license.
Hugo
> -----Original Message-----
> From: Jeremy Quinn [mailto:jeremy@media.demon.co.uk]
> Sent: Thursday, August 14, 2003 6:19 PM
> To: dev@cocoon.apache.org
> Subject: Flow + Hibernate sample offer
>
>
> Dear All,
>
> I have just been given permission by my client inIVA.org to open source
> the application I have been writing for them for editing their SQL
> dataset (their Archive on http://www.iniva.org/archive).
>
> My hope is that this could constitute a sample of working with
> FlowScript + JX + Hibernate. It would not be otherwise useful to
> anyone, because it all depends on inIVA's copious data (which would
> obviously not be supplied).
>
> I would either supply the App as a .gzip download, or maybe from the
> private CVS I use.
>
> I imagine I would put a page on the wiki to alert people of the
> existence of the sample, with a link to the download.
>
> So, some questions ....
>
> what do you think, is this a good idea?
> should/can I add the Apache license to it?
> does it matter that I used my own form-framework, not Woody, JXForm
> etc.?
> would anyone care to peer-review it (to check I have used good
> practises) before release?
> should I publish it with a test dataset, so the jUnit tests
> work (if
> so, how)?
> are there any other issues I have not thought of?
>
>
> Thanks for your feedback
>
> regards Jeremy
>
>