Coding Is Art

Find The Best Answers To Your Java Coding Problems

Get Raw XML from java web service call in .NET

java - How do I set the working directory for the Ant 'junit' task?

java - Exception other than RuntimeException

java - Servlet URL pattern to match a URL that ends with a slash ("/")

garbage collection - Can you get basic GC stats in Java?

java - How I can decrease time response from Open Office Service using JOD Converter to Print to PDF?

java - Data structures in JDK, under what scenario which one to use?

java - What is the standard way to handle url-mapping for JavaServer Faces?

java - Eclipse editor plugin: "ERROR" when opening file outside project

performance - How many JDBC connections in Java?

java - Difference between break and continue statement

How to easily load a XML-based Config File into a Java Class?

java - How to the JVM to use a given jaas.conf file?

String length differs from Javascript to Java code

java - Where can I get started learning about Rule Engines?

Questions to indicate competency in Java

java - Comparing text files with Junit

c# - Exporting a GUI to XML?

templates - How to use Class<T> in Java?

java - How can I get this program to also print the first entry in the list too?

Why doesn't Java allow generic subclasses of Throwable?

java - How to access static members in a Velocity template?

java - What interfaces are programmable in the Nokia N73?

java - How to determine if a given URL link is a video or image?

java - hashCode() method when equals() is based on multiple independent fields

java - Can IntelliJ create hyperlinks to the source code from log4j output?

java - JTree gives ArrayIndexOutOfBoundsException?

Java: Interface vs Abstract Class (regarding fields)

jvm - Where is the current version of the Java Virtual Machine Specification?

Java Swing: Libraries, Tools, Layout Managers

Generating an image with data fields using Java

Java System-Wide Keyboard Shortcut

Is there a java-library for rendering with a voxel-engine?

windows - Acquiring drive names (as opposed to drive letters) in Java

comparison - What are the differences between LLVM and java bytecode?

tomcat - Java - Differences in AWT from 1.4 to 1.5 ( working on Unix and Windows )

Java library or code sample to parse CTXCAT query syntax (for Oracle CATSEARCH)

firefox - Why Java fails to use Verdana Font with Firefox3 under Terminal server? (AccessControlException)

java - How do I dynamically access request parameters with JSP EL?

java - Understanding the need for a DI framework

java - Find an Image within an Image

Tips for moving from C# to Java?

java - JUnit: Making sure failures in the test method are shown before failures in @After methods

In java, how do I make a class with a private constructor whose superclass also has a private constructor?

java - QCompleter and QLineEdit for multiple words

java - How to generically specify a Serializable List

How can I find out how many rows a MySQL query returns in Java?

java - Slim down and/or understand the Eclipse files in a Dynamic Web Project

java - Regular expressions in J2ME

c# - Consuming in Java a .NET Web Service that requires a custom SOAP Header

java - Felix/OSGi: How to use SCR components that are not OSGi services?

java - Embedded OSGi or Application Bundle

java - Draw offscreen with JOGL

multithreading - What is the most frequent concurrency issue you've encountered in Java?

java - How can I override a class using a separate jar?

java - Call hierarchy of in Eclipse

oop - Stuck on Card/Deck exercise from Java official tutorial

java - What are synchronizing strategies for Prevayler?

How do you make REALLY large boolean arrays using Java?

C++ equivalent of java's instanceof

Regex in java question, multiple matches

security - Java EE Authentication Error Handling

java - is there an easy way to import a black-on-white color scheme in Eclipse

java - How can "while (i == i) ;" be a non-infinite loop in a single threaded application?

java - Is there a rule of thumb for when to code a static method vs an instance method?

java - Timed popup in Android

sockets - How to resolve a Stream Closed Error in java?

java - CPLEX Error 1001: Out of memory

oop - Advantage of Local Classes Java

java - Throwing exceptions to control flow - code smell?

java - How to handle large strings in unit tests?

Is Object constructor called when creating an array in Java?

java - Determining which submit button was used?

Java code or lib to decode a binary-coded decimal (BCD) from a String

java - How do you figure out with Eclipse which JARs depend on which one?

java - BufferedImage's getSubimage performance

java - refresh setCellEditor for JTable

Invoke Python modules from Java

java - Generating a Maven POM from an existing project?

java - Parsing text from the end (using regular expressions)

