Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
Search the Tips
Tip Bank > Java

Java - Page 3

Applets
Classes
Enterprise Javabeans
Garbage Collection
Java APIs
  AWT   Enterprise JavaBeans   JDBC   Swing
Java Servlets
Object Serialization
RMI-IIOP
Threading
41-60 of 1728     Previous     Next
Making a Java List Thread Safe
by M S Sridhar
Language: Java, Expertise: Intermediate — The java.util.list is not thread safe by default. Learn a quick workaround to make your list thread safe.
Creating a Spring Read Only and Native Query
by Octavia Anghel
Language: Enterprise, Expertise: Intermediate — For reading operations, the transaction configuration readOnly flag should be set to true and in order to execute native queries, the @Query annotation parameter, nativeQuery flag, should be set to true.
Using a JDBC Template
by Octavia Anghel
Language: Java, Expertise: Intermediate — Spring provides a nice abstraction on top of the JDBC API using JdbcTemplate and also provides great transaction management capabilities using annotation-based approach.
Understanding the Time Taken to Execute a Task
by M S Sridhar
Language: Java, Expertise: Intermediate
Use the @RestController Annotation
by Octavia Anghel
Language: Enterprise Intermediate
Variable Argument Method
by M S Sridhar
Failing Test After Time Expired in Mockito
by Octavia Anghel
Language: Enterprise||Expertise: Intermediate
Defining a Parameter in Jenkins
by Octavia Anghel
Language: Enterprise||Expertise: Beginner
Memory Tuning: Key Performance Indicators
by Ram Lakshmanan
Language: Java||Expertise: Advanced
Thread Dump Analysis Pattern
by Ram Lakshmanan
Language: Java||Expertise: Advanced
Create an Instance of a Class Whose Name Will Be Supplied at Runtime
by Amar Gunda
Your Java program won't know which class to instantiate until it is executing. So how can you create an instance that class ahead of time?
JSF Backing Bean Tips: Parameter Extractions and Redirects
by Leonard Anghel
These two quick JSF bean backing tips show how to extract request parameters and redirect page loads.
Java Code to Filter File Names in a Directory
by deniz mermerci
Using this Java code snippet, you can filter file names for array of extensions, split the file names, and test the resulting array.
Managed Classes and Object Injection in Java EE 5
by Anghel Leonard
Get a quick reference for what types of managed class can inject what object in Java EE 5.
Managing Concurrent Requests with EJB Containers
by Anghel Leonard
A limitation of EJB containers is that they can't serialize complex objects. Find out how the PrePassivate and PostActivate methods overcome this shortcoming.
Using EJB Interceptors for Java EE Audits
by Leonard Anghel
With EJB interceptors, you can access the name, parameters, and EJB context of business methods.
Java Tip: Optimization Technique for Lists
by Deepak Tyagi
An ArrayList that is not initialized with the proper size can slow your Java application's performance.
Serialize Any .NET Object to a JSON String
by Deepak Choudhari
With JSON's popularity increasing by leaps and bounds, you'll find this technique useful.
Static Class Values Are Valid Even Without a Main Method
by Mannu Saini
This example shows how a static block can work even without a main method.
Using Tree(Map,Set) in Collections
by Sivaranjani Duraisamy
To add objects to a Tree(Map, Set), implement the Comparable.compareTo method.
41-60 of 1728     Previous     Next
Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date