Coding Is Art

Find The Best Answers To Your Java Coding Problems

java - What is a good toolkit for developing Blackberry applications?

java - Custom swing component - Turning a node into text

java - what are the limitations of jython's PyObject.__tojava__ method?

java - How does the SQL Server JDBC Trusted Connection Authentication work?

java - JUnit and junit.framework.TestSuite - No runnable methods

ruby - question about java interfaces

regex - Is java.util.regexp efficient enough?

java - Passing parameters between JSPs

java - How to do Gesture Recognition using Accelerometers

java - xdoclet vs xdoclet2?

Worst Java practice found in your experience?

java - Why isn't querying a JDBC-compliant database from Oracle as easy as pie?

jdk1.4 - How to add an xml element in Java 1.4

java - Illegal attempt to associate a collection with two open sessions

Automagic unit tests for upholding Object method contracts in Java?

Java HTML Parsing

java - How to detect intermittent time out problem in web applications?

java - Swing components : vertical text question

Convert audio stream to WAV byte array in Java without temp file

java - How do I get my dependencies inject using @Configurable in conjunction with readResolve()

java - JNI memory management using the Invocation API

Java MessageFormat - How can I insert values between single quotes?

java - How do you add tests for multi threaded support?

java - Looking for evolutionary music example code

java - JFileChooser embedded in a JPanel

windows - IE6 generated strange worksheet name when doing export from java application

multithreading - Java BlockingQueue of Size=1?

comparison - Java Comparator

java - Passing Objects as part of SOAP Request and Getting Objects back as Response....using webservices

java.lang.Exception vs. rolling your own exception

java - How to format methods with large parameter lists

Performance question: Fastest way to convert hexadecimal char to its number value in Java?

java - Strengths and weaknesses of XmlBlaster

c# - Embedding Flash Player in a C++ or Java application?

Java Vector Field (private member) accumulator doesn't store my Cows!

java - Sharing source between two Netbeans projects

How do I "require" a neighbour class in Java?

java - Eclipse as IDE + Mercurial for version control + ? Bug tracking = Good idea?

Java Application/Class Design - How do accessors in Java work?

typechecking - What is the easiest way to do 'is' in Java?

performance - Java very large heap sizes

java - checkstyle + suppression filters

java - Any way to "reboot" the JVM?

64 bit - Java: How does the VM handle a 64bit `long` on a 32bit processor

unicode - printable char in java

java - Stop a event from bubbling in GWT

What's the best way to check if a String represents an integer in Java?

java - Why is tomcat looking for JSF classes?

How to Parsing "Event XML" in Java?

java - Why not allow an external interface to provide hashCode/equals for a HashMap?

windows services - How can I replace the current Java process, like a unix-style exec?

java - abstract methods in skeletal implementations of interfaces

java - ORA-00942: table or view does not exist : How do I find which table or view it is talking about

garbage collection - Java Concurrent and Parallel GC

java - Can every float be expressed exactly as a double?

eclipse beakpoint: stop before leaving a Java method

java - How do I create a custom JPanel extension and use it from the NetBeans palette?

java - Velocity #parse but assign it to a variable

filesystems - NFS Server in Java

java - Do I have to close() every EntityManager?

c# - Best table / enum driven method calling system

Java: Out with the Old, In with the New

debugging - Could "attach source" be made easier for popular Java libraries?

Identifying the season from the Date using Java

What xml/xslt library(ies) currently work well for java?

java - No stack trace generated on client site for NullPointerException?

How does the Sun JVM map Java threads to Windows threads?

java - Is making an empty string constant worth it?

networking - Java Network Events

oop - Java Instantiation

New features in java 7

regex - Java: Easiest way to replace strings with random strings

Is there a text wrap function in the java standard library?

namespaces - Do you really use your reverse domain for package naming in java?

file - How to scan a folder in Java?

A good Java library for network math

java - What methods get called when you resize a JFrame?

jakarta ee - Learning Java EE, jboss, etc

java - Transferring files between web applications running in the same Tomcat Instance

java - Hibernate @ManyToMany mapping with composite keys

java - Transformation Failing due to xsl:include

Java array reflection: isArray vs. instanceof

Does a print version of the Java 1.5 API exist?

