JAVA - Tutorials

Tutorials Shared by the Internet Community
Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  


Found 687 Tutorials

gap line

Most Recent Tutorials


  • Spring tutorial to convert Java collection to String

    Apart from dependency Injection , Spring framework also has a good Java library which provides lots of utility method. One of them is collectionToComm
    http://javarevisited.blogspot.com/2012/08/convert-collection-to-string-in-java.html
    • 12595 Hits
    • RatingURL RatingURL RatingURL RatingURL RatingURL Rating
    • Cat:Spring

  • What is JSESSIONID Cookie in J2EE web applications

    JSESSIONID is a cookie in J2EE web application which is used in session tracking. Since HTTP is a stateless protocol, we need to use any session
    http://javarevisited.blogspot.com/2012/08/what-is-jsessionid-in-j2ee-web.html
    • 23648 Hits
    • RatingURL RatingURL RatingURL RatingURL RatingURL Rating
    • Cat:J2EE

  • Unit testing best practices in Java using JUnit

    JUnit is most popular framework for unit testing in Java and following some unit testing best practices you can test your Java code more effectively.
    http://javarevisited.blogspot.com/2012/08/best-practices-to-write-junit-test.html
    • 13941 Hits
    • RatingURL RatingURL RatingURL RatingURL RatingURL Rating
    • Cat:Misc

  • How to find value of Environment variables in Java

    In order to get value of Environment variables in Java, you can use System.getEnv() method. By using this method you can either get value of single sp
    http://javarevisited.blogspot.com/2012/08/how-to-get-environment-variables-in.html
    • 12836 Hits
    • RatingURL RatingURL RatingURL RatingURL RatingURL Rating
    • Cat:Misc

  • How to read String from InputStream in Java with Exampl

    Reading String from InputStream is a common Java programming task and there are several ways you can read String from InputStream e.g. using Scanner,
    http://javarevisited.blogspot.com/2012/08/convert-inputstream-to-string-java-example-tutor...
  • How to create read only Collection in Java with Example

    Read only collection means any collection which once created can not be modified i.e. you can not add new elements, you can not remove elements and ev
    http://javarevisited.blogspot.com/2012/07/create-read-only-list-map-set-example-java.html
  • How to use CountDownLatch in Java with Example

    CountDownLatch in Java is similar to CyclicBarrier and can be used in place of CyclicBarrier with only difference is that you can reuse CyclicBarrier
    http://javarevisited.blogspot.com/2012/07/countdownlatch-example-in-java.html
    • 13149 Hits
    • RatingURL RatingURL RatingURL RatingURL RatingURL Rating
    • Cat:Misc

  • How to use CyclicBarrier in Java with Example

    CyclicBarrier is a concurrency utility added in Java 5. One example of How to use CyclicBarrier in Java along with What is difference between CyclicB
    http://javarevisited.blogspot.com/2012/07/cyclicbarrier-example-java-5-concurrency-tutoria...
  • Class loading and Initialization in Java

    Classloading and Initialization of class variables, member variable, super class and sub class variables are one of the most important concept to unde
    http://javarevisited.blogspot.com/2012/07/when-class-loading-initialization-java-example.html
  • BufferedReader Example in Java - Reading File line by l

    BufferedReader in Java can be used to read any file line by line, it provides method like readLine() which returns line by line until end of file reac
    http://javarevisited.blogspot.com/2012/07/read-file-line-by-line-java-example-scanner.html
    • 15473 Hits
    • RatingURL RatingURL RatingURL RatingURL RatingURL Rating
    • Cat:Misc

  • Get vs Load method in Hibernate - Interview Question

    Both get and load method are used to retrieve object in hibernate but there are subtle difference between them which can affect performance if used at
    http://javarevisited.blogspot.com/2012/07/hibernate-get-and-load-difference-interview-ques...
  • How to use Autoboxing and Unboxing in Java with Example

    Autoboxing is introduced in JDK 5 and allows automatic conversion of primitive to Object type. There are subtle details about auto boxing which is req
    http://javarevisited.blogspot.sg/2012/07/auto-boxing-and-unboxing-in-java-be.html
  • Instance variable vs Local variable in java

    This tutorial explains about what is local and instance variables and the difference between the instance variable and local variable
    http://www.techlabs4u.com/2012/10/instance-variable-vs-local-variable-in.html
  • Solving JSP Threading issues.

    This tutorial tells about how to solve jsp threading issues.
    http://www.techlabs4u.com/2012/11/solve-jsp-threading-issues.html
    • 15309 Hits
    • RatingURL RatingURL RatingURL RatingURL RatingURL Rating
    • Cat:J2EE

  • Java Garbage Collection Tutorial

    This tutorial explains about what is garbage collection in java
    http://www.techlabs4u.com/2012/10/garbage-collection-in-java-tutorial.html
  • How to use Enum as Singleton in Java with Example

    From Java 5 onwards there is a new way to implement Singleton design pattern, by using Enum. Enum has some distinct benefits in terms of thread-safety
    http://javarevisited.blogspot.com/2012/07/why-enum-singleton-are-better-in-java.html
  • What is builder pattern in Java with real life Example

    Builder pattern in Java is used to create objects with lots of mandatory and option value. Since after 4 or 5 arguments constructor started getting ug
    http://javarevisited.blogspot.com/2012/06/builder-design-pattern-in-java-example.html
  • What is UseCompressedOops option in 64 bit JVM - Java

    -XX:UseCompressedOops is a JVM command line option which is provided in 64 bit hotspot JVM. Since size of OOPS is larger in 64 bit JVM which reduces C
    http://javarevisited.blogspot.com/2012/06/what-is-xxusecompressedoops-in-64-bit.html
  • How to use JUnit 4 Annotation with Examples

    Junit is best framework for writing unit tests and with introduction of annotations on JUnit 4 its become even more sophisticated and easier but In or
    http://javarevisited.blogspot.in/2012/06/junit4-annotations-test-examples-and.html
    • 15270 Hits
    • RatingURL RatingURL RatingURL RatingURL RatingURL Rating
    • Cat:Misc

  • How to create database connection pool in Spring Java

    Step by Step guide on how to create JDBC connection pool in Spring framework. Spring allows you to create JDBC pool directly or access it using JNDI.
    http://javarevisited.blogspot.com/2012/06/jdbc-database-connection-pool-in-spring.html
    • 16722 Hits
    • RatingURL RatingURL RatingURL RatingURL RatingURL Rating
    • Cat:Spring



Advertisements
Advertisements