-1

I have an UI5 Application [Mobile-Fiori], and I would like to connect it with MongoDB to get JSON data to be displayed in my views.

I know it would have been possible if I used Node.js with the package Mongoose, but for my applications developed locally, I use Eclipse with Tomcat Server.

I wonder if this is possible in this way.

Thanks

shmoolki
  • 1,433
  • 6
  • 27
  • 54

1 Answers1

4

Yes it is possible, e.g. with Spring Data MongoDB.

matbtt
  • 4,163
  • 17
  • 25
  • 1
    Excuse me but i am talking about Javascript Application, SapUI5 is an JS Framework, and Spring is for Java Development. – shmoolki Jun 18 '15 at 20:08
  • 2
    Where's the point. Your question was how to expose data from MongoDB to a UI5 application which is published on a Tomcat server. One solution would be to use Spring Data MongoDB. UI5 neither connects directly to a MongoDB nor does it care about the programming language of your backend. Normally it uses HTTP calls to obtain data. Please consider to clarify the question. – matbtt Jun 18 '15 at 20:56
  • 1
    So How can i implement this solution? – shmoolki Jun 19 '15 at 10:35