different architectural design pattern

244 byte By phanidharkumara at 2007-10-2 1:09:57
I heard that there are eight architectural design patterns are there.in that some of them areMVC,IOC,Front Controller.Can any body help me out giving the list of all architectural design patterns

need help to findout list of architectural design pattern

220 byte By phanidharkumara at 2007-10-2 1:10:30
I need help to find out the list of architectural design patterns.there are 8 architectural design patternssome of them are MVCIOCFront Controllerplease help me for others

Model1, Model2, MVC where does it come from, Java or C, C#?

125 byte By Pham_Anh_Tuana at 2007-10-2 1:17:29
Hi all,I wonder, Model 1, Model 2, MVC where does it come from, it comes from Java or C, C# ? :(help me!

Improve performance by less server calls

582 byte By Lisa_Ra at 2007-10-2 1:19:04
Hi,I have a problem with an application that are to slow. One of the problems is that the client calls the server alot of times. What I would like to do (what I should have done from the start) is minimize the calls to the server. But the calls are scattered around the client code so I can磘 see ...

generating diagrams from code

464 byte By Mr.Smitha at 2007-10-2 1:22:58
I was wondering if anyone had any suggestions on ways of approaching the problem of building a tool to semi-automatically generate sequence diagrams from source code.Will it be a matter of starting at the main method in the code and building a list of all of the methods which may be invoked.As ...

Audio Equalization

1108 byte By robbix.the.bobbixa at 2007-10-2 1:23:57
While looking for some info on DSP effects, I came across this explaination of how to do audio equalization digitially.x(n) is the audio data, I assume it is a series of float samples [-1,0, 1.0]Qoute:"Real(F) = S(n=0,N-1)[x(n)cos(2pi*F*n)]Imag(F) = ...

How Prototype pattern is reducing number of subclasses

329 byte By B_K_Jaina at 2007-10-2 1:25:01
Hican u please explain by some examples how prototype pattern are useful in reducing no of subclasses and how it is useful to avoid building a class hierarchy of factories that parallels the class hierarchy of products Please give some practical examples to explain protoype pattern.Thanks in ...

Parameter Validation Responsibility: Caller or Callee?

1510 byte By tieTYTa at 2007-10-2 1:34:22
I just picked up "the pragmatic programmer". It's a pretty good book, i'd recommend it. Anyway, there's this page in the book (p115) that talks about "who is responsible for checking the precondition, the caller or the routine being called?" The authors say that it is the caller. For ...

find URL and E-Mail addresses

413 byte By Killi138a at 2007-10-2 1:37:07
Hi,how can I find URLs and E-Mail adresses in a Textbox?My idea: If found, make a link on it.I've tried with if (txt.matches("(w{3})\\.(.*)\\.com")) {// create a link}to search for an URL like "www.domain.com", but it doesn't work! Why?And how can I get the URL he finally found? So I can ...

Steps to develop a s/w Project

479 byte By vikramjitsingha at 2007-10-2 1:48:07
Hi,Am developing a project using netbeans4.1 and tomcat 5.5.9. It is website with Oracle9i but i dont know from where to start about project. Some say abt SCM(Software configuration management) some say abt Factory Methods other say first make UML. Plz tell me what are the steps to develop a ...

protected variation/ Open closed design pattern

262 byte By markcapoa at 2007-10-2 1:50:48
Was wondering if any pattern guru's out there know how to implement a protected variation/ Open closed design pattern as I am having trouble trying to this this properly.Any assistance, ideas or guideance would be greatly appreciated.Cheers

scheduler based on rule

221 byte By cpallaba at 2007-10-2 1:54:21
I抦 trying to device an enterprise class scheduler based on rule engine. The primary interface may be exposed as webservice. Any idea for an early startup is highly appreciable.Thanks in advance,Pallab

fast operators design considerations

