I need a little help to connect my code with MongoDB. I have created a simple online shopping application with hibernate, Servlets and JSP. I am able to connect the code with MySQL and it works fine. But i tried changing the hibernate.config.xml file and added up mongoDB jars and tried connecting it with mongoDB its not happening. Can some one please help me out.
Asked
Active
Viewed 71 times
-2
-
have u got any error??? please share code – Pankaj Saboo Oct 15 '15 at 05:52
-
Hi Please find attached the image of the error in coonsole. – Edwin G Oct 15 '15 at 08:33
-
am not able to share the entire code here. Can i share it with u thru mail. please lemme know ur id – Edwin G Oct 15 '15 at 10:43
-
pankaj.saboo08@gmail.com – Pankaj Saboo Oct 15 '15 at 11:02
1 Answers
0
I would suggest you to follow this book MongoDB for Java Developers by PACKT Publishing or you can go through the official course provided by MongoDB University : M101J MongoDB for Java Developers.
Well, the book provides knowledge how to connect MongoDB with Java Applications such as JavaSE & JavaEE.

Mukul Mantosh
- 358
- 4
- 15