Click here to Skip to main content
15,892,737 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: singleton pattern example Pin
Urs Enzler5-Sep-07 4:40
Urs Enzler5-Sep-07 4:40 
GeneralRe: singleton pattern example Pin
led mike5-Sep-07 6:24
led mike5-Sep-07 6:24 
GeneralRe: singleton pattern example Pin
Urs Enzler5-Sep-07 7:04
Urs Enzler5-Sep-07 7:04 
GeneralRe: singleton pattern example Pin
led mike5-Sep-07 7:27
led mike5-Sep-07 7:27 
GeneralRe: singleton pattern example Pin
Urs Enzler5-Sep-07 7:51
Urs Enzler5-Sep-07 7:51 
GeneralRe: singleton pattern example Pin
led mike5-Sep-07 8:07
led mike5-Sep-07 8:07 
GeneralRe: singleton pattern example Pin
Urs Enzler5-Sep-07 20:19
Urs Enzler5-Sep-07 20:19 
AnswerRe: singleton pattern example Pin
hotcodeking5-Sep-07 1:58
hotcodeking5-Sep-07 1:58 
Hi Dear

as theory says singleton use is for making one instance available throughout the life time of application

As far as scenario is concerned the dbconnection is bad one as some one said becos of pooling. You can think of salary being credited and debited to employee accounts in banks. you can make sure this operation is implemented using singleton class can also make sure only the manager or single person in bank has access to this class.



Gokul- MCSD:MCAD:MCP - Technical Lead - GFT INDIA

AnswerRe: singleton pattern example [modified] Pin
ElSpinos13-Sep-07 23:00
ElSpinos13-Sep-07 23:00 
AnswerRe: singleton pattern example Pin
etkid8421-Sep-07 3:02
etkid8421-Sep-07 3:02 
QuestionApplications communication Pin
Yoav Zur28-Aug-07 19:18
Yoav Zur28-Aug-07 19:18 
AnswerRe: Applications communication Pin
led mike30-Aug-07 4:43
led mike30-Aug-07 4:43 
QuestionClass design help Pin
rsaint2727-Aug-07 3:18
rsaint2727-Aug-07 3:18 
GeneralRe: Class design help Pin
Paul Conrad27-Jan-08 7:12
professionalPaul Conrad27-Jan-08 7:12 
QuestionPromotion Table Schema Design Pin
yameen26-Aug-07 3:48
yameen26-Aug-07 3:48 
GeneralRe: Promotion Table Schema Design Pin
Paul Conrad27-Jan-08 7:13
professionalPaul Conrad27-Jan-08 7:13 
Questiongetting infragistics Pin
starist24-Aug-07 9:28
starist24-Aug-07 9:28 
AnswerRe: getting infragistics Pin
Mark Churchill2-Sep-07 19:11
Mark Churchill2-Sep-07 19:11 
GeneralRe: getting infragistics Pin
TAHIR MURAD3-Sep-07 1:06
TAHIR MURAD3-Sep-07 1:06 
GeneralRe: getting infragistics Pin
originSH3-Sep-07 23:36
originSH3-Sep-07 23:36 
QuestionFault Exception Error PinPopular
Revathij23-Aug-07 1:29
Revathij23-Aug-07 1:29 
QuestionState Machine Diagram for client-server communication Pin
DotNet.Agrawal21-Aug-07 23:21
DotNet.Agrawal21-Aug-07 23:21 
AnswerRe: State Machine Diagram for client-server communication Pin
Dave Kreskowiak24-Aug-07 6:47
mveDave Kreskowiak24-Aug-07 6:47 
QuestionCreating sequential numbering in a semi-connected environment Pin
francoisdotnet17-Aug-07 21:23
francoisdotnet17-Aug-07 21:23 
AnswerRe: Creating sequential numbering in a semi-connected environment Pin
Mark Churchill19-Aug-07 15:14
Mark Churchill19-Aug-07 15:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.