Filter by tag Java

Number of results: 4
  • Concurrency programming in Java

    11 comments

    Volatile The Java volatile keyword is used to mark a Java variable as 'being stored in main memory'. More precisely that means, that every read of a volatile variable will be read from the computer's main memory, and not from the CPU cache, and that every write to a vo …

    Read More
  • JSP (JavaServer Pages)

    11 comments

    JSTL - Core <c:if> Tag The <c:if> tag evaluates an expression and displays its body content only if the expression evaluates to true. The <c:if> tag has the following attributes − Attribute Description Required …

    Read More
  • JPA & Hibernate

    11 comments

    Lazy loading problem Also beware of the n+1-problem. Hibernate will not actually load all children when you access the collection. Instead, it will load each child individually. When iterating over the collection, this causes a query for every child. In order to avoid …

    Read More
  • Java thread analyzer

    11 comments

    IBM Thread and Monitor Dump Analyzer for Java A tool that allows identification of hangs, deadlocks, resource contention, and bottlenecks in Java threads. Run jstack with the 'jboss' user: $ sudo -u jboss jstack -l PID > jstack_PID.txt Ref: IBM DeveloperWorks: Java A …

    Read More