Coding Is Art

Find The Best Answers To Your Java Coding Problems



jdbc - Java NullPointerException when traversing a non-null recordset

jakarta ee - Vehicle Tracking System[java/Java EE]

security - Has anyone successfully used signature timestamps in a java applet?

java - Using a jsp fmt tag in another tag

java - JRE on Android

C++ .NET equivalent to java public static void main()?

Java cast error trying to create a generic array of custom made class

java webpart like asp.net?

Question about integrating java and flex

issuing hard drive commands with java

java - Appending to XML with XMLStreamWriter

java - Is there a way to have expander icons for multiple roots in a JTree?

c# - Allowing a method to lock its parent Object in Java

determining java memory usage

How do I identify language of a text document in Java?

Find Java classes implementing an interface

shell - Are there good Java libraries that facilitate building command-line applications?

Converting a generic argument to an int in java, provided that it is a number

java - String Comparison : individual comparison Vs appended string comparison

java - Spring context files organization and best practices

Best way to encode text data for XML in Java?

jsp - Is there an openID implementation in Java?

How to make full screen java applets?

java - How do I (should I?) use Apache POI HWPFDocument?

Java: Adding a User Interface to a program

java - Continuous Integration for Intersystems Cache solutions

java - What are my options to store and query huge amounts of data where a lot of it is repeating?

java - Eclipse plugin for Apache Axis2 to create webservice

regex - Regular Expression to extract label-value pairs in Java

design patterns - 'Friends' equivalent for Java?

java - ActiveMQ: Issue with queue lookup

java - StaleObjectStateException ERROR

stl - maximal element in an array in Java (Collections.max() for integer arrays int[])

java - Project Euler (P14): recursion problems

java - Ragel - validate a String while Input

java - What does the JRE consist of?

multithreading - Java while loop and Threads!

java - Is there a possibility to break on every object reference in eclipse debugger?

java - Apache Ant + Ivy build of a web application which is deployed to a local Tomcat

oop - Java Interfaces?

java - How to show syntax errors in an eclipse editor plugin

Java file locking on a network

Application of [L]GPL to Java/C# code

c# - Good language to develop a game server in?

eclipse - Helping a beginner for java web application

java - jar resources in jnlp are not signed by the same certificate

Update JavaFX window from a java based object

Java Reflection Performance

algorithm - Sparse matrices / arrays in Java

How do I use an equivalent to C++ reference parameters in Java?

java - Converting an array of Pixels to an image in C#

java - Why am I unable to generate client side code in web services 'Hello world' example?

java - How can I set the schema name used by hibernate entities at query time?

authentication - Authenticating against Active Directory with Java on Linux

python - How to call java objects and functions from CPython?

java - JPA map collection of Enums

java - Findbugs not finding potential SQL injection vulnerability

java - How to securely trigger a Swing-Action in a restricted applet?

java - Logging Commons and Mapped Diagnostic Context

language design - Why doesn't Java support unsigned ints?

Java/JRuby on Rails vs .NET 3.5... feel like I'm doing it wrong

java - Changing the date format

java - Can Applet open a new HTML window *and* bypass popup blocker?

java - How do I manage to get a non-null name argument with org.xml.sax.ext.EntityResolver2 resolveEntity method?

multithreading - In Java critical sections, what should I synchronize on?

java - JOptionPane won't show its dialog on top of other windows

classloader - In Java, can Class.forName ever return null?

java - What exactly is "Abrupt completion of a finally clause"?

java - JasperReports: counting pages depending on group

Groovy, Netbeans and Java EE

java - CANopen PDOs using the serial port

java - XML Diff and Merge

java - How to use ImageIO to save multiple BufferedImages to a file

profiling - Looking for recommendations for end-to-end Java CPU Profilers

java - Best batch photo upload applet

Port of Random generator from C to Java?

java - Is there a file descriptor leak when using sockets on a linux platform?

swing - Can a Java Applet use the printer?

aop - How to quickly modify compiled java classes behaviour with aspectJ

What is the "continue" keyword and how does it work in Java?

best (or at least good) guide to Java annotations

java - What is the best(least impacting?) method to read a file that is being written by another process?

java - How does Hibernate create proxies of concrete classes?