Use of the String(String) constructor in Java

audio - java sound fade out

java - Connect to a Read Only database

java - Making a cell in a JTable editable - the default value of the cell

java - Map problem with JPA / Hibernate / PG

java - Dynamic throttling of an ActiveMQ message queue with Camel

oracle - Creating package-level associative array in java

java - Continuous Integration: keeping the test DB schema up-to-date

java - seam-gen, netbeans and completion

math - Best way to represent a fraction in Java?

Remote debugging of a Java application launched as a Windows service

java - Easier way to guarantee integer input through Scanner?

java - simulated annealing for placement and routing

java - How can I determine what roles are required to access a URL with Spring Security?

Is this code snippet from Java to c# correct?

java - Spring constructor params?

java - Best XML format for log events in terms of tool support for data mining and visualization?

Java int[][] array - iterating and finding value

java - How can I profile a JNI application using the Eclipse TPTP?

java - How do you access Class object for generics?

java - Class.getResourceAsStream() issue

java - Jython and python modules

enums - Can I add and remove elements of enumeration at runtime in Java

java - How can I draw a filled rectangle in an applet with half opacity?

How to: Java listening for events captured by C thread

java - Are localhost sockets affected when public IP address changes

java - Intellij IDEA setup on OS X

java - Getting user's group name in Windows

java - BlockingQueue: put() and isEmpty() do not work together?

java - JavaBeans Activation Framework: is it worth learning?

java - Oracle ADF Gantt chart

Which open-source java-library provides an easy way to read and write ESRI Shapefiles?

reflection - How to programmatically import Java class

java - Configuring ant to run unit tests. Where should libraries be? How should classpath be configured? avoiding ZipException

java - What happened to android.provider.Telephony?

Use Hashtable, Vector or HashMap or ArrayList in Java

java - How do I go about figuring out this complicated recursion algorithm?

validation - Is there a way in Java to determine if a path is valid without attempting to create a file?

What options do I have for reading Excel files and evaluating formulas in C#, Java and PHP?

design patterns - In Java, how can I construct a "proxy wrapper" around an object which invokes a method upon changing a property?

class - Defining classes in Java files

java - Jfreechart selection

Strange java enum bug

java - Command to give a list of JREs installed on the system

java - How to automatically generate N "distinct" colors?

Reading HTML file to DOM tree using Java

java - JDBC Wrapper tutorial - is it still relevant?

replacing regex in java string

.net - Java's Virtual Machine and CLR

java - Hibernate second level cache with Spring

swing - Java date and calendar controls

Java bug or feature?

java - Is there a maximum number you can set Xmx to when trying to increase jvm memory?

java - How do I attach properties files to a jar?

ldap - How can I work with Novell eDirectory services in J2SE?

java - Weird JDBC executeQuery exception

java - Testing correct timezone handling

java.util.logging.Logger doesn't respect java.util.logging.Level?

java - How can I share my JSP .tag files between multiple contexts?

java - Lucene Sentence Search

Is there a Many to Many Collection in Java using Generics (Domain Model, not Persistence Layer)?

java - How can I measure the size of the object I send over RMI?

Best spell checking api for Java

Java generics and array initialization

Does it help GC to null local variables in Java

java - Swing JLayeredPane.getLayer() - Documentation error or actual side effect?

Java TreeMap equivalent in C#?

Java charset and Windows

java - Things possible in Eclipse that aren’t possible in IntelliJ?

How can I have somehing like the html file button to browser in file in JAVA swing?

java - What's a good html e-mail template system that also, correctly, renders a text/plain alternative?

java - Using ActiveMQ via JNDI

java - move Hudson job to another server

java - Can Paradox 4.5 be set up on a server?

java - Lobo Cobra HtmlPanel does not update GUI after JavaScript action

java - JAXB Documentation Annotation

Mysterious EOF exception while reading a file with Java IO functions

java - Doubt in thread concept

java - Effects of incorrect spring initialization

What Issues prevent Java applications from working on multiple platforms?

Panel with line wrapping and line breaking in Java Swing

forms - Java, GUI builder or hand coding?

In Java, when should I create a checked exception, and when should it be a runtime exception?

java - What architecture? Distribute content building across a cluster

MPI implementation for Java

java - JSTL and authenticated web services

