architecture

How to share data across an organization

What are some good ways for an organization to share key data across many deparments and applications? To give an example, let's say there is one primary application and database to manage customer data. There are ten other applications and databases in the organization that read that data and relate it to their own data. Currently this...

Which IPC to use?

Background I got a client/server solution which is using a mix of services (like IUserService to add/remove/fetch etc) and messages (like UserCreated, CallArrived etc). Each client authenticates when connecting. It's a software as service solution and therefore all messages may not be transported to all connected clients. Therefore I ne...

Scale out my application in cloud, how i can do that?

Hi, i have a medium SaaS project and need scale out, where i can find materials to get started my cloud project? ps: i dont want work with a PaaS, like App engine or Azure...i will use IaaS like ec2 or rackspace ...

Services for sharing data?

Picture an organization with many departments and systems, many of which must share data. For example, one deparment/system is responsible for updating customer data but many departments/systems must be able to read and relate that customer data to their own data. In such a situation, what is your view on using web services to share this...

how to decouple data from business logic

Here is the scenario, Let's say I have a user class like so: public class User{ private String firstName; private String lastName; //... // setter, getters } Then I have a class like so to handle user Comments: public class Comments{ // some fields public static loadComments(User user, int count){...} } So far very basic s...

Most Important Limitations Of The Entity Framework

What are the most important limitations of the ADO.NET Entity Framework 4.0 that business application developers should be aware of? I have used it in some pet projects of mine and it seems very efficient, but I am concerned about the problems I will face when I am building large, more complex data-driven business applications. I am es...

how to transfer business rules to new data base in 3-tire Architecture ?

hi , as we know that 3-tire Architecture consist of Presentation tier , business logic and data base tier the business rules (like : stored procedures , triggers ...) are stored in data base tier , so when we want to replace the data base engine (like ms sqlserver) with new db engine (like oracle) these rules must be transfer to new db...

Sorting data when doing Domain Driven Development

While developing my data model I didn't pay attention to the underlying database level. I encapsulated some logic in my domain classes' properties (example: method that counts order's profit). It all works well until I need to sort data. Sorting is a purely database feature (mainly because of performance i can't retrieve all rows from ta...

Webserver for a desktop application – design consideration

We are moving our Delphi application to a new environment – it will be .NET. Some parts of an app will be moved to distributed processing, some will be moved to web servers. Therefore, this is an architecture shift from monolith desktop application to distributed system. Migration of current Delphi code to .NET is an issue itself (some c...

Designing Messages for Service Layer

hello! i am about to develop a small application that should consist of a server and a rich client. so far i will follow the following design guidelines: never expose domain objects to the client encapsulating service messages to response and request objects identify service routines based on use-cases, so that they are always atomic ...

How much do you let Sitecore (or other CMSs) manage?

I have been wondering how much content you should typically allow a CMS to manage, in particular reference to user-generated content. I am thinking specifically of Sitecore, since I have an upcoming project that will be written with it, but this could apply to any CMS really. Say you had a typical e-commerce site, with products for sale...

What are some of the common strategies and/or frameworks used for data access layers?

What are some of the common strategies used for data access? Can LINQ be called a strategy? ...

Architecture questions regarding game design using XNA

Architecture questions regarding game design using XNA Is game architecture game type dependent? Which are the most popular game architectures? Part of my background is in application development, where client and server are divided in different architectural layers. A typical enterprise application has UI Layer, Business Layer, Data...

Should my service layer work for any user, or restrict itself to the currently authenticated user?

This is a fundamental design question about the service layer in my application, which forms the core application functionality. Pretty much every remote call reaches a service sooner or later. Now I am wondering if every service method should have a User argument, for which the operation should be performed or if the service should a...

Moving from ASP, business logic trapped inside stored procedures...

How would you structure a large project with most of the business logic already inside stored procedures? Here is a little bit of background : We are moving from classic ASP to ASP.NET (VB) and pretty much all the business logic is inside stored procedures. Getting the logic out of there is pretty much impossible since my boss doesn't ...

What is the correct way to initialize collection of an entity (POJO) in Spring-Hibernate project?

I have a POJO class, say Foo, which has a Set of other entity instances, say bars. Also there are standart misc classes for such project: service and dao for both Foo and Bar. I want BarService to get the Set of Bar instances associated with some Foo. Now I have the following code, wich I believe is conceptually bad. public class Foo...

Tool to generate DB architecture view?

I need to get a UML (or alike) DB architecture view out of a database (in this case Oracle) by simply providing needed credentials (or otherwise). Please, advice any tools that you use/have used to accomplish the same purpose. ...

jax-ws web-service tier to the hibernate-based data provider

A data provider (java, hibernate) has an API for accessing instances of JPA-annotated classes. A web-service (jax-ws) is exposing the API to the network clients. A bit of a problem I'm thinking to solve is that a client of the data provider cannot be easily reconfigured to either use the provider directly or over the web-service. The rea...

Pushing data changes vs. pulling data changes within an application.

Suppose you have an application that consists of two layers: A: A data layer that stores all the data loaded from a database or from a file B: A layer that shows the data in a nice user interface, e.g. a graphical report Now, data is changed in layer A. We have 2 approaches to make sure that the reports from layer B are correctly up...

Swing rich client in a multi tier context

We're in the analysis/early design phase of a future Swing application where persistance is provided by a database (probably an alternative between Oracle and mySql depending on the customer's money). Basically, the application will feature two kinds of modules : One "admin" subsystem to feed and maintain a set of referential data ; X...