i am writing a web application with jsf 2.0 and using primefaces framework. i want to use mongodb as my database and "getting started" guide for mongodb is just explaining the basic java usage. I did make it work with "public static void main(String[] args)" but unfortunately not for my web application.
it would help a lot if u could help with one of these;
thanks in advance :)
I would suggest you to go with JSF 2.0 and Spring integration, and along with this use Spring Data MongoDB
using the above two integrations, you would be seamlessly integrate mongodb in your web app.