atul-dhiman.blogspot.com
Atul Blog for Asp.Net : 01/10/12
http://atul-dhiman.blogspot.com/2012_10_01_archive.html
Hire Me on Freelancer.com. Atul Blog for Asp.Net. Just for sharing knowledge. Wednesday, 24 October 2012. Mostly asked SQL Server 2005 2008 Interview Qusetion and Answers (Part 1). 1 Write a query to select the second highest salary from a table. Answer: SELECT max (salary) AS salary2 FROM orders WHERE salary (SELECT max (salary) AS salary1 FROM orders). 2 Write a query to select the 5th highest salary from a table. 3 How to find duplicate records with the number they are duplicated? Answer: Delete comma...
ajkush-ws.blogspot.com
Java Development Collection.: What is subversion..?
http://ajkush-ws.blogspot.com/2011/10/what-is-subversion.html
Java hello world code collection , java Development Collection! Sunday, October 16, 2011. Labels: what is subversion? Is a version control system that is widely used by many Open Source projects such as Apache and GCC. Subversion started as a project to implement features missing in CVS. Some of these features are:. Subversion tracks structure of folders. CVS doesn't have the concept of folders. Subversion commits are atomic. Subversion retains the revision history of moved or copied files. Link, then fi...
ajkush-ws.blogspot.com
Java Development Collection.: 6/1/11
http://ajkush-ws.blogspot.com/2011_06_01_archive.html
Java hello world code collection , java Development Collection! Thursday, June 23, 2011. The processing of text often consists of parsing a formatted input string. Parsing. Is the division of text into a set of discrete parts, or tokens,. Which in a certain sequence can convey a semantic meaning. The StringTokenizer. Class provides the first step in this parsing process, often called the lexer. Lexical analyzer) or scanner. You specify an input string and a string that contains delimiters. Delimiters.
ajkush-ws.blogspot.com
Java Development Collection.: Java Concurrency / Multithreading (Ver 7)
http://ajkush-ws.blogspot.com/2011/10/java-concurrency-multithreading-ver-7.html
Java hello world code collection , java Development Collection! Java Concurrency / Multithreading (Ver 7). Tuesday, October 11, 2011. Labels: Java Concurrency / Multithreading. Java Concurrency / Multithreading. This article describes how to do concurrent programming with Java. It covers the concepts of parallel programming, immutability, threads, the executor framework (thread pools), futures, callables and the fork-join framework. Below are the tutorials for Java Concurrency / Multithreading.
ajkush-ws.blogspot.com
Java Development Collection.: 4. Immutability and Defensive Copies
http://ajkush-ws.blogspot.com/2011/10/4-immutability-and-defensive-copies.html
Java hello world code collection , java Development Collection! 4 Immutability and Defensive Copies. Tuesday, October 11, 2011. Labels: Immutability and Defensive Copies. 4 Immutability and Defensive Copies. The simplest way to avoid problems with concurrency is to share only immutable data between threads. Immutable data is data which can not changed. To make a class immutable make. All its fields final. The class declared as final. The this reference is not allowed to escape during construction. What i...
ajkush-ws.blogspot.com
Java Development Collection.: 5. Threads in Java
http://ajkush-ws.blogspot.com/2011/10/5-threads-in-java.html
Java hello world code collection , java Development Collection! 5 Threads in Java. Tuesday, October 11, 2011. Labels: Threads in Java. 5 Threads in Java. The following demonstrates a task (Runnable) which counts the sum of a given range of numbers. Create the Java project "de.vogella.concurrency.threads" for the example coding of this section. Devogella.concurrency.threads;. CountUntil; MyRunnable( long. CountUntil = countUntil; }. I countUntil; i ) { sum = i; } System.out.println(sum); } }. We will crea...
ajkush-ws.blogspot.com
Java Development Collection.: 7/1/11
http://ajkush-ws.blogspot.com/2011_07_01_archive.html
Java hello world code collection , java Development Collection! Core J2EE Patterns - Data Access Object (DAO). Sunday, July 10, 2011. Labels: Core J2EE Patterns - Data Access Object (DAO). Core J2EE Patterns - Data Access Object. Access to data varies depending on the source of the data. Access to persistent storage, such as to a database, varies greatly depending on the type of storage (relational databases, object-oriented databases, flat files, and so forth) and the vendor implementation. Components n...
ajkush-ws.blogspot.com
Java Development Collection.: 9. Fork-Join in Java 7
http://ajkush-ws.blogspot.com/2011/10/9-fork-join-in-java-7.html
Java hello world code collection , java Development Collection! 9 Fork-Join in Java 7. Tuesday, October 11, 2011. Labels: Fork-Join in Java 7. 9 Fork-Join in Java 7. Java 7 introduce a new parallel mechanism for compute intensive tasks, the fork-join framework. The fork-join framework allows you to distribute a certain task on several workers and when wait for the result. For Java 6.0 you can download the package (jsr166y) from. Create first a package "algorithm" and then the problem class. List; } }.
ajkush-ws.blogspot.com
Java Development Collection.: 8/1/11
http://ajkush-ws.blogspot.com/2011_08_01_archive.html
Java hello world code collection , java Development Collection! Quick look at JAVA 7. Friday, August 12, 2011. Labels: Quick look at JAVA 7. All set and I started to play with some languages new features, aka Project Coin. Strings in Switch: In all examples, I tried first to write code as we usually do, and then convert the code to a Java 7 feature. The cool thing about NetBeans. Is it already have tips to convert the code. And if we accept the change, it will convert the code into this:. Binary = 0b1000;.
SOCIAL ENGAGEMENT