architecture

SSRS 2008 Report SQL options

Hi, I would like some guidance on what is the best approach for storing the Report SQL definitions for SSRS 2008 reports. [Our web app will interface with the SSRS web service and display the reports in the VS ReportViewer control] Currently I see 3 options Store the SQL within the RDL [Report Definition] files. Store the SQL in Sto...

Java client/server configuration and security across domains

I'm trying to set up an application server to run a simple website and a Java client application that needs to communicate back to a Java server. What I'd like to do is the following: Website/web application server at http://www.mydomain.com Applet and/or Java Web Start jar at http://files.mydomain.com Server listening on some port at...

When is it good to expose a third party library as part of your API ?

I have my thoughts about this matter but it seems that a lot of libraries and products let third party libs bleed into the API. Logging is a perfect example of this. Nearly everything exposes the need for you to configure that logging API rather than using a provider interface that you can implement and give to the lib. Is aiming to wra...

How best design a scalable class?

Hi, what I mean by that is: I basically have a class that has too many properties and functions now. To remain performant and understandable, it needs to shrink somehow. But I still need all those properties and methods somewhere. It's like this right now: class Apple float seedCount; ... ...about 25 variables and properties here...

How to design an MQ Server?

I'm unclear as to whether there should be a 1-1 or a 1-* relationship between: Server-Connection Channel and JMS Topic Server-Connection Channel and Listener Listener and Topic Regards the design of our application layer, there is a single MDB that in response to a message, does some work, then publishes messages onto a variety of ou...

Adding methods to a simple RPC server in a clean and separated way

Hello: I created a simple RPC server to perform certain tasks common to our teams, but which are called from different networks. The server looks like this (I don't include error handling for brevity): from twisted.internet.protocol import Protocol, Factory from twisted.internet import reactor import json class MyProtocol(Protocol): ...

N-Tier Publish/Subscriber Design Problem

I'm just getting into how to write a good architecture of a good software system, and I'm learning how to separate high level components into Layers. In this case, I'm trying to use Tiers, so as to model each Layer as a black box. There are 4 tiers in my architecture: Presentation, Application Services, Business Logic, and Domain/Persis...

JSP to Servlet Relation

There are many, many examples in books, and on the internet about how to use Servlets as JSPs. But I would like to know what the best way to go about using them, with a mind to good architecture. Should there be a one-to-one relation of Servlets to JSPs? Acting like ASP.NET "Code-Behind" pages? Or more like ASP.NET MVC, with a single S...

c# SETTINGS architecture

I have several applications that need to read and write application settings. Since one of the apps is a legacy c++ app with hundreds of settings in the registry (and that isn't bound to change) and there are also some settings stored in a proprietary database format I'm wondering how the architecture could be setup to allow a single in...

General Architecture Question.

I have previously really only worked on your general 3-tier system. I am now tasked with something slightly different. I now need to retrieve files from 3rd party location using FTP. In the few times in the past I would have built a console app run and ran it on a schedule. It would have worked but maybe not been the best. I am looking...

What should be the architecture for social-networking web site ?

I want to develop a social networking web site in java. I want to use Spring, Hibernate, Jasper as well as sms apis. At fresher level, I want to know if I am on right path to use these technologies ? Suggest something more if I should follow. What database I should use ? (PostgreSQL, MySQL etc.) And, at last, what architecture I shoul...

QT : Using State Machine for UI interactions ?

Greetings, We are developing a scientific QT Application which detect the border of a cell.Please refer to following prototype snapshots. http://i27.tinypic.com/25tub9v.png http://i26.tinypic.com/9l8kcj.jpg Now ,we are going to develop this as a opensource product with a good design and architecture.We reconed that it has many comple...

Suggestions for a scalable architecture solution to large data problem

Hi folks, I am in the process of building/architecting a business social network web application that has a component that I think will lead to major scalability issues and I'd like to get some feedback/thoughts on the best way forward. The application has a User object. The idea is, that every time a new user joins the system he ranks...

ASP.NET Web-Application Architectures / Patterns

Does anybody knows good, short and slim tutorials, which describe actual/modern web-application architectures / patterns (especially for ASP.NET based (classic and MVC) applications (maybe also with embedded Silverlight components) ? How would you you design today an ASP.NET application which uses different datasources (databases, servic...

Writing multi server code

I've been wondering for a while; how does websites like facebook code to be able to have multiple servers? How can the code take in account that several servers will be running the same code and gain from adding more? Or does the webserver perhaps deal with this regardless of the code? ...

Difference between Data transfer Object (DTO) & a dumb business object ?

Hi, I am using dumb business objects in my application. Just used a DTO to transfer selected properties of object but I am wondering what is the difference between the two ? I cant find any. ...

Java Program Organization: How can I get rid of this massive case statement?

I am creating a program that will fill in a given grammar. Right now I am modeling the "kinds of words" like this: public class WordDescriptor { public static final String noun = "N"; public static final String plural = "p"; public static final String nounPhrase = "h"; public static final String usuParticipleVerb = "V"...

ASP.NET Webapplication design with "Subwebs"

Can anybody give me hints and help how a large ASP.NET webapplication can be structured / designed with "subwebs" !? In other words I want to structure a large web-application where I have a solution with more web-application projects. These projects are more or less independent "modules". One project should be a kind of frame applicatio...

Methodology to create architecture diagram

I need to create an architecture diagram for an existing system. I want to show the "big picture" as well as small details. What makes more sense: Create one diagram for the big picture, and a separate diagram for each smaller component. Create one diagram with all details. I guess this requires correct tooling to be able to show a si...

Elegantly Determining System Architecture Within Perl

I'm looking for a simple way to determine whether a system is 32- or 64-bit from within Perl 5. I have read the perlvar manual page backwards and forwards, and have not discovered a variable that contains the system's CPU architecture (the CPU architecture Perl was compiled for will come close enough). This is the closest I have come: c...