ssl - AIX: IBM Java: Connection timed out:could be due to invalid address

Java/Swing: How to draw a simple bar graph in a custom renderer for a JLabel

Request admin privileges for Java app on Windows Vista

java - How do you determine the ideal buffer size when using FileInputStream?

java - JPA and Hibernate - Criteria vs. JPQL or HQL

java - Storing arrays in databases

encapsulation - Encapsulating Java Preferences API

What tools are available for creating in process COM servers in Java?

Are there some statistics on the most frequently used Java API functions?

java - How to make junit testing to stop after first failing test

url - is deprecated, what should I use instead?

java - Does .NET (Mono) support cross-platform file operations and cross-platform audio metadata handling (through libraries)?

multithreading - HTTP posts and multiple threads in Java

java - When should I call Naming.unbind()?

java - What's the best way to have stringTokenizer split up a line of text into predefined variables

java - Parameterized test case classes in JUnit 3.x

java - Type mismatch with generics

java - Open-source improvements or replacements for Swing components

java - Eclipse reading stdin ( from a file

java - Large Inner classes and private variables

Java - Abstract class to contain variables?

java - How do I add an extra source directory that will be used by the maven-jxr-plugin?

java - Inter-plugin communication in Eclipse

Calculate the display width of a string in Java

java - Is it really a best practice to use jstl out tag?

java - Context information in Tomcat5.5

java - Error with no HashCode, Equals eclipse

java - Get UID for message from GMail using javax.mail with IMAP

java - What is the difference between a Functor and the Command pattern?

java - How do I center a JDialog on screen?

java - Exception when not finding

i want a java editor with embedded compiler and work under linux and did not require a a big amount of ram

java - IE Browser hangs after opening a file dialog. Workaround?

serialization - Is implementing even in simple POJO Java classes a best practice?

java - How well do Eclipse and Netbeans coexist?

java - Quick method to convert classes implementing same interface

java - Eclipse Abstract Syntax Tree Programmatic Access

java - Generics in legacy code

oop - Is a Java interface an abstract class?

java - How should one unit test the hashCode-equals contract?

How do you reduce Java logging boilerplate code?

java - javac.exe AST programmatic access example

web services - Expose Java class as SOAP WebService - how?

java - Which log4j Version is bundled with latest OpenCms 7?

java - Validating a Postscript without trying to print it?

javascript - Java method never called while using JSON RPC in Struts2

How do you detect low memory situations within the java virtual machine?

java - Setting default values for columns in JPA

jvm - What is the lightest Java Virtual Machine ever? (except KVM)

java - Jasper report generating bad HTML

java - Catching exceptions with tomcat and a servlet

What is the memory consumption of an object in Java?

java - Should we @Override an interface's method implementation?

java - Detecting Virus Scanners

swing - Can anyone recommend a Java rich text editor?

nlp - Named Entity Recognition Libraries for Java

java - JFileChooser use within JApplet

When should I use the java 5 method cast of Class?

How do you create a PDF from XML in Java?

java - How to determine build architecture (32bit / 64bit) with ant?

java - getResultSet from Spring-JDBC

java - Searching for a safe way to do authentication from a mobile app

java - Why do I get an OutOfMemoryError when inserting 50,000 objects into HashMap?

not strict xpath for java

user interface - Java GUI Resolution Independent Scaling

java - Is there a good way to have a Map<String, ?> get and put ignoring case?

What is the easiest/best/most correct way to iterate through the characters of a string in Java?

java - ListCellRenderer not Firing Events on Child Components

Returning a PDF file from a Java Bean to a JSP

how to disable dtd at runtime in java's xpath?

configuration files - Java equivalent to app.config?

java - How best to implement user selectable variables in web application

Java file input as command line argument

java - How to reduce space between JCheckboxes in GridLayout

Java equivalents of C# String.Format() and String.Join()

java - How to get Cobertura to fail M2 build for low code coverage

java - How to reliably get row index in JTable from MouseEvent?

java - Looking for a "Universal" Document viewer component/library

java - jmock mocking a static method

java - Which annotation should I use: @IdClass or @EmbeddedId

java - Setting FetchMode in native Hibernate

java - Preprocessing source code as a part of a maven build

What is the best java RPG (Role Playing Game) engine for an experienced programmer?

Good reasons to prohibit inheritance in Java?

java - How do I reference assets from a different subdomain (or CDN) in production?

java - How do you format the body of a JMS text message?

How to subtract X days from a date using Java calendar?

java - Client side Callback in GWT

A good library to do URL Query String manipulation in Java

java - How to remove classpath variables from WAS module

java - Printing out items in any Collection in reverse order?

java - How to Force Thread Dump in Eclipse?

java - Can I use Class.newInstance() with constructor arguments?

coding style - Java: Triple Curly Bracing

Java Swing, textarea as input/output?

How do I move from Java to C#?

java - Placement of instance variable declarations

java - How to unit test abstract classes: extend with stubs?

multithreading - Should I always make my java-code thread-safe, or for performance-reasons do it only when needed?

What Java exception class to use for HTTP errors?

java - Should we declare a public constructor when the class is declared as package private?

java - How do I programmatically inspect a HTML document

java - ClassDefNotFound first time I start Tomcat from within Eclipse

Java file extension regex

web services - Java webservice (soap) client - use certificates

tomcat - How do you launch multiple threads from within Java EE?

java - BIRT in a desktop application

java - Customized naming of columns in JPA relationships

java - Import package.* vs import package.SpecificType

java - Can anyone explain servlet mapping?

php - How do I interpret a WSDL with references to a namespace java: on a non-java client?

java - Cobertura refuses to acknowledge code was covered

validation - What is the best way for converting phone numbers into international format (E.164) using Java?

java - Are there tools that log user actions to help reproduce bugs?

java - How to pass parameter to servlet

Managing database changes between a Rails and Java project

java - javac error "code too large"?

java - How do I include a header into my site that is hosted externally?

java - Do I have to explicitly call System.exit() in a Webstart application?

jakarta ee - Java SE vs Java EE, college and career

multithreading - Tools for finding Shared Mutable data bugs in Java

java - How do I broadcast in adhoc networks?

java - Spring + Tiles2 + Freemarker - integrate via Freemarker Servlet or via Spring's FreeMarkerViewResolver?

java - Dummy web service

Custom ID in session handling by Java Servlet API

eclipse - Importing Delphi Web Services into Java

java - WebSphere Portal v.5.1 and AJP?

logging - Remote log viewer for Java/Glassfish log files

java - Colorize logs in eclipse console

Java version names in Sun's bug database

java - Struts Logic Problem

javascript - Scripting in Java

java - cache FreeMarker templates

java - Why does addition of long variables cause concatenation?

java - How do I catch ClassCastException?

transactions - Does Java Connection.close rollback?

java - Can Eclipse Be Used To Find All Deprecated Method Calls?

java - How to add a JUnit 4 test that doesn't extend from TestCase to a TestSuite?

java - How can I find out what enums are defined by a class?

java - Can XFire SOAP server send HTTP 301 REDIRECT to client?

jakarta ee - Which is the simplest and least dependent AOP framework in Java?

SMTP with CRAM-MD5 in Java

java - JPA Composite Key + Sequence

Sun Java System Portal Server 7.1

java - What is a component

Lightweight messaging (async invocations) in Java

Write dpi metadata to a jpeg image in Java

java - ResultSet: Retrieving column values by index versus retrieving by label

java - Problem with Swing GUI on Macintosh

reflection - Reflecting method's actions in Java

How can I access a public static member of a Java class from ColdFusion?

look and feel - Java L&F customization: How do I use synth to customize BorderFactory borders?

java - Escape path separator in a regular expression

java - How to set up Eclipse TPTP

java - How to mock classes instantiated as local variables

which library better for faster java application swt or swing?

c# - Scheduled data backup from client to server

java - Wicket + Javascript

java - Can I list the resources in a given package?

java - What is the best way to do GUIs in Clojure?

java - Limit for URL length for "rundll32 url.dll,FileProtocolHandler"?

What is the data type for length property for Java arrays?

sockets - java connection to jabber

java - Slim application server for demonstrating a web app?

java - What libs can I use to bind POJOs to external files for TDD without much overhead?

Logging PreparedStatements in Java

java - Interface is not visible from ClassLoader when using a proxy?

java - AWT TextArea seems to count cr-lf sequence as one character

java - Is it better to reuse a StringBuilder in a loop?

java - Best way to find date nearest to target in a list of dates?

serialization - Serializing java.lang.Locale

java - Is there a performance difference between Javac debug on and off?

What are the benefits of Java?

java - How to extracts additional info from SSL certificate to allow access to WebService client on WAS

java - Boundary for comment box

servlets - How would you implement an RSS feed in a Java web environment?

java - Problem with Commons Logging / Log4j setup in spring webapp with tomcat 6

arrays - Is there an expandable list of object references in Java?

java - Connection to Oracle without a username or password

java - What is your method to generate Websphere 6 EJB with Ant / JDK 1.4.x?

java - How to toggle between one maven profile and another?

multithreading - synchronizing io operation in java on a string method argument?

java - How to use Hibernate @Any-related annotations?

How do I permit my Java applet to use MySQL?

events - How to fetch the middle mouse button in java?

java - Find "real" height/width of Swing/AWT object

java - Which is the best Open source application server?

performance - Size of a byte in memory - Java

java - How do I analyze a .hprof file?

java - Where can I download JSTL jar

java - Access spring bean that is exposed using http invoker from GWT application

java - Ways to save enums in database

How to close a Java Swing application from the code

java - How best can I isolate my application from an unreliable database?

java - Netbeans GUI Designer & Fixed-Size Application Panels

bit manipulation - How can I turn an int into three bytes in Java?

java - How to improve Netbeans performance?

Check LDAP connection (Java)

Unable to change font in java.awt.MenuBar

Jython and Java nested class

c# - Interacting with UI threads in Java/J2ME

java - When using Spring Security, what is the proper way to obtain current username (i.e. SecurityContext) information in a bean?

web applications - Abstract Java Grid

Java Generics Syntax for arrays

Tips for using Vim as a Java IDE?

How do I create a "Hello World" application in java for an iphone?

java - How do I inject a single property value into a string using spring 2.5.x?

linux - Open Browser window from Java program

java - How do you build an SWT application with Maven

java - Creating a transparent panel

java - expose RMI server in JBoss?

java - Debugging getResource*

java - comparison of code performance, threaded versus non-threaded

What do I need to know to make a Java application that uses a database?

python - Java equivalent to pyftpdlib?

java - Choosing when to instantiate classes

swing - Java GUI LayoutManagers

java - Eclipse 3.4 TextViewer

java - How do I have multiple components respond to a single event in JSF?

c# - Method Overloading. Can you overuse it?

java - Creating multi-platform CDs for software distribution

clojure - How do you change the CLASSPATH within Java?

java - URL decoding in Javascript

java - Using Stream Result with Struts2

apache flex - Client Java vs (Adobe) Flash for web applications, what to choose and when

Geographical position from Java mobile application?

java - Syntax colouring using Swing

url - getUrl using Java

java - JBoss/EJB vs Symmetric DS

swing - Populate JTable from a Hashtable in Java

jdbc - Should I catch exceptions thrown when closing java.sql.Connection

What is the best way to interface C# and Java?

Advanced Java Generics question: why do we need to specify redundant information

java - How to ignore whitespace while reading a file to produce an XML DOM

java - JSTL forEach tag: problems with enumeration, and with understanding how it should work

How to go about web service security in Java

What package naming convention do you use for personal/hobby projects in Java?

java - JSF & Facelets Flow

java - Is it possible to get calling page name inside a jsp 2.0 custom tag?

java - Message delivery when user is offline

java - Unsupported protocol: jndi with Websphere 6.1 when trying to access a file as a resource

java - Is there a performance difference between a for loop and a for-each loop?

java - RMI server picking up an old ip address

Groovy in Ant build.xml (with Java classes)

restart - restarting a java console application

java - When does Hibernate read from second-level cache and when from DB?

java - Log4j Logging to a Shared Log File

multithreading - Stopping a Thread in Java?

java - Comparing hibernate-mapped dates?

java - Polymorphism in JAX-RPC web services

java - JTextArea in vi mode

java - how can i get javac to search child directories of classpath?

Why does this regular expression kill the Java regex engine?

standards - java: what are the best techniques for communicating with a batch server?

java - What is the best way to protect user inputs (not yet submitted) from session timeout?

How do I turn a String into a InputStreamReader in java?

data structures - Where to get more information on Dictionary ADT and Skip List for Java?

java - How do I start designing portlets in Eclipse?

Java Alert Framework

java - spring and interfaces

java - JasperReports exported to Excel ignoring background color?

java - Retain relative mouse position while resizing a JPanel in a JScrollPane

java - Why can't I call a method outside of an anonymous class of the same name

formatting - Any command line format tool available for java file?

oop - Java implementations of the Prototype Pattern

operating system - Best OS for java development?

java - How Can I put information in a outputstream from tapestry5?

What do you need to do Unit testing in Java with Eclipse?

What's a good way to teach my son to program Java

java - How to assign Date parameters to Hibernate query for current timezone?

java - Display the OSX Command symbol key in a JLabel

java - Can we use JUNIT for Automated Integration Testing?

mysql - java.sql.Connection extension for SSH

java - Word Wrap in Net Beans

java - Identifying different mobile handsets and redirecting to different websites

java - Default Handler implementation breaking on nbsp

Encoding conversion in java

Is there a Newline constant defined in Java like Environment.Newline in C#?

java - How do you run Lucene on .net?

java - In Websphere 6.x LDAP query using LdapContext is the transmission of credentials encrypted?

jvm - Which library/program can be used to generate Java-bytecode?

java - Best way to select out of millions of rows in an Oracle DB

java - Why does byteArray have a length of 22 instead of 20?

java - Fastest way for doing INSERTS using IBATIS

java - indispensible JSP tag libraries

java - What would be the best way to match up two object instances between two different applications in a J2EE server?

ms office - How can I send output to an external/second display in Java?

java - How to package tagfiles in a jar?

java - How do I bind collection attributes to a form in Spring MVC

hibernate - Java Not Converting String to Long Object Properly

java - Integration of apache common vfs and mercurial

java - Use AJAX instead of TagLib?

java - javax.jms does not exist - compiling activemq examples

java - Prime number calculation fun

java - JSF : How to update one session bean base on another session bean?

java - Automating unit tests (junit) for Eclipse Plugin development

javascript - Java -> Apache Commons StringEscapeUtils -> escapeJavaScript

generics - How do I write a Java function that returns a typed instance of 'this' and works when extended?

java - 2 instances of the same table inside jsp

java - Hibernate CRUD à la Ruby on Rails' Scaffolding

java - JSP : JSTL's <c:out> tag

Java <-> Javascript for non-Applets?

java - NoClassDefFoundError without a class name

java - How do I control the display of a JComponent's Tooltip?

performance - Java File Cursor

java - Programmatically generate an Eclipse project

Which is the best JSON rewriter for Java?

java - differences between 2 JUnit Assert classes

java - How can I check if a method is static using reflection?

How do I programmatically determine operating system in Java?

java - Display chinese characters in AJAX and also in excel

java - Running Eclipse Junit Plugin tests with Junit 4.4 or newer -- why aren't tests detected?

jakarta ee - How to get the page count of a microsoft word document in java?

How to convert TIS-620 string to UTF-8 string in Java?

java - Is there a way to separate long running (e.g. stress tests) out so they're not run by default in Maven 2?

java - Referencing existing SWIG wrappers when creating new ones

java - How do I combine multiple BIRT reports

What are the best Java social networking frameworks?

generics - Java Class Type

java - What is the best way to parse a date in MM/DD/YY format and adjust it to the current / previous century?

Java - C-Like Fork?

java - JSP bean tag for property that might not exist

java - Should I put my test method in a separate class? If so, how?

java - QueueConnectionFactory for WebSphere MQ

java - How to do a check before allowing editing of a given row in a JTable

java - Using ActiveMQ 5, is it possible to configure the broker with in memory and network connections?

java - Why does my application still run after closing main window?

java - EJB3 Business Logic Patterns & Practices

java - Importing the content of another web resource using JSTL

Introducing generics to Java code without breaking the build

java - How do I redirect terminal output from a C program to System.out with JNI?

xml - Web Services in Java

web services - Using complex data types from Java in Axis webservice

eclipse - Can you register an ActiveX dll in Java programmatically?

How can I call .NET code from Java?

localization - Java Applet Locale setting

java - How to persist a property of type List<String> in JPA?

How to get common Subclasses of 2 Interfaces in Java with Eclipse?

synchronized - Java Web Application Sync Question

java - Is it possible to upgrade the DB schema with EJB?

java - Examples for creating stub data structures with dynamic JVM Languages?

web applications - Is there a tool to generate web pages based on Java beans?

java - Erlang JInterface - is OtpMBox thread-safe?

File Upload with Java (with progress bar)

java - How to determine the version of oc4j being used?

java - Beanshell catch(ex): Exception or Throwable?

Using Java 6, on linux how can I make sure to use an ipv4 socket?

Get Drive Size in Java 5

api - JavaFX and Java Interoperability

sockets - Java control IP TTL?

java - jdbc: when can i close what

What are your efficiency gains by removing XML in java projects?

java - Date time parsing that accepts 05/05/1999 and 5/5/1999, etc

image - How to get color space of a jpeg/tiff in java?

reflection - Is something similar to ServiceLoader in Java 1.5?

java - Button text in JTable renderer not visible. Why?

java - JAX-RPC, Spring web services, and UnsupportedOperationCallException

.net - msvcr71.dll file missing on Win Vista when trying to run my java swing application

java - How do I pass model data beween a view state and action state in Spring Web Flow 2

java - Getting Netbeans and Subversion to play together nicely with libraries?

Why is SomeClass<? super T> not equivalent to SomeClass<T> in Java generic types?

java - JVM terminates when launching Eclipse MAT on Mac OS with J2SE 6.0

java - How to automatically copy data to new RMI threads?

java - Bus or listeners/delegates in client-side Swing application?

java - Is there a way to hide Maven 2 "target/" folder in Eclipse 3?

java - Any disadvantages to using spring to separate tests and data?

java - HashSet.remove() and Iterator.remove() not working

hibernate - Java Application Server Performance

Java PDF viewer with FDF

java - How do I assemble a console application with Maven without unpacking all dependencies?

How difficult is it to turn a "Java School" programmer into a C or C++ programmer?

java - Make a Perl-style regex interpreter behave like a basic or extended regex interpreter

java - How JPA (Hibernate) deal with transaction when fetching Object from database

java - How do I auto load a database jar in Groovy without using the -cp switch?

StAX XML formatting in Java

java - Jetlang PoolFiber sample

java - Refactor this recursive method?

java - JSTL, Beans, and method calls

Java application failing on special characters

java - Persisting using hibernate/JPA

java - How to set the working directory for a <junit> task to something other than the basedir?

DBus-Server in Java?

java - how can i leave out fields from an axis2 soap response?

How do I read the PAN from an EMV SmartCard from Java

Describe the architecture you use for Java web applications?

reflection - Can I use regular expressions to find a method on a class in java?

java - Correct approach to Properties

java - Map of collections

Java System.currentTimeMillis() equivalent in C#

java - Finding out which methods were changed by a checkin?

java - Which class invoked my static method?

inheritance - Would syntax for composition be a useful addition to Java?

java - Unresponsive KeyListener for JFrame

swing - Sliding Notification bar in java (a la Firefox)

Java RMI not closing socket after lease expiration

jsp:forward in Java without using JSP tag?

java - Locales and ResourceBundles in a plugin-based program

Java SE 6 vs. JRE 1.6 vs. JDK 1.6 - What do these mean?

java - Should javac find methods outside of an anonymous class of the same name?

Is there a database modelling library for Java?

java - How can I load a COM oject from a JSP page?

java - Which library should I use to write an XLS from Linux / Python?

java - How to create conditions based on user role using JSF/MyFaces?

java - Array as the options for a switch statment

awt - Java: Any way of squirreling an object about a Component somewhere in the Component?

Retrieving records from MySQL in Java

java - How to determine database type for a given JDBC connection?

How to browse for a file in java swing library?

user interface - How can I dynamically alter the Java LAF UIDefaults?

java - Convert to date

java - Remoting from a Swing app to GWT server

Convert Word doc to HTML programmatically in Java

NoClassDefFoundError while trying to run my jar with java.exe -jar...what's wrong?

java - The fundamentals of Hash tables?

Inserting text into an existing file via Java

What's the difference between JavaScript and Java?

java - Preserve JTable selection across TableModel change