architecture

Would this be a pipeline, a chain of responsibility, or something else?

I'm building a multiprocess architecture that seems to be a strange meld of a pipeline and a chain of responsibility. Essentially, I have a chain of handlers linked up by queues. Each handler will receive an object that represents the input data, forward it to the next handler so that it can start working on it, and then determine if i...

best way to do reporting for a million rows

I have two database tables, subscription and transaction, where one subscription can have many transactions. The status of the subscription depends mainly on the transactions that belong to it. So if I want to calculate next process date I would look at the period field of the subscription object and then analyze the subscription's tra...

3 Tier Architecture - In need of an example

Hi, Presently I am working using single tier architecture. Now I am wanting to learn how to write code using 3 tier architecture. Please can you provide me with a simple example? ...

Domain Driven Design: Specification Question

Hi all, currently the system I am working on is layered like this Web UI Application Domain Infrastructure In which layer would I put the specification implementations? Infrastrucutre? ...

Alternative to "master" and "slave" in entity relationship?

Example: I have two tables in my database called classA and classB, and one table called classA_classB. The last one just defined two int fields with foreign keys to link between classA and classB. So one classA can have many classB, and many classA can link with the same classB. Simple stuff, so far. The problem is, in my special case,...

Rich Filesystem

My company downloads numerous files on a daily basis via ftp. Currently these files are stored in a fairly large file hierarchy, which is cumbersome to navigate. In addition the files often have meaningless names making them difficult to identify. We are considering building an application that presents a rich "filesystem" to the user...

Create C++ Code from Visio UML diagram

Visio 2010 Beta can generate static UML diagram from Native C++ project, and it's great. How is it possible to solve reverse problem: given a static UML diagram from Visio, generate header files? Or, maybe, there are free tools for architecture development and reverse engineering? EDIT Generally speaking, I don't need diagrams to be st...

Windows Workflow SQL Persistence Architecture

I like the idea of WF and would like to persist long running workflows to a SQL database. To that end, what is the appropriate architecture at the SQL level for the persistence database? Should the persistence tables exist inside the project's database or is the Persistence datatables project agnositc and only one persistence database ...

How should I plan the architecture for a system rewrite?

I am planning to rewrite a current system that I previously worked on a portion of. I am doing this as a learning exercise. Below is a description of the old system, basic architecture of the new system, some best practices I want to follow, the goals I want to acheive and my questions. Let me explain the old system: 1. SQL Server Datab...

Seam application Architecture

I need to implement quite big system in Seam. I'm considering the way of designing the architecture. If it's good to use page controllers or application controllers or front controller or every each of them. If it's helpful to use backend bean or maybe there's no need to do that. If you have any suggestion or link to helpful article I wi...

How can Google Chrome isolate tabs into seperate processes while looking like a single application?

We have been told that Google Chrome runs each tab in a separate process. Therefore a crash in one tab would not cause problems in the other tabs. AFAIK, multi-processes are mostly used in programs without a GUI. I have never read any technique that could embed multiple GUI processes into a single one. How does Chrome do that? I am a...

How to push data to a .NET CF client?

Although polling a webservice is possible, do you know of another method to push changes to a mobile client except using the exchange server mail transport? ...

Run x86 msi setup on x64 os / platform

Is it possible (and recommented) to ship a x86 app only in a x86 msi setup which is executed as x86 app on 64 bit os / cpu? ...

Architecture guidebook for Java web application?

I'm looking for some good books/internet material that discusses on how to make decision on architecture for a Java web application, discuss on various considerations etc. I found this "J2EE Architecture Book" on TSS : http://www.theserverside.com/tt/books/DVTPress/J2EEArchitectsHandbook/index.tss The book is not only dated, but has p...

Looking for solution ideas on how to update files in real time that may be locked by other software

I'm interested in getting solution ideas for a problem we have. Background: We have software tools that run on laptops and flash data onto hardware components. This software reads in a series of data files in order to do the programming on the hardware. It's in a manufacturing environment and is running continuously throughout the day....

Benefits of an enterprise service bus

Where can I find some information on the uses and benefits of an enterprise service bus (ESB)? I am looking for information about: the kinds of problems and ESB helps to solve the alternatives to an ESB - and the tradeoffs in selecting between them what you need to do as a developer to build ESB-compatible systems I'm looking for a ...

Resources for extending and enhancing Eclipse CDT C++ Support

Where are good and current resources for anyone hacking on the CDT (C/C++ development toolkit) for Eclipse? In particular, I would like to know more about the internal architecture and structure of the C++ parser, and how the AST, DOM, PDOM, Models, and UI interrelate and interact. My interest is in adding support for extensions to C++ t...

Basic Architecture and Lifecycle of Threads in C#/.net 3.5SP1

I want to write my first real MultiThreaded C# Application. While I used a BackgroundWorker before and know a thing or two about lock(object), I never used the Thread object, Monitor.Enter etc. and I'm completely lost where to start designing the Architecture. Essentially my program runs in the background. Every 5 Minutes, it checks a w...

Neural Network Design

I am playing around with Neural Networks and wondered how the experts decided how many neurons is enough or say know what range would be proficient. Does one decide based on heuristics or are there logical amounts based on the application? Say for example I wanted a simple network to be able to tell the letter I with say a grid of 9x10....

Neural Network Expert System

Does anyone know how to emulate an Expert Systems using Neural Networks? An example of this is the 20q.net website. I'm more curious to how the network would be designed; ie how many inputs, what the input represents, what outputs from the network, how these outputs point to an answer. Very interesting stuff. ...