3070 byte By paulgeisa at 2007-10-2 1:59:11
I think about the right way of defining fast "algebras" ie. small objects with some operations between them. For example, take a class Vector:public class Vector {public float x,y;...}and now we want to add some of them.now there are several possibilitys:1. "operator like"Vector add(Vector ...

Design Recommendation

669 byte By virginia_codera at 2007-10-2 2:02:54
I am looking for some design recommendation. Our application has set of n (lets assume 2) processes. The definition of each process is in a XML file. The XML file looks like:<processes><process name ="a" action="b" /><process name ='x' action="y" /></processes>Now we ...

Advice on MVC issue

1126 byte By alexflinta at 2007-10-2 2:03:32
Hi,I'm currently designing a fairly standard document editing application. I have a number of seperate sets of classes representing different types of documents. Many of these different documents can be viewed in the same way - eg as a tree, and many can be viewed in more than one way - eg as ...

Large memory usage versus DB overhead.

1110 byte By rojeka at 2007-10-2 2:07:17
HeyI have (or will have) a web application based on Spring, Hibernate, Quartz, and other technologies, with backend as Postgres. There will be quite many concurrent users (approximately 10000). Each of such a user has relatively big amount of data stored in database. Now the design is based on ...

Need advice for the right path

3464 byte By srh99a at 2007-10-2 2:10:00
I have 3 classes: Location (refer to Location table), Department (refer to Department table) and Employee (refere to Employee table) with Employee having one way reference to Location and Department.public class Location implements java.io.Serializable { private int locationId; private String ...

Design Idea

506 byte By chambedaa at 2007-10-2 2:14:20
Hello everyone, I am making a game and currently have 3 classes Game, Player, and Dice. The game creates the players and controls the dice. The player shakes the dice and chooses which ones to keep. My question is this: Right now I have the game creating the player and the dice but also ...

Eliminating instanceof

1430 byte By jhhdka at 2007-10-2 2:19:58
Considder following example:B, C extends abstract class Aclass D { void f(List l){E e = new E();for(int i=0;i<l.length;i++){A a = l.get(i)if(a instanceof B){g(e,(B)a);} else {g(e,(C)a);}} } void g(E e, B b){// TODO implement } void g(E e, C c){// TODO implement }}Supposedly use of instanceof ...

Code generation from use cases

377 byte By Gona at 2007-10-2 2:20:23
I have to build a system that inputs use cases and outputs code. I am as yet unsure how to do this. I assume the easiest way would be to go via class diagrams because code generation seems not a huge leap from there, but how would you suggest I get from the text use cases to a class diagram?Any ...

OOA/D Book

169 byte By shenia at 2007-10-2 2:21:59
Hi,I am starting to learn OOA/D. Some body please provide me link to good pdf (book) or online book. Preferably object oriented analysis and design in Java

Singleton Versus Static method

351 byte By shenia at 2007-10-2 2:26:15
Can some body explain me advantange of making a class single ton over making all attribute and Operation static? I know Single ton means user can create only instance of the object. Can't same functionality be achieved by making all attributes and operations in class static and making ...

Modelling Individuals and Organizations

2071 byte By nanjoutaia at 2007-10-2 2:29:42
I'm developing an application where a user can either act as an individual, or as a member of an organization, and I'm having some trouble modelling this so support the various systems.To explain the rules, users log in and peform actions, but these actions may be in their own name, or ...

setXXX(null) vs. clear()

1055 byte By _dnoyeBa at 2007-10-2 2:34:04
Which technique do you prefer for clearing a property and why?public Object getXXX(){ return thing;}//technique A: call setXXX(null)public void setXXX(Object o){thing = o;}//technique B: call clearXXXpublic void clearXXX(){ thing = null;}I have preferred B. it helps to catch mistakes with ...

Design Feedback

2106 byte By dynobirda at 2007-10-2 2:35:55
Hi, I'm making an Instant Messenger program and before I write out all the code I'd like some feedback on its design. My plan is to have one main object that does most of the talking. And it will be one-way talking to, this object will talk to other objects, and these other objects won't ...

Resources closed by callee - good or bad pattern?

609 byte By richardbirenheidea at 2007-10-2 2:38:12
I recently came across an API where I have to pass an InputStream as one of the parameters. Surprisingly, the InputStream was closed by the callee when EOF was reached. Since I passed an InputStream for a zip entry derived from a ZipInputStream the entire ZipInputStream was closed making it ...

DAO Pattern Explain Plz

195 byte By nskarthik_ka at 2007-10-2 2:38:38
Hi FormIn J2ee DAO PatternUsing the DataSource , Is it necessary to create Connection POOL or NOTfor faster Data access from EIs tire.with regardsKarthik

How to identify classes

304 byte By vasudev123a at 2007-10-2 2:39:33
Hi All, I am beginner to OOAD. Please guide me by specifying any easy steps or procedure available to identify classes from requirements. Thanks in Advance.Also please suggest me good books and online materials/tutorials on ooad topic. Thanks & Regards, ...

The woes of multithreading and writing a scheduler

907 byte By sodhi007a at 2007-10-2 2:42:13
Hi GurusI had no idea where to put this particular question but i fugured this should be the best place( moderators if this is not so please transfer this to the appropriate forum)My problem is that of writing an age old task of a schedualar and just can't seem to find the best way of doing ...

MVC Question

1486 byte By dynobirda at 2007-10-2 2:42:56
HiIn order to become more efficient at making an OOP design, I am starting off by thinking up simple ideas for programs and then trying my best to design them in an efficient, OOP fashion.So here's the scoop. I'm making a TicTacToe program, which allows someone to play a computer. It is not ...

Looking for interesting things in design patterns?

180 byte By Seshamsettia at 2007-10-2 2:44:52
If you really look for exciting things in design patterns then please remit me your details, so I can help you by forwarding added facts on this.Regards,Chandu

Interaction and Activity diagrams

221 byte By orjaykaya at 2007-10-2 2:51:02
What is the distinction between activity and interaction diagrams. Both specifies design of processes.I am not sure if this is the right forum. If its not, please direct me to the right forum. Thanks!

Classes Relationships

324 byte By Katsouranis75a at 2007-10-2 2:51:48
Hi everyoneI am new to OOA and OOD and in UML.I must clarify these concepts in my mind.-Association-Composition-Aggregation-Dependancy-Is Association a superset of Aggregation and Composition?Can anybode give me any links or examples how these are implemented in ...

OO Design and testing

421 byte By colliedunka at 2007-10-2 3:01:52
Hi there,If one has a private variable and a public "setter" method in a class how would one go about testing this "setter"? Like to test if a particular object was actually set it would require a public "getter" which is exposing implementation.Would it be best then to infer the validitity of ...

How determine if an Object Reference is used In Association or Compositon

523 byte By aterria at 2007-10-2 3:02:14
HiThank you for your time.I was wondering how can you determine if an object reference is used in association or composition?Also if possible please explain me the concepts:I know:Composition: When a class contains other instances of another classAggregation is the same as Composition but it ...

1 Connection for everything

246 byte By gmaggessa at 2007-10-2 3:08:08
Hi Gurus,I have a problem developing my application. The main requirement is that I MUST use just 1 connnection for all users. So, my question is, what kind of patten should I use so as to control this issue.Thanks in advance

Looking For a Good Book

709 byte By dynobirda at 2007-10-2 3:09:40
HiI'm looking for a good book on design patterns, and perhaps designing applications in general (not a review of Java, just design considerations). I am only slightly exposed to design patterns, so I would like a book that covers the "introductions" and such to basic design patterns, as well ...

Is there anybody used connection pool of proxool in hibernate?

204 byte By Terry_Yip_GZa at 2007-10-2 3:10:00
I wonder how to do the setting in the hiernate.cfg.xml if I integrate proxool with hibernate in my projectIf you know it,pls paste your setting in hiernate.cfg.xml on the page, Thanks a lot.

Should I use an XML parser on the serverside

337 byte By Baigya at 2007-10-2 3:17:39
Hi I am a newbie. I have an entity ejb generating XML on the serverside.The flash client goes onto displaying the data through using a parser.Would a XML schema be adeqate on the server side to test if it is valid and well formed.My apologies if i am using the wrong forum.Many Thanks in ...

Re-using related functionality amongst unrelated classes

1165 byte By mc3712a at 2007-10-2 3:21:14
Hi, I have classes like these:abstract class Entityabstract class SpaceShip extends Entity implements Thrustableclass Astronaut extends Entity implements ThrustableThrustable has:- thrust()- brake()- afterburner()What I want to do is share the same thrusting methods for both spaceships and ...

An MVC Question

742 byte By dynobirda at 2007-10-2 3:27:50
I have a couple questions about MVC's. First of all, if you have multiple controllers, should your model have static fields and methods? Or should you be more "OOP" and go through the tenuous work of passing a model object via constructors?Secondly, lets say I have a controller that acts based ...

OOD question

3704 byte By s_narraa at 2007-10-2 3:33:54
Hi,I've the following set of classes. I would like to know if there is a better way of handling this behavior:FYI:: This is not a complete programClass A {private int maxValue;// ConstructorA(int maxValue) {this.maxValue = maxValue}void doValidation (int value) {if (value < getMaxValue()) { ...

Inner classes that are... well, outside.

859 byte By Drake_Duna at 2007-10-2 3:42:36
I am coding my first real java application and I am making fairly heavy use of inner classes. I am starting to wish that there were some way to keep them in separate .java files... like...Outter.javapublic class Outter {private class Inner;}Outter$Inner.javaclass Inner inside Outter {}From an ...

What is delegate mean?

109 byte By jimmy6a at 2007-10-2 3:46:06
What is delegation mean? Can any one let me see delegation in coding. Don't just explain in sentence.

A question about inheritance and overwriting

2054 byte By Hackemessera at 2007-10-2 3:46:18
Hello,My question is a bit complicated, so let's first explain the situation with a little pseudo code:class A {...}class B extends A{...}class C extends B {...}class D extends C {...}class E extends B {...}class F { ArrayList objects; // contains only objects of classes A to E void ...

Overloaded constructors, final and assert

905 byte By SmellyCata at 2007-10-2 3:46:35
I am having some difficulties of using final variables and still have the ability to check parameters in the constructor.For example take this class:class MyObject {final String id;final String value;public MyObject(String id, String value) { assert id != null : "error"; assert value != null : ...

What do u think?

1732 byte By Enigmaa at 2007-10-2 3:46:57
We have an application which is built only using JSP's. There are no java classes in the application. All the business logic is there in JSP's no Java classes. Since iam new to this project iam trying to convince ppl to go for java classes for new changes so that we can reuse the code. They ...

design problem

995 byte By ksimons1982a at 2007-10-2 3:49:09
All,I want to do the following if possible :I have a class that returns the status whether an action failed or not.Then I have another class that does the same thing.Now I want to have 1 class that gets all the status reports(which the classes return) and returns them to a class that calls ...

Big Picture Architecture - why we never go far enough

1705 byte By catchpole.neta at 2007-10-2 3:50:35
I抎 like to start some discussion about some bigger picture architectural concepts.I guess what I want to talk about stems into the approach of software development in general. I have a particular philosophy for design of systems: that most code can be simple, generic and reusable. It抯 the basic ...

A GUI design question

2987 byte By bill180282a at 2007-10-2 3:51:36
Hi, I'm relatively new in OO programming so I hope this isn't a stupid question.Suppose we have the following interfaces,public interface Driveable {public void startDriving();public void stopDriving();public void turnLeft();public void turnRight();}public interface Flyable {public void ...