How good is java.util.Random?

java - Build JavaFX project without NetBeans

Java: Allocate uninitialized block of memory?

multithreading - How to restart thread in java?

Java: How to check generic class type definitions?

c# - Consuming a .Net library via COM or direct integration in Java

authentication - How to throttle login attemps in Java webapp?

java - eclipse ini configuration

scheduler - Is there a cron-like implementation of ScheduledExecutorService in Java?

swing - Canvas isn't resizing with window in Java?

user interface - Correct way to use Actions to create menus, toolbars, and other components in Java

java - How to delete buttonGroup in netbeans 6.5

Calculating difference in dates in Java

operating system - How can my Java code read OS environment variables?

Java Applets loading at snail's pace

java - How to store an object instance as a field of an EJB3 entity?

java - How do I correctly decode unicode parameters passed to a servlet

datetime - Java: calculating duration

networking - Java NIO: Sending large messages quickly leads to truncated packets and data loss

environment - Java current machine name and logged in user?

java - String.lastIndexOf() is there a difference between a char and a string with a single character?

process - How to Daemonize a Java Program?

java - Hibernate 3.4 with slf4j and log4j

java - Putting JComboBox into JTable

Primitive type 'short' - casting in Java

netbeans - Cross Platform Button Ordering in Java and Swing

java - Why am I getting a "Path not correct" error while running a batch file on a remote system?

java - Get name of currently executing test in JUnit 4

java - How to use RMI with applet client behind a firewall?

java - Using IntelliJ IDEA 8 for IDEA 6 Projects

Class method and variable with same name, compile error in C++ not in Java?

java - How to collect spring properties from multiple files for use on a single bean

c# - Which language/platform to develop desktop application based on following criteria

java - Locking a file while copying using Commons IO

C# vs Java Enum (for those new to C#)

Number of lines in a file in Java

sockets - Streaming files over the network with random access - java

java - How to generate a hash value in J2ME?

file - Java : How to determine the correct charset encoding of a stream

Does python have an equivalent to Java Class.forName()?

java - What JVM can be run under Mac OS 7.5?

swing - Changing "Favorites" Tooltip in Java Help

syntax - Is it OK to use == on enums in Java?

swing - Pure lightweight application in java

java - Different form actions based on select change events

java - Use of System.exit(0)

java - sun.java2d.loops.ProcessPath$Point

java - Launching background threads on GWT startup

java - SQL exception when trying make an prepared statement

In a multithreaded (Java or .Net) program, can I assume that copying a variable is atomic?

java - Should private helper methods be static if they can be static

java - Do you have any good examples of "architecture for architecture's sake"?

model view controller - Java Web Project Structure Best Practice

java - Is it possible to set a TitledBorder opaque on Swing?

concurrency - Writing long and double is not atomic in Java?

java - Can I execute a shell script from a web page?

java - JUnit 4 Test Suites

What is the Most Efficient Java-Based streaming XSLT Processor?

java - Analyzing XML schemas using org.eclipse.xsd and Maven2

c - Java equivalent of register int?

dependencies - What libraries ship with support for the Java 6 ServiceLoader facility (META-INF/services)?

java - How to "hot" deploy war dependency in Jboss using Jboss Tools Eclipse plugin?

java - How much logic is it "right" to put in a Callable?

netbeans - How do I separate markup from application code when building a Java website?

Is there a way to access an iteration-counter in Java's for-each loop?

java - spring not enforcing method security annotations

java - How to put Google Adsense in GWT

garbage collection - How to cause soft references to be cleared in Java?

java - Total number of loaded classes in Glassfish

Does Java support RAII/deterministic destruction?

In Java how would you write the equivalent of Iterable which could throw exceptions?

Find a way in the java logging frameworks scene

Java, infinite while loop, incrementation

java - jvm design decision

java - Hibernate equivalent to EclipseLink's batch query hint?

java - Applet with JRE 1.5 (IE6) fails to open HTML page over HTTPS, works with JRE1.6

Is it possible to use xpath in java to get the contents of a cdata node with HTML in it

java - how to skip well-formedness check XML

java - What are the benefits of session-per-conversation?

java - Code to utilize memory more than 70%

How can I change some existing Java XSLT code using Xalan to use Saxon and TinyTree

Java, pass-by-value, reference variables