java - What are the minimum security precautions to put in place for a startup?

java - Can my build stipulate that my code coverage never get worse?

java - How to schedule a Callable to run on a specific time?

java - Universal document format converter

Java Validation Frameworks

Java(Swing): influence height of JList in GridBagLayout

java - Problem with VisualVM-when connecting to remote host

java - Netbeans intellisense for Yahoo utils

java - Resizing TYPE_CUSTOM BufferedImages?

Is it possible to use a primitive type (int) in as a generic type in Java?

java - NULL token in JavaCC

java - What is the difference between Swing and AWT?

class - Calling methods of "parent" component in Java

user interface - Is Java the best language to develop cross-platform GUI applications?

java - What code does the compiler generate for autoboxing?

java - Is a service principal name (SPN) bound to a specific machine?

java - Is it safe to assume that Spring MessageSource implementations are thread-safe?

java - Error Dialog Not Being Destroyed

How do I check out an SVN project into Eclipse as a Java project?

java - To add commas in file

java - Logging user actions

tomcat - java.awt.HeadlessException - Applet not displayed

tomcat - java.util.ConcurrentLinkedQueue

Why is Java's Cloneable Interface Not Generic?

java - Synchronizing eclipse save action rules

java - Ordering return of Child objects in JPA query

Java keyboard input parsing in a console app

java - Generating absolute URLs from Seam emails

Which Java exception should I use?

Meaning of serial port parameters in Java?

java - show the value of the graph when cursor is placed on the graph

java - Are Apache Ant Javadocs Included in the Eclipse Plugin?

java - Hibernate generates invalid SQL query with MySQL

java - Spring context.xml and Set.contains()

java - Vector graphics in iText PDF

Open a file with an external application on Java

java - Check the signature on large data sets efficiently using JCA

serialization - Java - Modifying serialVersionUID of binary serialized object

Is there a good Java networking library?

java - Custom spring scopes?

java - Uniquely identify an instance of a JSR-168 portlet

java - How much time it saves code generators?

java - assigning a specific record in a ResultSet to a variable

How does Java Garbage collector handle self-reference?

Variable naming conventions in Java

java - HashMap initialization parameters (load / initialcapacity)

java - Tomcat 6 Default Buffer Size

swing - How to design interface for a game in Java

java - What do < and > mean such as implements Comparable<BigInteger>?

java - Apache Derby: how can I do "insert if not exists"?

computer science - Can I implement State Transitions for a DFA in Java using java.util.Set

About Memory Management in Java and C++

java - Transaction rollback and web services

java - JPA cascade options at runtime

java - Template engine for image generation

read eval print loop - Is there something like python's interactive REPL mode, but for Java?

java - How to rename a file name without change its type?

performance - Java for Audio Processing is it Practical?

Java based Webmail solutions

java - How to know which URLs are mapped in the current servlet context in a Spring 2.0 Controller method?

OS recommendation to run Java Swing App on very basic hardware

Is there a way for a Java application to detect if the screen is locked?

java - When to use pointers and when not to?

networking - Java RMI Resources

java - Escaping Special Characters Posted to Servlet

How to embed a Java control on a C# winforms control?

java - How to map many-to-many List in Hibernate with a Link Table

java - How can I make my development workflow more "enterprisey"?

java - RCP + JNLP\WebStart App will not start

jvm - How to get a thread and heap dump of a Java process on Windows that's not running in a console

java - Is Grails worth it?

java - PNG TrayIcon transparency on Windows

web services - How to generate Java code from an XSD that includes MSFT Serialization: GUID datatypes?

java - Apache Roller Weblogger software

audio recording - How to sample multi-channel sound input in Java

java - Is Google Web Toolkit similar to AWT and Swing

java - I'd like to learn Struts.Is there any good web sites or books?

jsp - Java/XSLT: Cannot find a matching 1-argument function

generics - Why can't the Java compiler figure this out?

java - Swing Large Files Performance

java - Install of Tomcat 5.5 on Ubuntu (using apt) leaves CATALINA_HOME unset

Sockets: Discover port availability using Java

java - HibernateTransactionManager(Spring) with multiple Session Factories

java - Detect which monitor shows the Window

