Are there any specific languages which can be used with multi-tenant architecture? - multi-tenant

Can I use AngularJS NodeJS and mongoDB in a multi-tenant application or are there any restrictions for that? Please consider I am novice to multi tenancy and am bit confused about suitable technologies which should be used in a multi - tenant web application.

You can get multitenant java app example from below link.
Multi tenant Java app using spring & hibernate

Related

Opinions on what should I use if I want to make a REST API with REACT: Django Rest Framework or Java Spring Boot

what do you think is better for an application to be developed in 2/3 months.
The frontend will use React.
For the backend I would like to implement a Rest API and I am in doubt whether to use Java Spring Boot or Django Rest Framework.
Other people's recommendation is to use Java Spring Boot, since Django uses the templating engine and I wouldn't use them for anything, just use Django for the Django Rest Framework (and everything else it embeds).
You would have two databases, one with MongoDb and the other in Postgresql. For Postgresql if I use Java Spring the ORM would be Hibernate and if I use Django the ORM would be Django ORM. For MongoDb if I use Java Spring I would still use python with mongoengine to collect the data.
MongoDb will be use to storage data for a recommender model.
Thank you!
Ideas or a solution about my architectureto problem.

How to secure web ui in spark embedded with spring boot application?

I have a spring boot microservices application, some services include spark (embedded). Actually, I secured all the application and I need to secure the access to Spark Web UI. I checked the spark doc and other resources and they say that I should implement a Filter but I don't know if this is the right way and for my case.
The main objective is to limit access to the ui interface. I already added authentication using Kerberos, ldap and jwt so i would like to use same process with spark and make access using ldap.
Any other suggestion are welcome.
Thank you in advance.

How enable Angular Universal with a Java/Spring backend?

I have an app, where backend implements on Spring using Spring Boot and front-end side use Angular2. Can somebody help me and explain how to integrate Universal using Java becken. Or show me a good example how I can do that.
how to integrate Universal using Java beckend?
You cannot do that directly as universal needs a different server side technology -nodejs
But you have a another (better) solution
Spin off a separate nodejs app for the angular and universal then route all the API calls through the nodeJs to your Spring boot application. Now your spring boot application will be just a (micro)service which will only deal with the data, not the presentation (markup/style etc)

Does Hybris use Spring Framework?

I am trying to understand and get some information for the Hybris platform. Does it use Spring Framework? Also could anyone please share the link / material to have more understanding about it's architecture, technology, etc ?
As per my research, they use:
Technology:
Spring MVC, JSF (FrontEnd), REST Web services ?????
User Interfaces:
Product Cockpit, CMS Cockpit, Print Cockpit, Admin Cockpit, HMC
Platform:
Persistance, Caching, Security, Internationalization, Import/Export, Search
App Server:
Hybris Server, Oracle BEA, IBM, JBoss
Database:
Oracle, SqlServer, Mysql
IMP: Does SAP Hybris support for Spring REST. I think since it uses Spring MVC + Security, so restful web services should of Spring REST only. I heard that it also support RestEasy and Jersey, but not good option when you have a Spring REST in place which adds great support than RestEasy and Jersey. Can you bring in details ?
Can someone please answer to the above IMP query ? Also please share sample RestFul web service of SAP Hybris.
Hybris uses the following technologies:
Java, Spring, Apache SOLR, Groovy, Scala, Apache Commons, ZK framework, Google Analytics, Jasper Reports, Tomcat.
You can find the best information on the architecture of hybris here.
You need a SAP Hybris login for this.
Spring core, Spring MVC.
JSP, javascript, CSS, bootstrap for the frontend.
java 8 for the backend.
apache Solr as the search engine.
tomcat, spring tc server, oracle, IBM as server.
hsqldb, oracle, IBM SAP HANA, MySql, Percona etc as database.
hybris does use spring and many other frameworks (like zk, groovy, scala). They have there own persistence layer and they does use the MVC pattern a lot. As hybris provide a lot of different services and interfaces it is not clearly only one architecture.
e.g. the "datahub" is a communication gateway based on spring integration, but Independent from the base platform.
Hybris use spring mvc spring security. it is compatible with Mysql, HANA, Oracle, sqlserver etc. Also it comes with charon api which make it easy to interact with yaas platform specially designed to fulfill the requirement of other ecommerce feature. you can access it through following link : click [here]:help.hybris.com
But again it is not free. You can also try on http://www.slideshare.net/

Using SolrJ REST-API to query data in a Spring Application

I have solr running at http://localhost:8983/solr/ . I have a Spring MVC app running at http://localhost:8080/login.jsp .
I would like to be able to Query only the solr data from my spring app. What is the best way to go about this? Does someone have a simple running example?
Integrate Solr with Spring using SolrJ.
SolrJ is the Solr Java Client Library which will allow you to query Solr and get back the results in java objects which you can use as Model objects with Spring MVC.
You can easily create a Repository which interacts with Solr using Solrj.
Also, secure the Solr Collections so that no one can access Solr from direct URL without authentication.
The Solrj Client with the Spring MVC app can query SOlr with Authentication.
You can also use spring-data-solr to do so. It should integrate quite nicely into an existing spring MVC application.

Resources