@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4



Comments:

<0> what's the need for a singleton cl***...I mean for the building of a cl*** that may have only one instance?
<1> whenever you run into problems, just google how to <problem>
<1> and you probably will find a tutorial about it
<1> yes
<1> to maintain the number of instances
<0> aha
<1> for example, you want only 1 connection to the database
<1> you can create a singleton cl*** called ConnectionManager
<1> which offers a method called getConnection()
<1> it a connection already exists it returns that connection
<1> if not it creates a new one and returns the new one
<2> Well, gotta run now, thx for the help rob, might be here again 2morrow
<1> bye ilsn
<0> so only one instance it's allowed
<1> not nessesarily
<1> the ConnectionManager could also allow more Connections to be created



<1> like max 4
<0> creates a new one and returns the new one this it's the point I don't understand
<0> return to who?
<1> to the caller of the getConnection method
<0> I see
<1> lets say I want to have a database connection
<0> yes
<1> I call ConnectionManager.getConnection()
<1> it returns me a Connection instance
<1> and I can query the database with it
<0> I see it now
<1> the next time I want a connection I call getConnection again
<1> the ConnectionManager can return the same connection
<1> unless the connection might have timed-out
<1> it then will create a new one and gives it to me
<0> okay...:)
<0> I must code more to understand completely this things
<0> anyway..thank u a lot for your time
<1> singleton is a pattern
<1> there are books that explain all kinds of patterns
<1> patterns are just ways to do things
<0> ..and don't worry..I'll bother u again in the future days :D
<1> language independend
<0> I see
<0> well I have a problem with the tutorials beacouse of english (I'm romanian)
<0> but..I'll do that
<0> tnx anyway :)
<1> k
<0> see u soon
<0> :D
<0> it's working !
<0> yeee
<0> bye
<1> heidi clum
<3> hi
<4> Morning
<3> i'm geting clas "java" on my universty, so i'm curies what java is?
<3> in few words :)
<4> It's a programming language, like C++
<3> where can i read about it, but in few words
<3> ok, i have learned c++
<4> It's very like C++, but is cross-platform
<3> for what is most used java? web aplications?
<4> There are also browser plugins that allow you to run java in a web-browser (this is called an applet)
<1> mainly enterprise applications
<4> Java is probably used most on server-side applications
<3> yes, herad about applets
<4> See http://en.wikipedia.org/wiki/Java_programming_language
<4> A good summayr
<4> summary
<1> there are also client applications written in java
<3> LLyric thanks for the link
<1> and most mobile phones support java
<3> so sintax is like c++?
<1> its similar
<3> ok
<1> but the language is different
<1> and the api is very different
<1> www.thejavatutorial.com
<3> so i guess i'll stick around this chann now :))



<4> But I was a C++ wiz
<1> make sure to do the 'first cup of java' tutorial before you do anything with java
<3> rob_uknow i will learn java at universty
<1> universities don't do a good job
<5> rob_uknow++
<4> Why not learn it in advance, it'll have more time to sink in
<1> instead of learning how to program you are solving math problems instead
<5> tertiary institutions are a very suboptimal way to obtain knowledge
<5> instead, set a primary objective of obtaining the piece of paper
<5> dedicate other resources to educating yourself, since it is more optimal
<1> and you can learn a language but learning about application architectures is also important
<6> dibblego that was a very suboptimal way of saying "universities are crap places to learn"
<5> I'm a lecturer, I tell my students that at the start of every semester :)
<1> and how to spot and solve errors, how to make maintainable code etc
<1> what development methods there are
<1> most schools don't pay any attention to these things
<7> evening all
<1> crap
<1> aussie
<4> http://www.magpiebrain.com/archives/2006/01/13/joke
<4> hahahah http://www.thesneeze.com/mt-archives/cat_steve_dont_eat_it.php
<8> not to mention the mediocre bottle of Greek wine
<4> Hehe
<8> hm, shockingly drinkable
<8> (i.e. the bottle is now empty)
<9> hi
<9> anybody experienced on java clients for .net web services?
<8> No, but I did see an article raving about some library IBM has for making accessing web services nice and easy
<10> anyone know a good place to get java apps for my nextel phone
<5> http://www.google.com/search?q=a+good+place+to+get+java+apps+for+my+nextel+phone&btnG=Search+Google&hl=en would be a good place to start
<11> hi everybody
<11> can anybody tell me what's the best program to make reports from java?
<12> define 'reports' ?
<13> dibblego?
<13> hi all
<14> is their a package that supports both tomcat jsp and mysql??
<5> that question is bordering on going into my javabash collection
<14> im newbie..
<14> pls
<15> Hiya guys :-)
<16> hello
<17> hello
<16> is it possible to render a html page (with CSS & JS) in a Java GUI object exactly as IE or FF would?
<17> optocus windows only?you can use SWT and embed ie
<18> optocus, theres some (commercial) and a one or two open-source CSS/HTML swing components you can use to render HTML - but it'll never be -exactly- like IE or FF as its not them.
<16> i see
<16> there's no way if i have IE or FF installed to use theyr rendering engines hum?
<19> as html ...
<17> http://www.esus.com/javaindex/otherapis/swt/swtembedie.html not exactly ortable
<17> portable
<20> znabela
<20> are you online?
<21> No
<21> hehe
<21> Joke
<20> :))
<22> did you already msg me once before?
<20> yes I did
<20> znabela
<22> dont do it again
<23> hi
<23> can i ask you a favor?
<23> can anybody give me a web site for a free java compiler?
<21> search google
<21> i use JCreator
<19> why not java.sun.com , nice_guy19 ?
<23> ok thx
<19> hej Thunder^
<15> Hey tera
<24> hello


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #java
or
Go to some related logs:

mirdass.org
eric hoffer quote pretences
c:set access variable within scriptlet
progressbar javascript page load
max_pwer
#php
tangereens
houseman mirc
DCC passive mode
#linuxhelp



Home  |  disclaimer  |  contact  |  submit quotes