java - Is there a way for an AIR 1.5 app to read from stdin and write stdout/stderr?

java - Is it OK to have two frameworks in the same project?

sql - Link reports to Java? or Find means to apply BOLD format within Paradox 4.5?

java - Changing port on which an Axis web service is listening to

java - How to approximate a vector contour from an elevation raster?

Are Java and C# regular expressions compatible?

java - How to design DAOs when the datasource varies dynamically

jakarta ee - Pros and Cons of Various Java Web Presentation Layer Technologies

java - Spring JdbcTemplate and Threading

java - Recurring "PermGen" in Tomcat 6

java - How easy is it to set up JBoss Seam to run on GlassFish with JPA instead of Hibernate?

java - Good uses for Apache CollectionUtils

Java 6 and JaxB 2.1

java - protected/private - why bother?

java - Find the classname of a UI control

debugging - How do I get Java "hot code replacement" working in JBoss?

java - JPA/Hibernate maximum number of joins?

Smallest Java SVG Engine

Java sound: what's the persistence of set controls?

java - Is there a way to apply the Knuth shuffle to a Stack data structure?

swing - Java GUI Problems

Using a java library from python

java - Access Spring beans from a servlet in JBoss

java - "new BigDecimal(13.3D)" results in imprecise "13.3000000000000007105.."?

java - How do I test a message queue client?

java - How do I set an cache time for objects in OSCache using spring-modules?

encoding - Java App : Unable to read iso-8859-1 encoded file correctly

java - What are J2ME compatible WebDAV libraries?

java - Does the Eclipse Web Tools Project handle refactoring inside JSPs?

Setting up a personal (Java) workspace: What do I need?

c# - Dynamic dispatch and binding

java - Saxon Xalan JSP

java - What is the best way to check if an object is from another(say fixed) list of objects?

java - Merging cells in JTable

java - Use aspectj to profile selected methods

What strategy do you use for package naming in Java projects and why?

How to mix java webstart with RMI?

java - Adding a row to data table using ArrayDataModel in jsf?

Understanding C++ compilers from a Java / C# perspective

java - Is MVC good for mobile device?

swing - Java: Image as toggle button

vista64 - Consequences of Java 32bit on Win(any) 64bit?

java - Why does JRuby not recognize BigNums while Ruby does?

spreadsheet - Java POI - anyone been able to extract numbers from formula cells?

java - How do I keep Netbeans from printing line like this // <editor-fold defaultstate="collapsed" desc=" UML Marker "> when printing code?

java - Efficiently iterate through all MATCHING keys in a hashmap?

tomcat - Asynchronous processing in Java from a servlet

java - Has anybody real world experience with buckminster?

java - Change a Specific Color in an ImageIcon

java - Tabs with equal (constant) width in JTabbedPane

java - How to create encrypted Jar file?

java - Mixed language source directory layout

syntax - Why must delegation to a different constructor happen first in a Java constructor?

java - Custom serialization in JAXB

java - What is difference between autoReconnect & autoReconnectForPools in MySql connector/J?

java - When should Throwable be used instead of new Exception?

java - Adding scripting security to an application

java - Which data structure uses more memory?

java - Which sector of software industry uses C++?

annotations - Overriding line number in generated Java source

java - web.xml <transport-guarantee> not able to work in certain environment

How can I translate printf("%c",M); from C to Java for my DES implementation?

java - How to create a JAR that depends on another JAR?

java - How to avoid the form being submitted after displaying alert?

overflow - Java multiply operation behavior

java - Sourceforge daily builds

groovy - Why some method in Java modify the original value and some do not?

java - Qt Jambi vs SWT for cross-platform GUI development

java - How to assign bean's property an Enum value in Spring config file?

java - ResultSet -> XLS

java - Extra button on title bar for Swing GTK L&F

Naming conventions in C# compared to Java

java - How can I include more than one path on a custom docletpath?

java - Use Mockito to verify that nothing is called after a method

java - Compilation error on Zxing

java - Is there ever a case for 'new' when using dependency injection?

Using "this" with methods (in Java)

java - Where can I find the source code for J2ME?

is there a simple way to convert my XML object back to String in java?

java - Separate decode/encode interfaces or in one interface

java - If-less code: is it just an intellectual challenge or is it concretely useful?

