Copyright 2021 © QuinStreet Inc. All Rights Reserved
DevX Tips Bank: Java
Do not Allow Critical Data to be Serialized
Language: Java, Expertise: Intermediate - Learn how to use the …
Testing for String Equality
Language: Java, Expertise: Beginner See an example of the best way to …
Making a File Read-only Using Java
Language: Java, Expertise: Intermediate - Explore how the …
JSF Backing Bean Tips: Parameter Extractions and Redirects
These two quick JSF bean backing tips show how to extract request parameters and redirect …
Java Code to Filter File Names in a Directory
Using this Java code snippet, you can filter file names for array of extensions, split the …
Managed Classes and Object Injection in Java EE 5
Get a quick reference for what types of managed class can inject what object in Java EE 5.
Managing Concurrent Requests with EJB Containers
A limitation of EJB containers is that they can't serialize complex objects. Find out how …
Using EJB Interceptors for Java EE Audits
With EJB interceptors, you can access the name, parameters, and EJB context of business …
Java Tip: Optimization Technique for Lists
An ArrayList that is not initialized with the proper size can slow your Java application's …
Static Class Values Are Valid Even Without a Main Method
This example shows how a static block can work even without a main method.
Using Tree(Map,Set) in Collections
To add objects to a Tree(Map, Set), implement the Comparable.compareTo method.
A Guide to Determine When You Need a Java Interface
You definitely need an interface if your needs match either of the two scenarios discussed …
vs. Using a StringTokenizer
It's not always safe to use String.split(String). Consider using the String …
Achieve Syntax Brevity with Anonymous Classes and Instance Initializers
Shorten your code using these techniques.
Execute DOS Commands from a Java Program
Use this tip to run DOS commands from your Java Program on Windows.
Acceptable Use Policy
Terms of Service
California - Do Not Sell My Information