I am starting new Java Play project with mongo DB. I looked through Play! documentation, but there is no mongo Java async drivers. Only Scala reactive driver is mentioned. SO has number of similar questions, but they all are outdated.
What is the best way now to deal with mongo DB in async way?
Let's say I have just one documents collection with orders and I need to add an OrderController that will return all orders from mongo.
Finally i managed to do it. Posting code for other programmers. The code goes to Mongo using async driver and returns json with database names.