[wildfly-dev] Docs & examples to update Hibernate ORM via the (existing) provisioning tool

Sanne Grinovero sanne at hibernate.org
Tue May 15 06:32:27 EDT 2018


Hi all,

while I haven't looked at Galleon yet, we now have guidelines for
Hibernate users wishing to run the very latest Hibernate ORM (Search,
OGM) on WildFly:

 - https://docs.jboss.org/hibernate/orm/5.3/topical/html_single/wildfly/Wildfly.html

Some personal thoughts:
 - the feature packs are awesome
 - having slots (and multiple conflicting versions / layers) is
extremely useful and an advantage over Jigsaw which I hope we'll keep
having
 - it's striking how much Gradle is easier, faster, and more powerful
than Maven: see my examples as I've included fully runnable Gradle
build scripts.

Please don't neglect Gradle's needs and users as it's thriwing in
other communities, while it feels a like second class citizen in the
WildFly ecosystem.
I've done my part by creating the Gradle WildFly Provisioning plugin
mentioned in the docs but I'd like to see more of such things :)


# Many feature packs!

We created lots of feature packs in the Hibernate community; on top of
the Hibernate ORM pack you can find:

Hibernate Search has been split in 5 fine-grained packs:
 - https://docs.jboss.org/hibernate/search/5.10/reference/en-US/html_single/#hibernatesearch-jboss-modules-feature-packs

We also separated into independently released packs some of the
dependencies which people might want to use w/o necessarily pulling in
Hibernate bits:

Elasticsearch client drivers:
 - https://github.com/hibernate/elasticsearch-client-jbossmodules

Extensions to the Elasticsearch integration which are specific for AWS
security requirements:
- https://github.com/hibernate/aws-v4-signer-java-jbossmodules

GSON packaged for WildFly:
 - https://github.com/hibernate/gson-jbossmodules

Lucene, packaged for WildFly:
  - https://github.com/hibernate/lucene-jbossmodules

Hibernate OGM is releasing soon as well and will double this list: one
pack for the main artifact plus one for each NoSQL technology's driver
and dialects.

# What's next?

   Many of the above backs just require wildfly-core, yet Hibernate
ORM requires the "full server" as we need various subsystems such as
JTA and Datasources.

   I hope you'll all make these fine-grained so that in the near
future the Hibernate ORM feature pack could declare a smaller
dependency set?

   Also I'm looking forward to suggestions on what we need to do to
get these e.g. in some kind of catalogue / repository - I'm
understanding Galleon would be able to help with discovery?

Thanks,
Sanne


More information about the wildfly-dev mailing list