RE: Can I use Hibernate with Jetspeed 2 ??

2005-01-24 Thread joe hobson
Amit, can you send me that zip file again, off-list? I missed this post, 
just found it in the mail-archives. Would like to play with a Hibernate 
portlet sample, and would be willing to contribute back if i came up 
with anything. Thanks. ... .joe

   Attached is the sample Hibernate application that I have written.
   Like I said, it is very simple portlet with a submit button. When
   you click submit button, it selects all the records from "CLUBS"
   table on HSQL (it comes with jetspeed 2) and system.out's the
   records on console or catalina.out.
   I have not attached any of the hibernate libraries for size purpose.
   But you would need those jar files. Go to
   http://caveatemptor.hibernate.org/ and download the sample
   application and copy all the jar files from their lib to WEB-INF/lib
   of this tar file. Make a war file out of it, and just deploy it in
   the deploy directory of your jetspeed.
Include this in your default.psml so that you can view this portlet.
  
  
  
  
Let me know if any questions !!!
Cheers,
Amit
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Can I use Hibernate with Jetspeed 2 ??

2005-01-19 Thread Scott T. Weaver
You can use Hibernate to create your own portlet applications, that's 
fine, well fine as long as  you don't plan on donating them to Apache.  
You could also easily replace the current O/R layer in Jetspeed 2 with 
Hibernate as it is using Spring for that, again, that is only if you do 
not plan on donating your changes back to Apache.  Apache legal decided 
many moons ago that the LGPL, per their interpretation, is incompitable 
with the ASL.  They site that there is a clause in the LGPL that could 
allow LGPL'd code to virulent infect an end-user's proprietary code, 
legally converting said code proprietary to LGPL code.

As for me, I hate this!  I like Hibernate and use it for many apps.  I 
also feel that we (Apache developers) loose out on choosing to use 
certain OS projects do to this interpretation of the LGPL

Jonathan Hawkins wrote:
What is the issue with the licences.
Thanks
Jon Hawkins
David Sean Taylor wrote:
Shah Amit wrote:
Hi all,
I tried to look up on google, but only found an article dated back 
in May that J2 will soon have Hibernate support.

I would like to know if I can use Hibernate with J2. I dont know the 
best way to architect this, but if J2 doeesnot provide any inbuilt 
support and I have to write everything in my application, I guess 
that is fine too.

The Apache license is not compatible with Hibernates license.
Thus we cannot use Hibernate in Jetspeed-2.
However you are free to use Hibernate in your portlet applications or 
component implementations.

I downloaded the code from CVS on 17th Jan. and there was a DB 
Browser application in that, but that doesnot work, and it probably 
looks like it is still not finished, and also it doesnot user 
Hibernate I think.

The DB Browser should work fine.
Let me know if it doesn't.
Again, its in an Apache CVS. Can't use Hibernate.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
"Great minds discuss ideas. Average minds discuss events. Small minds discuss 
people."  - Admiral Hyman Rickover
***
*   Scott T. Weaver   *
* <[EMAIL PROTECTED]> *
* *
* --  *
*   Apache Jetspeed Enterprise Portal *
* Apache Pluto Portlet Container  *
* *
* OpenEdit, Website Content Management*
*    *
***
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Can I use Hibernate with Jetspeed 2 ??

2005-01-18 Thread Shah Amit
Attached is the sample Hibernate application that I have written. Like I 
said, it is very simple portlet with a submit button. When you click submit 
button, it selects all the records from "CLUBS" table on HSQL (it comes with 
jetspeed 2) and system.out's the records on console or catalina.out.

I have not attached any of the hibernate libraries for size purpose. But you 
would need those jar files. Go to http://caveatemptor.hibernate.org/ and 
download the sample application and copy all the jar files from their lib to 
WEB-INF/lib of this tar file. Make a war file out of it, and just deploy it 
in the deploy directory of your jetspeed.