java - Custom TODO mark in Eclipse

java - Threading in an Application Server

debugging - Limitations with Java Hotswap

lisp - Learning Clojure without Java Knowledge

java - automatically calculating column width in JTable

How to call upon a gameOver method in a Java game when sprite "falls off" the screen?

Copy an object in Java

Increment a Hex value (JAVA)

java - Best Practice: Initialize JUnit class fields in setUp() or at declaration?

java - How to run jetty:run-exploded in maven but prevent from assembling war again?

java - Error deploying an app to JBoss 5 that was working fine on JBoss 4.2

java - How can I escape special HTML characters in JSP?

java - How can I make Java3D start faster?

How do you get Java sockets working with public IPs?

How to transfer java array to javaScript array using jsp?

java - How can I make Tomcat pre-compile JSPs on startup?

Java library for converting XML to syntax colored HTML

java - How do I disable the Cancel Button when using javax.swing.ProgressMonitor?

java - Quicksort slower than Mergesort?

java - Can you explain the concept of streams?

"Screen" effect in Java 2D graphics

java - How would you use a regular expression to ignore strings that contain a specific substring?

java - How to actually use Swing Application Framework?

java - How to open user system preferred editor for given file?

java - Best practices in internationalizing text with lots of markup?

java - Is there a way for reading/writing serializable objects to a RandomAccesFile?

Casting reference variable in Java

java - Return to a specific dialog

java - Performance / stability of a Memory Mapped file - Native or MappedByteBuffer - vs. plain ol' FileOutputStream

class - First Java program (calculator) problems

java - JYaml: dump object without including class name

To use the Gears WorkerPool in GWT do I have to write the same code in Java and Javascript?

Putting char into a java string for each N characters

java - Database framework developing

java - JavaService and QTP

Java serialization and instance sharing using remote services

java - Hibernate vs JPA vs JDO - pros and cons of each?

java - Moving focus from JTextArea using tab key

java - Share static singletons through EJB's

java - Why does Math.floor return a double?

optimization - How to determine which classes are used by a Java program?

java - Accessing an outer anonymous class's field from an inner anonymous class

The use of "this" in Java

java - Pretty alternative to JProgressBar?

ftp - Problem with FTPClient class in java

java - Obtain timestamp of items from FTP file list

Examples where is Java more elegant than C#?

How to connect to a secure website using SSL in Java with a pkcs12 file?

java - How do I merge a CVS branch into HEAD using the Eclipse merge tools?

java - Maven Embedded Jetty Container fails to load Taglibs: Unable to initialize TldLocationsCache

multithreading - Can classes in java that implement runnable have methods other than run()?

java - Do I have to recompile my application when I upgrade a third party jar?

java - Progress Dialog in Swing

java - Does anyone know how to successfully integrate Seam and Spring MVC?

How to call a java method from a jsp when a html element is clicked?

Comparing a string with the empty string (Java)

java - How can I initialise a static Map?

java - How do you turn a FileSet into a list of Files in a Mojo

Difference between '.' and "." in java

java - Function to determine whether a poker hand is a straight?

java - Combining UrlRewriteFilter and struts 2 with get parameters

Default constructors and inheritance in Java

java - 3rd party jars creating log files

java - Why does Grails need Xerces?

java - Best Tools for 2D Constructive Area Geometry

web applications - Best technology for Java based simple CRUD web site

java - please tell me where i made error in this jsp program

swing - Java: Accounting for taskbars/menubars/etc when placing a window on the desktop?

java - JBoss debugging in Eclipse

java - Problem migrating Spring Web App from tomcat 5.5 to tomcat 6.0

Doubt in exception handling and finally block in java

java - removing junit testing to build in ant

java - Is Spring too complex for JDBC operations?

java - Post a KeyEvent to the focused component

c# - Does a cache need to synchronized?

java - Best way to measure execution time in automated regression tests

How to run Unix shell script from Java code?

Does Java 6 open a default port for JMX remote connections?

java - Updated item info in container, how do I refresh?

How can I get System variable value in Java?

error handling - In Java, is the "finally" block guaranteed to be called (in the main method)?

io - Java - Capturing System.err.println or Capturing a PrintStream

java - LdapContext, how to do select count(*)

java - Reading from a socket not waiting for input?

Java for intermediate .NET Developer