How to make the Java.awt.Robot type unicode characters? (Is it possible?)

What is the best Java OXM library?

java - strange HashMap.put() behaviour

java - Create RPM package from ANT script under Windows

java - Changing the Contents of the JComboBox

java - Can an MBean be run under Tomcat?

java - accessing command-line arguments from OSGi bundle

javabeans - getting a property of a java bean of unknown class

java - Best data binding solution for GWT

netbeans - Detecting Java Project Cruft

java - Where are Swing applications used?

java - Tomcat/IIS closes socket after http response has completed

Java: Double Value Comparison

How to tell if my Java component is in an Applet?

java - How do I force a spring container not to return a singleton instance of a bean?

mysql - Should I be using PreparedStatements for all my database inserts in Java?

java - Problem in addAppender() method in Log4j API

java - Difference between declaring variables before or in loop?

java - Regex to block all < in a String

java.util.zip.ZipException: too many entries in ZIP file

stream - printf() functionality in Java combined with a CharBuffer or something like it

serialization - Simpler-than-JBoss way to have POJO RPC in Java with container session management

java - Is it possible to run JUnit tests from multiple packages in Eclipse?

Offline Java Documentation

java - Eclipse buildpath automatically taking all JARs of a internal directory

transparency - Converting transparent gif / png to jpeg using java

Objective-C Delegation Explained to a Java Programmer

How to convert an existing Java application to a SYS V service (daemon)

java - How to programatically 'login' a user based on 'remember me' cookie when using j2ee container authentication?

java - Scalaris: P2P key-value database - your opinion please

java - An alternative to Hibernate or TopLink?

using java and usb: Which api? jsr-80, jusb, ...?

Java connection to / between Microsoft Windows Office Suite?

concurrency - Java ReentrantReadWriteLocks - how to safely acquire write lock when in a read lock?

java - Viewing HTML inside Applet without using JEditorPane

c# - garbage collection Operation

How to display java applet inside GWT page?

Java Static

java - Hibernate: Mapping User-Friends relation in Social Networks

java - Are lots of inheritied single-plugin profiles in Maven a good idea?

encapsulation - Access levels of java class members

jax ws - java: Rpc/encoded wsdls are not supported in JAXWS 2.0

java - Memory leak in JBoss