Include this in your default.psml so that you can view this portlet.
   
   
   
   
Let me know if any questions !!!
Cheers,
Amit
Original Message Follows
From: "Han, Richard" <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: "Jetspeed Users List" 
Subject: RE: Can I use Hibernate with Jetspeed 2 ??
Date: Tue, 18 Jan 2005 15:00:48 -0700
I'm definitely interested to see your codes! (I just asked for the sample
code today). I have some experience using turbine/velocity, a have tried
hibernate briefly. I just need some sample codes to get me started (built &
deployed)
Thanks!
Richard
-Original Message-
From: Shah Amit [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 18, 2005 2:56 PM
To: jetspeed-user@jakarta.apache.org
Subject: Re: Can I use Hibernate with Jetspeed 2 ??
I have written a very simple portlet that uses hibernate on the backend to
connect to DB with c3p0 connection pool. The portlet is very very simple.
Just has a submit button on the front and when you click that button, it
selects all records from a "table" and System.out's the records on console
(or catalina.out). (I am working on making it do more as I get time)
The "table" is the "clubs" table of the Database browser application that is
shipped with jetspeed.
Also I have used the "Thread Local Session" pattern at a very simple level
which is sugggested by hibernate.
I would like to share the portlet if anyone is interested. This way I can
share the work and get more suggestions towards my approach.
Please let me know if anyone is interested. I dont know if I can simply mail
the portlet in a zip file attachment on this mailing list under this thread.
Regards,
Amit
Original Message Follows
From: David Sean Taylor <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: Jetspeed Users List 
Subject: Re: Can I use Hibernate with Jetspeed 2 ??
Date: Tue, 18 Jan 2005 13:06:18 -0800
Jonathan Hawkins wrote:
>What is the issue with the licences.
>
see:
http://www.apache.org/licenses/GPL-compatibility.html
Again, you can use Jetspeed and Hibernate together in your projects.
No problem there.
We simply can't checkin code into the Apache repository that has imports
from Hibernate.
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Can I use Hibernate with Jetspeed 2 ??

2005-01-18 Thread Han, Richard
I'm definitely interested to see your codes! (I just asked for the sample
code today). I have some experience using turbine/velocity, a have tried
hibernate briefly. I just need some sample codes to get me started (built &
deployed)
Thanks!

Richard

