java Programming Glossary: introduction
Tool for creating a Java daemon service on Linux [closed] http://stackoverflow.com/questions/1311268/tool-for-creating-a-java-daemon-service-on-linux it in etc init.d . Have a look at Init Scripts and An introduction to services runlevels and rc.d scripts share improve this answer..
How to make a JFrame Modal in Swing java http://stackoverflow.com/questions/1481405/how-to-make-a-jframe-modal-in-swing-java want to make the window modal. Check out details on the introduction of the Modality API in Java 6 for info. There is also a tutorial..
Which overload will get selected for null in Java? http://stackoverflow.com/questions/1545501/which-overload-will-get-selected-for-null-in-java which you can read just as well in the spec as here the introduction gives a good summary If more than one member method is both..
What is a sensible prime for hashcode calculation? http://stackoverflow.com/questions/1835976/what-is-a-sensible-prime-for-hashcode-calculation used for performance reasons that are long gone after the introduction of hardware multipliers. Here you have many hashcode collisions..
What's wrong with Java Date & Time API? http://stackoverflow.com/questions/1969442/whats-wrong-with-java-date-time-api . The chance of a system being still up and running in the introduction of two leap seconds every six months minimum every few years..
Method has the same erasure as another method in type http://stackoverflow.com/questions/1998544/method-has-the-same-erasure-as-another-method-in-type CollectionConverter List toList Collection c ... After the introduction of generics I decided to update my library. class CollectionConverter..
Why GWT? Advantages and Trade-Offs of Using This RIA Framework http://stackoverflow.com/questions/2097964/why-gwt-advantages-and-trade-offs-of-using-this-ria-framework CSS GWT has always of course embraced CSS but with the introduction of GWT 2.0 and UiBinder they took it to another level. Let's..
Best method to parse various custom XML documents in Java http://stackoverflow.com/questions/23106/best-method-to-parse-various-custom-xml-documents-in-java last project to parse XML files up to 24MB. There's a nice introduction on java.net which tells you everything you need to know to get..
What is a raw type and why shouldn't we use it? http://stackoverflow.com/questions/2770321/what-is-a-raw-type-and-why-shouldnt-we-use-it code. The use of raw types in code written after the introduction of genericity into the Java programming language is strongly..
Difference between a deprecated and a legacy API? http://stackoverflow.com/questions/2873254/difference-between-a-deprecated-and-a-legacy-api and interoperability with legacy code that predates the introduction of generics. Item 25 Prefer lists to arrays Erasure is what..
How does this regex find triangular numbers? http://stackoverflow.com/questions/3627681/how-does-this-regex-find-triangular-numbers of a series of educational regex articles this is a gentle introduction to the concept of nested references. The first few triangular..
Parsing an arithmetic expression and building a tree from it in Java http://stackoverflow.com/questions/4589951/parsing-an-arithmetic-expression-and-building-a-tree-from-it-in-java tree share improve this question The Five minute introduction to ANTLR includes an arithmetic grammar example. It's worth..
Where's the official JSP tutorial http://stackoverflow.com/questions/4845032/wheres-the-official-jsp-tutorial is in Java EE 6 succeeded by Facelets. The Facelets introduction in Java EE 6 tutorial states the following JavaServer Pages..
Differences between Ant and Maven http://stackoverflow.com/questions/603189/differences-between-ant-and-maven I wrote about the differences between Maven and Ant in the introduction the section title is The Differences Between Ant and Maven ... Here's an answer that is a combination of the info in that introduction with some additional notes. A Simple Comparison I'm only showing..
Android (Java) network programming resources http://stackoverflow.com/questions/623533/android-java-network-programming-resources networking examples Android Training provides reasonable introduction to the topic. http developer.android.com training basics network..
Has JUnit4 begun supporting ordering of test? Is it intentional? http://stackoverflow.com/questions/7845929/has-junit4-begun-supporting-ordering-of-test-is-it-intentional doing parallel execution. Unfortunately this allows the introduction of dependencies between your test classes. The ordering of test..
What exactly is Apache Camel? http://stackoverflow.com/questions/8845186/what-exactly-is-apache-camel what exactly Camel does. If you could give in 101 words an introduction to Camel What exactly is it How does it interact with an application.. apache . Its a well written piece which gives a brief introduction and overview what Camel is and some of its concepts and then..
When exactly is it leak safe to use (anonymous) inner classes? http://stackoverflow.com/questions/10864853/when-exactly-is-it-leak-safe-to-use-anonymous-inner-classes will join in to cover what I may miss. Inner Classes Introduction As I'm not sure how comfortable you are with OOP in Java this.. whether it is in an Activity or not. Activities and Views Introduction Activities contain a lot of information to be able to run and.. may still want to refer to the above practices. Runnables Introduction Runnables are actually not that bad. I mean they could be but..
JavaFX TableView dynamic column and data values http://stackoverflow.com/questions/13332212/javafx-tableview-dynamic-column-and-data-values tableView.getColumns .addAll ds1.getColumns Reference Introduction to DataFX Edit Standard JavaFX Way replace your code for List..
Converting JSON to Java http://stackoverflow.com/questions/1688099/converting-json-to-java JavaBean and call Gson#fromJson . See also Json.org Introduction to JSON Gson User Guide Introduction to Gson share improve..
Determine whether or not there exist two elements in Set S whose sum is exactly x - correct solution? http://stackoverflow.com/questions/2171969/determine-whether-or-not-there-exist-two-elements-in-set-s-whose-sum-is-exactly Set S whose sum is exactly x correct solution Taken from Introduction to Algorithms Describe a n lg n time algorithm that given a..
How to upload files to server using JSP/Servlet? http://stackoverflow.com/questions/2422468/how-to-upload-files-to-server-using-jsp-servlet ee servlets file upload share improve this question Introduction To browse and select a file for upload you need a HTML input..
When to use JCR (content repository) over other options? http://stackoverflow.com/questions/3908584/when-to-use-jcr-content-repository-over-other-options Introducing the Java Content Repository API by Titus Barik Introduction to JCR by David Nuescheler Introduction to JCR and Apache Jackrabbit.. API by Titus Barik Introduction to JCR by David Nuescheler Introduction to JCR and Apache Jackrabbit by Jukka Zitting Overview of ModeShape..
Generating all permutations of a given string http://stackoverflow.com/questions/4240080/generating-all-permutations-of-a-given-string
Why Java does not see that Integers are equal? http://stackoverflow.com/questions/4428774/why-java-does-not-see-that-integers-are-equal override the equals method and hashCode in here. See also Introduction to autoboxing Autoboxing pitfalls when comparing numbers with..
Finding prime numbers with the Sieve of Eratosthenes (Originally: Is there a better way to prepare this array?) http://stackoverflow.com/questions/586284/finding-prime-numbers-with-the-sieve-of-eratosthenes-originally-is-there-a-bet and tags appropriately. Thanks to everyone who helped Introduction I wrote this fancy little method that generates an array of..
What's new in Hibernate 4? http://stackoverflow.com/questions/6830501/whats-new-in-hibernate-4 Move to gradle for builds Redesign SessionFactory building Introduction of services see this for more details Improved metamodel not..
Is it possible to code a device driver in Java? http://stackoverflow.com/questions/683701/is-it-possible-to-code-a-device-driver-in-java it possible to code a device driver in Java Introduction I heard something about writing device drivers in Java heard..
inter jvm communication http://stackoverflow.com/questions/810212/inter-jvm-communication avoid any disk I O. For more details read this article Introduction to Memory Mapped IO in Java Also you will still need a way to..
What hashing function does Java use to implement Hashtable class? http://stackoverflow.com/questions/9364134/what-hashing-function-does-java-use-to-implement-hashtable-class Java use to implement Hashtable class From the book CLRS Introduction to Algorithms there are several hashing functions such as mod..
|