Questions tagged [enterprise-architecture]

The high level design and description of software systems frequently characterized by having large quantities of persistent data that is accessed concurrently.

Filter by
Sorted by
Tagged with
5
votes
3answers
694 views

Does using the strategy pattern for persistence methods make it “okay” to include CRUD methods in a business object?

Would like to start off by saying, I am asking this as a purely academic exercise; I am quite happy to just continue to use the repository pattern. I have heard "I put persistence methods in my ...
1
vote
2answers
861 views

What risks are there to using Node.js with Java EE?

We are developing a B2B web application in which we are using(suggested by seniors) two servers. One is Node.js (to serve all the request related html & static content) and the other is Tomcat to ...
0
votes
1answer
671 views

How do I structure and maintain a large ASP.Net Core C# Application once it is in Production?

Having used a lot of scripting languages, it's pretty simple to make a change. No compilation necessary. But now I have an ASP.Net C# application. It's small, so I can learn from it, but how do I ...
0
votes
3answers
1k views

Product search design in ecommerce application?

I am trying to come out with high level architecture for product search in big scalable ecommerce application like amazon/best buy etc. Use case :- Search any item in free text. Say user search ...
1
vote
0answers
2k views

Scalable Ecommerce site system architecture?

If I need to design the system architecture for a scalable site like amazon/BestBuy, what can be high level system architecture. googled it but did not get much data points. Below is the high level ...
5
votes
3answers
1k views

Sharing DAL Code - MicroService v Shared Library [closed]

What is the best option for sharing DAL code. We have a nice c# library that wraps SQl.Data.SqlClient methods like .ExecuteNonQuery, ExecuteReader, ExecuteScalar etc. Its adds logging and helper ...
4
votes
1answer
645 views

Should the presentation layer use domain objects returned from the service layer?

As an example, if there is a controller that calls a CountryService class and the CountryService class uses a Countries class, should the CountryService return the CountriesClass to the controller? Or ...
1
vote
1answer
198 views

Optimal strategy for pushing data to DB for repeat updates, considering only a fraction of records change values

Millions of position data is coming in a system which needs to be stored in a database. The data comes in pipe delimited formats in flat files,on a regular basis say twice a day. And most importantly ...
5
votes
0answers
81 views

Proxying REST Backends

I have several backends services (REST+SOAP) that have to be consumed by an SPA (Single Page Angular2 App). As JWT (JSON Web Token) is not feasible for me for the moment, security is done using CAS ...
9
votes
3answers
2k views

In a loosely coupled microservices architecture, how do you keep track of your dependencies?

A popular high level architecture choice in modern program is a REST-based microservices system. This has several advantages such as loose coupling, easy re-use, limited restriction on technologies ...
6
votes
2answers
1k views

How to architect a store to avoid overselling inventory (distributed database scenario)

We currently have a store/shopping cart system that uses a single database. We have products with a field for the number we have in inventory (say 100 widgets). We have a customer table. When ...
2
votes
1answer
64 views

What quality attribute would be favored using a rich search algorithm?

I'm working on an architecture document based on quality attributes. I'm trying to explain our search algorithm based on tags, historics and some bi information as a way of favouring a quality ...
4
votes
2answers
211 views

Where should HTTP calls resides in a layered architecture?

I have a client which depends on data fetching from two different domains. Client fetches the data from Domain "A"'s API layer and Domain "A"'s Data Depends on Domain "B" There is an implementation ...
11
votes
4answers
7k views

How to fit a rules engine in a microservice architecture when it requires lots of input data?

Current situation We are implementing (and now maintaining) an online shopping web application in a microservice architecture. One of the requirements is that the business must be able to apply ...
1
vote
0answers
150 views

How does microservice architecture handle situations when immediate response is required? [duplicate]

What is the best practice of a multi-step processing in a micro-service system which is using publish/subscribe architecture as internal source of communication and also requires immediate response? ...
3
votes
2answers
184 views

Details about certain large enterprises and government agencies only using technologies that have existed for a while [closed]

