[hibernate-dev] GitHub repo for demo projects

Brett Meyer brmeyer at redhat.com
Fri May 2 14:19:24 EDT 2014


Gunnar, thanks for getting things started!  I just added my suite (originally from my repo [1]) of ORM demos that I've used in various talks.  Admittedly, a few of them are a bit rough, so I'm definitely up for suggestions from the community!  I added:

Basic: simple comparison between JDBC, ORM, and JPA
Fetching Strategies: "when" (laziness) and "how" (fetch style)
Value Generation: annotations allowing in-memory and DB generated properties, both for INSERT and INSERT/UPDATE actions
Multi-Tenancy: multiple, concurrent databases and clients from a single Hibernate instance
Caching: entity second level cache (2LC) and query cache
Envers: historical/audited data
Spatial: geographical data

[1] https://github.com/brmeyer/HibernateDemos

----- Original Message -----
From: "Gunnar Morling" <gunnar at hibernate.org>
To: "Gunnar Morling" <gunnar at hibernate.org>
Cc: "hibernate-dev" <hibernate-dev at lists.jboss.org>
Sent: Friday, May 2, 2014 5:49:32 AM
Subject: Re: [hibernate-dev] GitHub repo for demo projects

Hi,

I've added our Summit demo on OGM, you can find it at [1].

The demo comes with a thorough README, so if you got a minute and want to
see Hibernate OGM in action (running on WildFly/EAP, locally or on
OpenShift, using Bean Validation, JAX-RS and AngularJS), give it a try.

There are some 3rd party JS/CSS libraries (Angular, Bootstrap etc.) checked
in which don't have the ASF2 license but the MIT license. The file headers
state their license and I've added a note to the main README saying:

    "If not stated otherwise, the demos are licensed under the Apache
License, Version 2.0. Refer to the headers of individual files for specific
license and copyright information, in particular of included library files."

Let me know in case there is a problem with that.

--Gunnar

[1]
https://github.com/hibernate/hibernate-demos/tree/master/hibernate-ogm/hiking-demo


2014-04-29 11:34 GMT+02:00 Gunnar Morling <gunnar at hibernate.org>:

> 2014-04-29 11:19 GMT+02:00 Sanne Grinovero <sanne at hibernate.org>:
>
>> Created https://github.com/hibernate/hibernate-demos
>
>
> Cool, thanks.
>
> License: I've picked ASL2.. I guess that's ok for all our demos?
>>
>
> That seems reasonable to me.
>
>
>>
>> On 29 April 2014 07:00, Gunnar Morling <gunnar at hibernate.org> wrote:
>> > 2014-04-29 7:58 GMT+02:00 Gunnar Morling <gunnar at hibernate.org>:
>> >
>> >> 2014-04-29 0:21 GMT+02:00 Sanne Grinovero <sanne at hibernate.org>:
>> >>
>> >>> Nice idea!
>> >>> we could have each demo in a separate directory and put some
>> >>> description for each in the root readme file.
>> >>
>> >>
>> >> +1
>> >>
>> >>> But also the most polished demos, like if something evolves in being
>> >>> extemely polished and well documented, should eventually be promoted
>> >>> for inclusion in http://www.jboss.org/jdf/ . So I'd consider this
>> more
>> >>> of a lean sandbox, not something too formal? Or do we want to build
>> >>> something to be pointed at from our documentation? That would
>> >>> implicitly require some review and testing process at least.
>> >>
>> >>
>> >> For now I had something rather informal in mind. Just a place where
>> people
>> >> attending one of our talks can go and try out a demo themselves.
>> >>
>> >> Of course individual demos from this "sandbox" may evolve over time
>> into a
>> >> part of JDF or become part of the official documentation. As you say,
>> that'd
>> >> require more polishing and documentation, but also updating to stay in
>> sync
>> >> with the latest versions of our projects.
>> >
>> >
>> > That said, if we agree on the idea, could you create a "hibernate-demos"
>> > repository under the "hibernate" organization? I'm lacking the
>> permission to
>> > do so. I'll then add our demo and the root readme file so others can
>> follow.
>> >
>> >>
>> >>
>> >> --Gunnar
>> >>
>> >>> Sanne
>> >>>
>> >>>
>> >>> On 28 April 2014 16:28, Davide D'Alto <daltodavide at gmail.com> wrote:
>> >>> > +1
>> >>> >
>> >>> >
>> >>> > On Mon, Apr 28, 2014 at 4:03 PM, Brett Meyer <brmeyer at redhat.com>
>> >>> > wrote:
>> >>> >
>> >>> >> +1 from me.  I have several to contribute as well from various ORM
>> >>> >> presentations.
>> >>> >>
>> >>> >> https://github.com/brmeyer/HibernateDemos
>> >>> >>
>> >>> >> ----- Original Message -----
>> >>> >> From: "Gunnar Morling" <gunnar at hibernate.org>
>> >>> >> To: hibernate-dev at lists.jboss.org
>> >>> >> Sent: Monday, April 28, 2014 10:49:19 AM
>> >>> >> Subject: [hibernate-dev] GitHub repo for demo projects
>> >>> >>
>> >>> >> Hi,
>> >>> >>
>> >>> >> Together with Sanne I've been creating a demo app which shows some
>> >>> >> features
>> >>> >> of Hibernate OGM.
>> >>> >>
>> >>> >> Right now this lives under my personal account on GitHub, but IMO
>> it'd
>> >>> >> make
>> >>> >> sense to move it somewhere under https://github.com/hibernate/ to
>> make
>> >>> >> it
>> >>> >> more visible, encourage re-use and contributions by others etc.
>> >>> >>
>> >>> >> What do you think about creating a repo under the hibernate
>> >>> >> organization
>> >>> >> such as "hibernate-demos" which could host this and other demos for
>> >>> >> our
>> >>> >> projects in the future? Or would it even make more sense on a
>> >>> >> per-project
>> >>> >> base ("hibernate-ogm-demos" etc.)?
>> >>> >>
>> >>> >> --Gunnar
>> >>> >>
>> >>> >> [1] https://github.com/gunnarmorling/ogm-hiking-demo
>> >>> >> _______________________________________________
>> >>> >> hibernate-dev mailing list
>> >>> >> hibernate-dev at lists.jboss.org
>> >>> >> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>> >>> >> _______________________________________________
>> >>> >> hibernate-dev mailing list
>> >>> >> hibernate-dev at lists.jboss.org
>> >>> >> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>> >>> >>
>> >>> > _______________________________________________
>> >>> > hibernate-dev mailing list
>> >>> > hibernate-dev at lists.jboss.org
>> >>> > https://lists.jboss.org/mailman/listinfo/hibernate-dev
>> >>> _______________________________________________
>> >>> hibernate-dev mailing list
>> >>> hibernate-dev at lists.jboss.org
>> >>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>> >>
>> >>
>> >
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>
>
>
_______________________________________________
hibernate-dev mailing list
hibernate-dev at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


More information about the hibernate-dev mailing list