Simplest way to expose a given method as a web service - result must be runnable in web container under Java 5

algorithm - Java simple String diff util

java - Active MQ vs JBoss Messaging

iterator - Modifying a set during iteration java

java - How to use a property-file with GlassFish

Security with Java Scripting (JRuby, Jython, Groovy, BeanShell, etc)

java - FileChannel & RandomAccessFile don't seem to work

java - How to diagnose an Invalid thread access SWTException?

java - Cannot refer to the static enum field within an initializer?

java - What is the effect of "*" in regular expressions?

Java bean event in netbeans 6.1

java - What is the difference between instanceof and Class.isAssignableFrom(...)?

java - Cross-Compiling JRE/JDK

java - What is the correct way to add a Shutdown Hook for an Eclipse RCP application?

java - Spring vs Hibernate

java - Javadoc only one class in a package using Ant

java - How can I change the Javahelp font?

java - How can I change the color of a DecoratorPanel in GWT?

java - User Variable's value in environment variables is not getting during runtime while running jar application from window service?

java - Why do we need JavaFX though we have Swing?

Where to pass runtime argument in wrapper.conf file in java service wrapper?

java - Debugging JVM crashes under Windows

multithreading - Is it a good way to use java.util.concurrent.FutureTask?

windows - BAT file to create Java CLASSPATH

web services - Lightweight Webservice producing in Java (without an application server)

jakarta ee - Redirect http to https in Java EE

memory management - How to handle OutOfMemoryError in Java?

java - Override default behavior of TAB in JTextPane

persistence - Receiving Disparate Content In Java

How to by-pass inheritance in java when invoking a method

java - 2 input fields displaying the same thing

C++ slicing in Java / C#

java - Best way to concatenate List of String objects?

java - Debugging Datastructures Visually

java - Three tier layered application using Wicket + Spring + Hibernate. How would you handle transactions?

java - Retrieve bytecode from in-memory to prevent hacking

java - ADF Custom Components

java - Custom Spring sterotype annotation with scope of prototype?

java - best practices for AJAX framework implementation

java - My own classloader?

How to set background image in Java?

unix - unable to run ksh script from java: .: not found

Java - Distributed Programming, RMI?

Is there a way to improve multicore / multiprocessor performance of the Java compiler?

java - Web Service using Axis 2: Complex type or simple type parameters?

Doubt in Java Service wrapper while running jar application fom window service

java - Transformer in apache collection15

Compiling and Executing Java Remotely

c# - How do I write (test) code that will not be optimized by the compiler/JIT?

Speed: Java serialization or csv?

Setting classpath for a Java stored procedure in Oracle

Simulation in java

Java Mobile Games Builder for Non-Programmers?

java - Specify authentication in container rather than web.xml

java - Initialising an instance variable with a method from the class

java - What are JUnit @Before and @Test

Performance of Java matrix math libraries?

java - How to throw an informative exception from AccessDecisionManager that uses voters

java - Use something else than JDBC over firewall

formatting - Java: Format number in millions

java - Connectivity to mainframes using JMS

java - Hibernate implementation. Are we paying the reflection penalty?

java - Pausing in between Retries of Network Connections

Real-time Java interoperability

optimization - Fast transcendent / trigonometric functions for Java

Eclipse color themes - java and flex

java - limit map key and value types - more complicated

java - Eclipse - Compiling & executing program

inheritance - How can I successfully extend Graphics in Java

recursion - Counting nodes in a tree in Java

xml - Java's default JAXB implementation is chosen over my classpath

Inheritance in Java - "Cannot find symbol constructor"

java - To find the number of test methods in a JUnit TestCase

xml - Open-source java XSLT 2.0 implementation?

java - Difference between moving an Iterator forward with a for statement and a while statement

Output from a Java agent in Lotus Notes to the client status bar?

java - Clean way to combine multiple jars? Preferably using Ant

java - Mapping CSV to a Model

java - JGoodies Binding vs. JSR 295

java - Can you add multiple jars in a jar file and then launch that jar file

manipulating audio and drawing waveform using java sound in real-time

java - Do I have to include libs in every tile within Apache Tiles?

Java screencasts for Spring and Hibernate

Java library inspector?

How to access objects/arrays defined in JavaScript from Java applets

Create history of states in Java