-Original Message-
From: Shah Amit [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 18, 2005 2:56 PM
To: jetspeed-user@jakarta.apache.org
Subject: Re: Can I use Hibernate with Jetspeed 2 ??


I have written a very simple portlet that uses hibernate on the backend to 
connect to DB with c3p0 connection pool. The portlet is very very simple. 
Just has a submit button on the front and when you click that button, it 
selects all records from a "table" and System.out's the records on console 
(or catalina.out). (I am working on making it do more as I get time)

The "table" is the "clubs" table of the Database browser application that is 
shipped with jetspeed.

Also I have used the "Thread Local Session" pattern at a very simple level 
which is sugggested by hibernate.

I would like to share the portlet if anyone is interested. This way I can 
share the work and get more suggestions towards my approach.

Please let me know if anyone is interested. I dont know if I can simply mail 
the portlet in a zip file attachment on this mailing list under this thread.

Regards,
Amit

Original Message Follows
From: David Sean Taylor <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: Jetspeed Users List 
Subject: Re: Can I use Hibernate with Jetspeed 2 ??
Date: Tue, 18 Jan 2005 13:06:18 -0800

Jonathan Hawkins wrote:
>What is the issue with the licences.
>
see:

http://www.apache.org/licenses/GPL-compatibility.html

Again, you can use Jetspeed and Hibernate together in your projects.
No problem there.
We simply can't checkin code into the Apache repository that has imports 
from Hibernate.


--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Can I use Hibernate with Jetspeed 2 ??

2005-01-18 Thread Shah Amit
I have written a very simple portlet that uses hibernate on the backend to 
connect to DB with c3p0 connection pool. The portlet is very very simple. 
Just has a submit button on the front and when you click that button, it 
selects all records from a "table" and System.out's the records on console 
(or catalina.out). (I am working on making it do more as I get time)

The "table" is the "clubs" table of the Database browser application that is 
shipped with jetspeed.

Also I have used the "Thread Local Session" pattern at a very simple level 
which is sugggested by hibernate.

I would like to share the portlet if anyone is interested. This way I can 
share the work and get more suggestions towards my approach.

Please let me know if anyone is interested. I dont know if I can simply mail 
the portlet in a zip file attachment on this mailing list under this thread.

Regards,
Amit
Original Message Follows
From: David Sean Taylor <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: Jetspeed Users List 
Subject: Re: Can I use Hibernate with Jetspeed 2 ??
Date: Tue, 18 Jan 2005 13:06:18 -0800
Jonathan Hawkins wrote:
What is the issue with the licences.
see:
http://www.apache.org/licenses/GPL-compatibility.html
Again, you can use Jetspeed and Hibernate together in your projects.
No problem there.
We simply can't checkin code into the Apache repository that has imports 
from Hibernate.

--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Can I use Hibernate with Jetspeed 2 ??

2005-01-18 Thread David Sean Taylor
Jonathan Hawkins wrote:
What is the issue with the licences.
see:
http://www.apache.org/licenses/GPL-compatibility.html
Again, you can use Jetspeed and Hibernate together in your projects.
No problem there.
We simply can't checkin code into the Apache repository that has imports 
from Hibernate.

--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Can I use Hibernate with Jetspeed 2 ??

2005-01-18 Thread Jonathan Hawkins
What is the issue with the licences.
Thanks
Jon Hawkins
David Sean Taylor wrote:
Shah Amit wrote:
Hi all,
I tried to look up on google, but only found an article dated back in 
May that J2 will soon have Hibernate support.

I would like to know if I can use Hibernate with J2. I dont know the 
best way to architect this, but if J2 doeesnot provide any inbuilt 
support and I have to write everything in my application, I guess 
that is fine too.

The Apache license is not compatible with Hibernates license.
Thus we cannot use Hibernate in Jetspeed-2.
However you are free to use Hibernate in your portlet applications or 
component implementations.

I downloaded the code from CVS on 17th Jan. and there was a DB 
Browser application in that, but that doesnot work, and it probably 
looks like it is still not finished, and also it doesnot user 
Hibernate I think.

The DB Browser should work fine.
Let me know if it doesn't.
Again, its in an Apache CVS. Can't use Hibernate.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Can I use Hibernate with Jetspeed 2 ??

2005-01-18 Thread David Sean Taylor
Shah Amit wrote:
Hi all,
I tried to look up on google, but only found an article dated back in 
May that J2 will soon have Hibernate support.

I would like to know if I can use Hibernate with J2. I dont know the 
best way to architect this, but if J2 doeesnot provide any inbuilt 
support and I have to write everything in my application, I guess that 
is fine too.

The Apache license is not compatible with Hibernates license.
Thus we cannot use Hibernate in Jetspeed-2.
However you are free to use Hibernate in your portlet applications or 
component implementations.

I downloaded the code from CVS on 17th Jan. and there was a DB Browser 
application in that, but that doesnot work, and it probably looks like 
it is still not finished, and also it doesnot user Hibernate I think.

The DB Browser should work fine.
Let me know if it doesn't.
Again, its in an Apache CVS. Can't use Hibernate.
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Can I use Hibernate with Jetspeed 2 ??

2005-01-16 Thread Shah Amit
Hi all,
I tried to look up on google, but only found an article dated back in May 
that J2 will soon have Hibernate support.

I would like to know if I can use Hibernate with J2. I dont know the best 
way to architect this, but if J2 doeesnot provide any inbuilt support and I 
have to write everything in my application, I guess that is fine too.

I downloaded the code from CVS on 17th Jan. and there was a DB Browser 
application in that, but that doesnot work, and it probably looks like it is 
still not finished, and also it doesnot user Hibernate I think.

Please advise !!!
Thanks,
Amit

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]