See: https://jasondl.ee/2023/myfaces-4-on-wildfly
/usr/local/Cellar/wildfly-as/galleon-5.2.2.Final/bin/galleon.sh install \
org.wildfly:wildfly-myfaces-feature-pack:2.0.0.Final \
--dir=wildfly-preview-32.0.0.Beta1 \
--config=standalone-full.xml \
--layers=myfaces
grep myfaces wildfly-preview-32.0.0.Beta1/standalone/configuration/standalone-full.xml
<subsystem xmlns="urn:jboss:domain:jsf:1.1" default-jsf-impl-slot="myfaces"/>
From 2007 I have been using 'Hibernate Object/Relational Mapping' (ORM) with MySQL. I started a contract in 2015 at RS Components (RS) who wanted to use a NoSQL database 'Proof of Concept' (PoC). As RS were big (JBoss &) WildFly users we decided to deploy EJBs for access with Entities, using MongoDB as the NoSQL. I decided to use 'Hibernate Object/Grid Mapper' (OGM) and it worked extremely well.
In August 2019 I started a project for a Publisher, again using MongoDB with Hibernate OGM 5.4.1.Final (December 2018). In October 2020 we investigated upgrading to Jakarta EE 9 version (WildFly 21.0.0.Final), trying to get OGM to work with Jakarta EE 9. Unfortunately "Hibernate was not maintained anymore"! I finally got confirmation from RedHat: https://hibernate.org/ogm/releases/5.4/
After a few failed attempts with 'EclipseLink' and the pure MongoDB Driver with BSON I think I've found the solution with 'Morphia' - Object-Directory Mapping. Morphia is a wrapper around the Java driver for MongoDB see: https://www.mongodb.com/languages/morphia
Built & Deployed by Gradle on WildFly
// EJB
final Datastore datastore = Morphia.createDatastore(MongoClients.create(), "goStopHandleDB");
Java, lying between Sumatra and Bali, is a volcano-dotted island that’s at the geographic and economic center of Indonesia, and home to more than half its people. Java’s largest city is modern, sprawling Jakarta, the nation’s capital.
Kotlin is a Russian island, located near the head of the Gulf of Finland, 32 kilometres west of Saint Petersburg in the Baltic Sea. Kotlin separates the Neva Bay from the rest of the gulf.
"Code from two Islands" (C) 1991-2024 NOTiFY Ltd.
© 1991-2024 NOTiFY Ltd.