Architecture of a microservice based web app

You trouble is how model your microservices. In term of microservices the second approach is most appropriate, which expose its logic through API. Always when you model your microservices keep in mind the follow facts. Loose Coupling: When services are loosely coupled, a change to one service should not require a change to another. The … Read more

How do some web services recognize I’m logging in from a new location?

Here are some ideas you may be interested in… As I already said to you it’s not an exact science. You should keep what’s important for security first and consider all this “optional” Plus, remember that all suggested “time durations” are subjective depending on how frenetic are accessess to your site and how strong should … Read more

Unity, Torque3D, Google O3D, WebGl….which to choose? [closed]

WebGL is not a failure in the making. Speaking like it’s a failure shows these peoples ignorance. That said, if you’re just starting out, explore your options. If you’re looking for more eyes than just windows users, stay away from proprietary solutions. Microsoft’s dominance isn’t big as people think, anymore. IE is fading in popularity, … Read more

My Application Could not open ServletContext resource

Quote from the Spring reference doc: Upon initialization of a DispatcherServlet, Spring MVC looks for a file named [servlet-name]-servlet.xml in the WEB-INF directory of your web application and creates the beans defined there… Your servlet is called spring-dispatcher, so it looks for /WEB-INF/spring-dispatcher-servlet.xml. You need to have this servlet configuration, and define web related beans … Read more

What’s the difference between a web site and a web application? [closed]

This is totally personal and subjective, but I’d say that a website is defined by its content, while a web application is defined by its interaction with the user. That is, a website can plausibly consist of a static content repository that’s dealt out to all visitors, while a web application depends on interaction and … Read more

What ways are out there to display a desktop notification from a web app?

Below is a working example of desktop notifications for Chrome, Firefox, Opera and Safari, copied from Chrome desktop notification example. Try it live on JSBin. // request permission on page load document.addEventListener(‘DOMContentLoaded’, function () { if (Notification.permission !== “granted”) Notification.requestPermission(); }); function notifyMe() { if (!Notification) { alert(‘Desktop notifications not available in your browser. Try … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)