enums - Can Java Enumerations be merged (like Bitwise in C#)?

java - How do I encode URI parameter values?

java - id attribute of subview tag

string - Java library that finds sentence boundaries

java - Why can't enum's constructor access static fields?

Java Chart library for OLAP

java - creating unit tests (semi-)automatically?

java - How can I use InvokeListener in tapestry5?

java - Which dependency should be added in pom file to import org.apache.tiles.controller?

Experiences With Active Objects ORM for Java?

Collections.max function for iterable<Integer> in java

java - Creating a custom JAXB annotation

create sql query in c++/java?

java - Add New Column in Infragistics Wingrid

java - Cons for defining logger non-static

Which to choose: 2D or 3D for a java game

screenshot - How to capture selected screen of other application using java?

java - Non-generic reference to generic class results in non-generic return types

java - Problems with Matlab javabuilder and memory

java - How can I get my basic SWT application to exit properly in Mac OS X 10.5.6?

Java date formatting?

Free / OpenSource Java Rules / Workflow engine

performance - Java toString() using reflection?

java - Add a dependency in Maven

How to implement OpenID in Java

java - JScrollPane now showing its viewport

java - JUnit's @Ignore

From Java Application to Flex Application

process - External program from our Java program

java - Automatically size JPanel inside JFrame

Callback functions in Java

memory - Where is the content of a Java piped stream 'stored'?

osgi - Split packages in plain java

java - Projects with browsable source using dependency injection w/ guice?

java - Applet with Gui Designer

3d - Java 2D game programming - Newbie questions

streaming - Is it possible to control CPU usage from a Java application?

Access gmail from Java

java - Integration testing an external library?

java - How do I append a newline character for all lines except the last one?

Function pointers/delegates in Java?

java - Override JComponent.getBaselineResizeBehavior() but keep Java5 compatibility

coding style - In Java, why do people prepend fields with `this`?

java - Transaction options over Web Service calls

Why was constness removed from Java and C#?

java - Calling virtual method in base class constructor

persistence - Easy way to store and retrieve objects in Java without using a relational DB?

Quick Java Question: Instantiating a given class only from another?

Reference Groovy domain class from Java class using Eclipse?

Strange classes passed from MATLAB to Java

java - converting strings to Title case in JSTL

java - JDialog not painting

java - Quick and dirty solution for communication between processes in different machines

java - Large amount of data - what is the best way to send them?

java - How do I push an update to a war file to clients?

java - Convert JSON to Map

html - What are the steps I need to take to add nice java code formatting to my blogger/blogspot blog?

Whats up with static memory in java?

multithreading - Java Threads: Specifying what should be executed in the run function

java - What caching model/framework with Websphere Spring Hibernate Oracle?

Java: Specifying generics on Type AND Implementation

unicode - Representing u1F000 as a Java string

How to build a Google-chrome tabs and menubar interface in Java Swing?

Java graphic library for multicoloured text

Is there a way to generate java classes from MS-Dataset XSD files?

java - Why is accessing a static method from a non-static method bad?

With hessian in Java, how do you control instantiation?

java - Should I unit test methods which are inherited from super class?

java - Is it impossible to perform initialization before calling a superclass's constructor?

Management of Java string resources

java - Does a finally block always run?

classloader - In Java, is it possible to know whether a class has already been loaded?

java - Batch inserts with JPA/EJB3

Best way to get started on simple 3D user interfaces using Java?

Producing valid XML with Java and UTF-8 encoding

java - Organizing Actions in a Swing Application?

java - How to extract the file name from a file URI and create a link for the same?

java - How to show if a method may return null

Porting easily from 2D to 3D on a Java game

java - How do I copy a text file from a jar into a file outside of the jar?

Can you tell on runtime if you're running java from within a jar?

String conversions in Java

How to create a java.awt.Image from image data?

java - Cause of an unexpected behaviour using JUnit 4's expected exception mechanism?

How do I use a foreach loop in Java to loop through the values in a HashMap?

web frameworks - Using java (desktop) codebase in a webapp

java - Using JavaMail with TLS

java - How can I travese to a next / previous page in a swing GUI

java - Has anyone succesfully loaded a YAML file using SnakeYAML from a local Maven repo?

Porting library from Java to Python

As a Java developer, C or C++?

Java Covariants

lossless video codec playback in Java

java - Does anyone know how succesfully use preprocessing on J2ME?

python - LBYL vs EAFP in Java?

java - Using JDBC, how can I substitute multiple IDs into "DELETE FROM T WHERE id IN (?)"

java - Advantage of using NIO vs BIO in jetty?

c# - Java and other clients for WCF RESTful Services

java - Using unicode characters

regex - Java: how to check if character belongs to a specific unicode block?

What are the differences between PHP and Java?

java - Interface implementation through different JVMs

java - Best way to separate Business from Presentation Logic?

java - Programmatically transcode MPEG-2 videos

java - GlassFish v3 Prelude - admin questions

Java Performance Testing

java - Can I get Eclipse File Search to include IvyDE jars?

java - Ant cannot find a class needed by an externally defined taskdef

java - How To Parse a URL in J2ME

java - Posting contents of a file using HttpClient?

java - How to determine SQL that corresponds to SQL Server's sp_unprepare call?

java - Casting an array of Objects into an array of my intended class

java - Java3D: Tutorials, Projects, General 3D Programming

Java calendar time, minute is wrong

java - How to trace a NullPointerException in a chain of getters

I need a fast key substitution algorithm for java

model view controller - MVC in Java

java - How do I use JProgressBar to display file copy progress?

bug tracking - How does one successfully open a Java bug if Sun doesn't respond?

java - What MS SQL Server types map to Types.VARCHAR

mercurial - Is it possible to browse the source of OpenJDK online?

How do I map a CHAR(1) to a boolean using Hibernate for Java?

open source - How can I display a VNC Viewer in a Java rich client (LGPL, Apache, MIT license)?

cryptography - Dazed and confused by Java Security & BouncyCastle APIs

java - How to select first item in JPopupMenu?

java - Is stopwatch benchmarking acceptable?

java - Can RowSets be used with PreparedStatements?

linux - What can I use to connect Java to Video4Linux?

java - Spring SP Class generation with or without Eclipse

java - JPA eager fetch does not join

reflection - Validate reflected method return type and parms in Java

java - Changing the font of text being typed in a JTextArea

java - Running JAR file on Windows

Where can I find a Java to C# converter?

java - How can a JComponent notified about the closed event of it's parent J(Internal)Frame?

Java - Ibatis - mySQL with Dynamic Query based on Role

java and javascript callbacks compared

java - Test for invertability using Jama.Matrix

jvm - What is Java written in?

java - How do you develop JSF apps?

java - Passing superclass as parameter to method expecting sub class

java - How to configure ActiveMQ to assign an 'anonymous' user and role to non-authenticated users

How do I format and read XML processing instructions using Java StAX?

java - How to simplify a null-safe compareTo() implementation?

enums - Best way to define error codes/strings in Java?

java - How to ensure hashCode() is consistent with equals()?

java - How do you decide when to upgrade a library in your project?

Java Timer vs ExecutorService?

java - How can I provide a custom log4j.xml for different ant tasks?

java - Disable tap clicks

java - How can I protect MySQL username and password from decompiling?

How to overcome limitations of Java's Static Main() Method

java - Cloning and subtracting sets - does this work?

java - Help with annotations

java - tomcat error - "This release of Apache Tomcat was packaged to run on J2SE 5.0"

java - How to offer links in an eclipse editor plugin?

dependency injection - Which Java Web Framework fits best with Google Guice?

union - Java: Is there an easy, quick way to AND, OR, or XOR together sets?

configuration - Best way to alter constants in Java build process

statistics - Which java-library computes the cumulative standard normal distribution function?

Flex 2D graphics learning path for Java/GWT developer?

jsp - Does it make sense to use a framework for a simple java web app?

java - Problems with Struts and AJAX

java - Getting the name of the currently executing method

java - Object persistence strategy for desktop application

Determining the path to Outlook.exe from java?

xpath - Which XPathAPI should I use in Java 1.5?

deployment - Best way to deploy a Java application on a cluster of servers?

multithreading - Ways for lazy "run once" initialization in Java with override from unit tests

Java: Trouble with Generics & Collection type detection

compilation - Standalone Java Applications

Java Web Service framework/library, which is a better one and why?

java - throws Exception in finally blocks

multithreading - Avoid synchronized(this) in Java?

java - Process Monitoring in GWT

java - Can you organize imports for an entire project in eclipse with a keystroke?

java - Can I use two different look and feels in the same Swing application?

Java: Handle logoff or shutdown on Windows and Linux

How do I represent an XML file as a Java object using commons-digester?

java - Value object with OID

Best practices for exception management in Java or C#

java - Patterns and more for clean and easy gui code

java - What's the best design pattern for formatting numbers?

java - Android HTTP Connection

java - Creating nunit tests without exporting them with the api

Best approach for learning Java after C++?

Tracing IO in java application?

When to use Enum or Collection in Java

java - How to install JDK 1.5 for Solaris 10

c# - Can Microsoft Sync framework for ado.net work with Java?

java - selectOneRadio with action immediately after click

java - Why is Long.valueOf(0).equals(Integer.valueOf(0)) false?

java - Reset the Authenticator credentials

java - Solving JPA query finding the last entry in connected list

OpenOffice.org import csv with Java

java - Casting to Unknown Type When Only Given Class Name as a String of That Type

java - Finding the number of documents in a Lucene index

java - Piracy protection using USB based hardware solution

Should Java break backwards compatibility in future versions for the benefit of a cleaner language?

java - Is there a way to tell Eclipse to "Save all" before building?

java - Eclipse: Accessing a editor template from plugin code

java - NetBeans web services client producing invalid request for eBay API

c# - Is there a library that generates UIs based on metadata declarations like this>>?

machine learning - What's the best open-source Java Bayesian spam filter library?

java - Use Bundle-NativeCode on Linux does not work

Is there a way to draw UML in Visio for Java?

netbeans - How to cache a WSDL with Java-WS

java - Need help handling documents using dom4j

Using Oracle ref cursor in Java without Oracle dependency

java - Video training program

java - Problem with JAAS and DatabaseServerLoginModule

scala -> use .net (linq) and java code base in the same program?

api - How can I access spreadsheets in the open document format (.ods) with java?

java - How to give dynamic filepath in appender tag in log4j_config.xml?

web services - Java WebServices with Spring and OAS/OC4J

java - Is there a working real world project using Clojure that take advantage of multi-core system that I can take a look?

java - To check in, or not check in, the entire Eclipse project?

java - Place MySQL connector JAR in WEB-INF/lib of my WAR instead of in $CATALINA_HOME/common/lib?

concurrency - Does a running thread in an object prevent it from being garbage collected in java?

How can I create a Java/Swing text component that is both styled and has a custom font?

Java "Virtual Machine" vs. Python "Interpreter" parlance?

javabeans - how to generically compare entire java beans?

java - Specifying classpath for classes inside the JAR itself

network programming - Pacman in Java questions

^ operator in java

c# - Best continuous integration setup for multi-platform development

Java Wrapper equality test

java - Should I implement source control for j2ee application server configuration files?

How do virtual functions work in C# and Java?

java - Designing a process

java - Catching several exceptions and rethrowing a general exception

java - Why was "new Date(int year, int month, int day)" deprecated?

java - JasperReport - taking too much resources

java - SQLException: fetched column value was truncated when executing while (rs.getNext())

database design - Is there a Java equivalent to Apple's Core Data?

What is the best way to pass information from java to c++?

java - Fresh WAS-CE installation gives nothing but "HTTP 400 'bad request'"?

core - write data to Excel file using jexcelapi in Java

executable - how do I convert my java files into an application?

Launch JVM process from a Java application use Runtime.exec?

WCF client errors when consuming Java services

java - How does VS2008+ReSharper compare to IntelliJ IDEA?

java - Re-scaling automatic build from 2-cpu pizza-boxes to multi-cpu monster(s)?

date - How do you set the time and only the time in a calendar in Java?

c# - How does the ternary operator work?

java - Make application run in its own directory

java - Reverse (parse the output) of Arrays.toString(int[])

java - How to hide the .jsp extension in my web server urls

c# - Initializing disposable resources outside or inside try/finally

prettifying Java XML output

java - run periodic tasks on server in the background

list - Is there a java hash structure with keys only and no values?

java - Byte stream / C / JNI

Java Embedded Databases Comparison

From C Source to Java Bytecode?

Suggestions for Java email templating?

java - JPA not generating "on delete set null" FK restrictions

java - Are there compelling reasons not to use Groovy?

jakarta ee - Any good resource for java interview questions?

java - JVisualVM problem with monitoring JBoss

java - How to find 1 or more partially intersecting time-intervals in a list of few million?

java - why do functions dont have parameterized return types, as it has parameterized input?

java - WSDL2Java for overloaded methods?

Using a long as ArrayList index in java

multithreading - Thread safety of static blocks in Java

java - JTextArea - very small size with long text

java - JSP as Email template

java - JavaFX in the wild?

java - How to invalidate seam POJO session

What is the best way to read a text file two lines at a time in Java?

How to change the file's permission and last modified in Java?

java - Invoking via command line versus JNI

java - How to ensure file integrity on file write failures?

java - What is xdoclet? (from a C-programmer point of view)

memory - Programatically get heap info using jmx with java 5

How to invoke a unix script from java?

How to setup Connectivity between the web component and java app

How do I separate out query string params from POST data in a java servlet

replacing regex in java string, which contains `&#xA;` symbol

java - Logging using SL4J, Jakarta Commons logging, log4j for third party libraries and my own code

java - How to setup JAAS (in jaas.conf) to use NTLoginModule?

java - Pointcut not working with Spring AOP

java - Samples from Xpand -

multithreading - Renaming Threads in Java

java - Programming Problem - Fax Compression

java - Spring and hibernate.cfg.xml

java - How do I check to see if a column name exists in a CachedRowSet?

java - How to limit JTextArea max Rows and Columns?

java - Returning JSON in GWT

Can I discover a Java class' declared inner classes using reflection?





top