Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx01.iad01.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe01.iad.POSTED!8ad76e89!not-for-mail From: Arved Sandstrom User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.20) Gecko/20110805 Lightning/1.0b2 Thunderbird/3.1.12 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: java References: <1de867e5-8511-4c7f-8a68-46a68c79cbe1@k12g2000prl.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Lines: 31 Message-ID: X-Complaints-To: abuse@newsgroups-download.com NNTP-Posting-Date: Fri, 26 Aug 2011 22:22:34 UTC Organization: Public Usenet Newsgroup Access Date: Fri, 26 Aug 2011 19:22:33 -0300 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7403 On 11-08-26 09:35 AM, Rajiv Gupta wrote: > On 2011-08-25 00:57:00 +1000, ajit kumar said: > >> in java what does it means getConnection function > > It means to obtain the Connection for the Java with the function > getConnection. This is very useful for the getting of connection for use > in the Java program which is developed by the programming team. > > After you get the connection you need to store it in a safe place where > it cannot be lifted by the malware or virus, so often the programmer > puts the connection inside an array (which makes it difficult for the > malware to see it). > > When you need to use the connection (for example to ask for the data of > the connection or the connection speeds (and to change connection > speeds) you must unhide it temporarily for to use it. > > Java is not the best language for getConnection function. There are > problems with syntax dripping and difficulties with encryptor. I would > recommend to switch to a more performant language like Visual Basic. > The advantage of the Visual Basic is that it is supported by Microsoft. > The Java is not supported by Microsoft any more > Visual Basic is good because you can use the better variables in Visual Basic. Java has variables too but they are copy on value references. You cannot write a swap function of Java copy on value references. So use real variables in Visual Basic. This means you can better swap connections. It is hard to write a Java connection pool because of this. AHS