I read somewhere (probably on StackExchange) that certain large enterprises and government agencies will only use technologies that have been around for ten years. Can't find the source right now. ...
1
vote
0answers
157 views

Communication direction between microservices

Let's say I have 2 micro-services. One is identity and another is support. I understand when user is created inside identity ms, event will be published and support micro-service will subscribe to ...
17
votes
2answers
7k views

Composing large Angular 2 app with multiple small apps within

After long 3 months of debate and research in choosing between React (with Redux) and Angular 2, front-end team in my company has concluded to go with Angular 2 (given that it is more suited for our ...
14
votes
7answers
7k views

How to architect user authentication from client applications?

I've been developing an application which will support many users. The thing is I'm unable to figure out, how to authenticate the client/user. I'm building an app like http://quickblox.com/ where I'...
1
vote
7answers
1k views

REST MVC Confusion For An Enterprise Appplication Architecture [closed]

I already have experience working with MVC based web apps and started reading recently about REST. But went into confusion when re-thinking about how existing web app not using any kind of framework/...
6
votes
2answers
484 views

In an enterprise architecture, where is Service Locator most appropriately used, and why?

I'm trying to implement the Service Locator pattern. In the below diagram is my references between projects (.net projects), each box represents a project. The arrows indicate the dependencies. I ...
2
votes
2answers
175 views

How to prevent “updating” unchanged date using Data Mappers?

In some books the implementation of Data Mappers simply update the whole row of a table using the data inside an object, but in a system is possible that two different operations update different ...
0
votes
1answer
97 views

Where do we need to include non business logic validations in Service Layer

Currently um working in an application and it has the following hierarchy WEB API2 Controllers (hilds the end points) Business Logic Layer (Dedicated for business logic handling ) Data Access Layer ...
2
votes
0answers
194 views

Implementing workflow to an enterprise application [closed]

We are a few developers develoing an enterprise project includes several modules and approximately 200 UI resources for our company. Project will be written/programmed in Asp.NET MVC, WCF services for ...
3
votes
2answers
107 views

How do you address the problem of dealing with an external service that stores your data and you want to keep in sync?

I'm integrating an enterprise application with an existing pattern. The main problem is how to synchronize data between my system and an external system through RPC (HTTP API calls to be precise). ...
2
votes
3answers
249 views

What should be primary guideline when defining a bounded context?

When defining bounded contexts of a Domain, what should be a primary guideline: departments (Sales/Manufacturing/Warehousing), where each department has a common context (https://softwareengineering....
1
vote
1answer
2k views

What is the correct reusable architecture using Entity Framework for common database tables and services?

Context I have a line of business application "MyApp" in C# using EF. Layers are separated as MyResusableLib.DataAccess // Class Lib: EF based utils, extension methods, MyApp.DataAccess // Class ...
1
vote
3answers
1k views

Alternatives on how to deal with data fetched from external API

We are planning to build a web application which will consume data from an internal REST API that centralizes all of our "core" business data. For matter of demonstration, let's say this API exposes ...
0
votes
0answers
358 views

DAOs - As a separate package or encapsulated in Service itself?

This question is to understand the pros & cons for keeping the DAO's with the service or as a separate package being consumed by the services. Consider a micro-service architecture. Let's say I ...
3
votes
1answer
121 views

Simple messaging pattern to replace shared DB? [closed]

There are two modules A and B using the same DB. A imports B as a JAR. I read that messaging patterns can replace the tightly coupled solution of using a shared DB but I am not sure which message ...
8
votes
2answers
3k views

DDD: Creating reusable modules and service type distinctions (Domain, Infrastructure, Application)

So after reading "Implementing Domain-Driven Design by Vaughn Vernon" I've decided to refactor my code for better re usability by isolating what I believe to be core domain concepts into separate ...
7
votes
1answer
1k views

Implementing a composite REST service

The past years I have had the need to implement business logic in a larger type of service, most often orchestrating a handful of atomic/microservices. Operations like "search and update document, ...
1
vote
0answers
120 views

Sending large amount of messages async

The scenario is this: I have web based service that does regular request processing and it's doing persistence into db etc.. Fast response to the client is crucial. So now the average request is about ...
3
votes
1answer
248 views

How do you properly test a complete software replacement

We have System A (an application and a database) that is built for a specific business department and therefore has business aligned data model and table structure. System A is a mission critical ...
3
votes
1answer
239 views

What are modern develop-deploy-test techniques for non-interpreted languages?

I have strong web-developer background, where in order to show client a demo I've uploaded a solution to demo environment and sent over a link. If case client asked to make changes, I did them in ...
1
vote
0answers
179 views

Appropriate Design for MDM Solution

Design Problem: A department aligned system (an application/UI and database, which we'll call System A) is used to manage both customer information and customer transactional data like orders, charges,...
1
vote
2answers
1k views

Suggestions to distributed service pattern

We expose some webservices on a server, written in C#. Now we have to distribute the services to multiple servers, so the solution is distributed. And each request is dispatched to one the servers to ...
1
vote
2answers
367 views

Decoupling external dependencies

We have a simple REST webapp which is dependent on multiple external services, mostly Kafka messages. An attempt was made to isolate external dependencies by encapsulating all external interactions in ...
1
vote
0answers
806 views

Handling multiple rest api versions within Android Java client

Actual architecture I have an app where a model is attached to every activity. The model ask a repository for information that can come from server or local db depending on many factors. When it asks ...
0
votes
1answer
147 views

Is it advisable to create a single API to access the database? [closed]

Got an organization that its core work is acquiring various sources of data, validating it and integrating it to existing mostly financial data sets and then availing that data to many different types ...
4
votes
1answer
526 views

Enterprise Architecture: Where to put persistence/dbContext management? [closed]

I'm working on architecting a somewhat enterprise-level solution and have a question about how to best handle the persistence details. My overall setup is that there's a core set of business logic/...
18
votes
2answers
19k views

Benefits of using separate API and UI servers for Web application

At work, we have a large internal application which has been under development for close to 2 years now; I've just recently joined the project and some of the architecture has me slightly perplexed, ...
2
votes
1answer
458 views

How to approach legacy code? Desperate case [duplicate]

I have a methodological question. I am faced with a reasonably large legacy system (Java Enterprise). I am new to its codebase -as everybody in the team- since it's a product we had in outsourcing ...
2
votes
3answers
1k views

How to authenticate against an API?

In a enterprise distributed system, a user of a web portal can sign into one site, be redirected to a federation provider. Once they log in with, for example, a facebook account, that user is ...
7
votes
1answer
3k views

Single source of truth within an enterprise distributed system

Within an enterprise distributed system I have many services - an E-commerce service, a CRM, support desk, finance, billing. Many of these services share common data, such as Customer data. These ...
3
votes
1answer
301 views

Standard API Protocol for ECM Systems?

I am wondering if there is an established standard or protocol when working with APIs for document management systems or ECMs. For example, let's say I'm working on a new product and I want it to have ...
3
votes
1answer
1k views

How many Topics (queues) to practically use in an ESB

In all the Service Bus examples and tutorials I've seen, they cover publishing a single message to a single Topic that is picked up by a single listening Subscriber. Whilst this is good for a simple ...
1
vote
2answers
167 views

Responsibility of an ESB

When using an enterprise service bus, is it responsible for; a. the successful delivery of a message to a consuming application b. to successfully deliver a message until the application's ...
1
vote
1answer
118 views

Using session managed application environment vs no protection

First of all sorry for the title, I didn't know how to explain it. So here comes the story; We are bunch of coders, front-end and back-end, and we are going to create this new system, based on micro-...
2
votes
2answers
977 views

Using ESB for database synchronisation / replication

We're starting to look at implementing an ESB / Microservices architecture. I (think) I know about the concepts, but there's one thing I don't seem to be able to get a good idea about: data ...