-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Example for Hibernate OGM MongoDB WildFly and JSF2
PostPosted: Tue Jan 20, 2015 12:57 pm 
Newbie

Joined: Thu Nov 13, 2014 8:49 am
Posts: 9
I am new to Hibernate OGM. Could someone point to a example code connecting to MongoDB using Hibernate OGM and deployed to WildFly 8.2.0.


Top
 Profile  
 
 Post subject: Re: Example for Hibernate OGM MongoDB WildFly and JSF2
PostPosted: Wed Jan 21, 2015 3:45 am 
Hibernate Team
Hibernate Team

Joined: Sat Jan 24, 2009 12:46 pm
Posts: 388
Hi,

Yes, checkout this demo:

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

This runs on WildFly, using MongoDB as backend. The frontend is JAX-RS + AngularJS, so no JSF2, but that doesn't make a difference as far as the persistence layer is concerned.

Also check out what the reference guide has to say on WildFly deployments:

https://docs.jboss.org/hibernate/ogm/4.1/reference/en-US/html_single/#ogm-configuration-jbossmodule.

Finally, you might be interested in this post which describes step by step how to get started with Hibernate OGM + Neo4j/MongoDB:

http://in.relation.to/Bloggers/NoSQLWithHibernateOGM101PersistingYourFirstEntities

Just let me know in case you need any further help or resources.

--Gunnar

_________________
Visit my blog at http://musingsofaprogrammingaddict.blogspot.com/


Top
 Profile  
 
 Post subject: Re: Example for Hibernate OGM MongoDB WildFly and JSF2
PostPosted: Wed Jan 21, 2015 10:44 am 
Newbie

Joined: Thu Nov 13, 2014 8:49 am
Posts: 9
Hi Gunnar,

Thank you for your very quick reply and helpful links. Will update further once I deploy and play with it in my environment.


Gunnar wrote:
Hi,

Yes, checkout this demo:

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

This runs on WildFly, using MongoDB as backend. The frontend is JAX-RS + AngularJS, so no JSF2, but that doesn't make a difference as far as the persistence layer is concerned.

Also check out what the reference guide has to say on WildFly deployments:

https://docs.jboss.org/hibernate/ogm/4.1/reference/en-US/html_single/#ogm-configuration-jbossmodule.

Finally, you might be interested in this post which describes step by step how to get started with Hibernate OGM + Neo4j/MongoDB:

http://in.relation.to/Bloggers/NoSQLWithHibernateOGM101PersistingYourFirstEntities

Just let me know in case you need any further help or resources.

--Gunnar


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.