wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes what is singleton? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "what is singleton? " Watch "what is singleton? " New topic
Author

what is singleton?

Vibhath jayasinghe
Greenhorn

Joined: Feb 13, 2013
Posts: 1
Hi how to use singleton to send information through SQL in JDBC application?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38066
    
  22
Welcome to the Ranch
The simplest answer is: not at all. There are many places where you can find out about sending SQL information; here’s a good one.
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11169
    
  16

Any time someone asks "How do I use X to do Y", I want to SCREAM at the top of my lungs "STOP!!!"

Your question is like saying "How do I use a hammer to drill a 1.5cm hole in a wall?" Don't decide on the tool first and then figure out how to make it do what you need done.

Look at what you need to to - analyse it, write down some specs, consider end- and corner-cases...and THEN look in your toolbox for something that can help you do that. Or ask a master carpenter what would be a good tool to do the job.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is singleton?
 
Similar Threads
Tech Word Game
Creating a utility managed bean, to move common code and use from different beans?
Single pattern
Hashtable's put method problem in locking
singleton class