Java Or MEAN stack for scalable secure website

Hi I’m debating between building a highly scalable, secure ecommerce website. I am considering using Java Server Faces with some database (maybe MariaDB) and a MEAN stack.

I am wondering if there were any input as to the general strengths and weaknesses between the two approaches?

I appreciate that there may be pros and cons on a variety of parameters.

Thx!!

These days companies tend to be using .NET or Java for the service layer of progressive web applications. I think using Java would be fine for the service layer. In regards to NoSQL vs. SQL databases I have found NoSQL databases to be better in philosophy but not actual practice. I much prefer working with traditional, relational databases over document databases. I find relational databases much easier to manipulate and perform complex operations. For the front end you can’t go wrong with a JavaScript MVVM framework like React or Angular. I prefer the rigid, structural application architecture of Angular over the loose, unstructured ecosystem of react. Most people though seem to be hyping react these days. I’m not one of them.

Having said that I just recently on this forum came across spree. Spree is a well known ecommerce system built with ruby. There is also a project on gitbub that has a Angular front-end for the customer facing spree website. Its a pretty simple implementation of all the basic components of an ecommerce shop. Might be worth checkin out. I’ve used Magento for a few years and while spree is not on that level it is a nice, simple little ecommerce system with a lot of potential without all the complexity of more robust, monolithic system like Magento.

You are looking at this from the wrong standpoint. Both stacks can scale and its really up to the developers on how well it can scale. You need to look at what is more secure, more productive for your company and developers now and future.

Most languages can be built to be fast that is why facebook started on php. The idea of using php was it was far easier to hire a solid php developer than it was to hire a c++ developer. Php is and was considered one of the slower execution languages available.

Think about all the edge cases and compile a list of what is a need and what is you can do

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.