java Programming Glossary: excellent
Use of '? extends ' and '? super ' in Collection generics [duplicate] http://stackoverflow.com/questions/12604477/use-of-extends-and-super-in-collection-generics elements are only guaranteed to return Object . PECS is an excellent acronym to remember this it means P roducer E xtends C onsumer..
Drawing a rectangle that won't disappear in next paint http://stackoverflow.com/questions/12683533/drawing-a-rectangle-that-wont-disappear-in-next-paint suggest of double buffering or back buffering is and excellent one and I highly encourage you to have a look an implementing..
Generics-Get and Put rule http://stackoverflow.com/questions/1292109/generics-get-and-put-rule for Java generics questions the Java Generics FAQ is an excellent resource which contains the answer to almost anything generics..
Netty vs Apache MINA http://stackoverflow.com/questions/1637752/netty-vs-apache-mina had on MINA we did so from scratch. By following the excellent documentation and examples we ended up with more functionality..
Generic arrays in Java http://stackoverflow.com/questions/1817524/generic-arrays-in-java that. For a better and more complete explanation see the excellent Java Generics FAQ Can I create an array whose component type..
Are there C++ equivalents for the Protocol Buffers delimited I/O functions in Java? http://stackoverflow.com/questions/2340730/are-there-c-equivalents-for-the-protocol-buffers-delimited-i-o-functions-in-ja considering Java has it and so does Marc Gravell's excellent protobuf net C# port via SerializeWithLengthPrefix and DeserializeWithLengthPrefix..
How to upload files to server using JSP/Servlet? http://stackoverflow.com/questions/2422468/how-to-upload-files-to-server-using-jsp-servlet to parse the multpart form data requests. It has an excellent User Guide and FAQ carefully go through both . There's also..
When best to use an interface in java http://stackoverflow.com/questions/2586389/when-best-to-use-an-interface-in-java the hoods without changing the code. The JDBC API is an excellent example. It exist of almost only interfaces. The concrete implementations..
Overriding equals and hashCode in Java http://stackoverflow.com/questions/27581/overriding-equals-and-hashcode-in-java you use to compute equals to compute hashCode . Use the excellent helper classes EqualsBuilder and HashCodeBuilder from the Apache..
What is the difference between a soft reference and a weak reference in Java? http://stackoverflow.com/questions/299659/what-is-the-difference-between-a-soft-reference-and-a-weak-reference-in-java long as memory is in plentiful supply. This makes them an excellent foundation for a cache such as the image cache described above..
Difference in days between two dates in Java? http://stackoverflow.com/questions/3299972/difference-in-days-between-two-dates-in-java share improve this question I would suggest you use the excellent Joda Time library instead of the flawed java.util.Date and friends...
What is the best library for Java to grid/cluster-enable your application? [closed] http://stackoverflow.com/questions/383920/what-is-the-best-library-for-java-to-grid-cluster-enable-your-application natural abstraction. I've used Coherence a lot and it's an excellent high performance product but not cheap. Terracotta I'm less..
Port of Random generator from C to Java? http://stackoverflow.com/questions/397867/port-of-random-generator-from-c-to-java generator from C to Java George Marsaglia has written an excellent random number generator that is extremely fast simple and has..
Best practices for exception management in Java or C# http://stackoverflow.com/questions/409563/best-practices-for-exception-management-in-java-or-c-sharp Follow Up Edit Thanks for all the feedback found some excellent sources on exception management online Best Practices for Exception..
Good use case for Akka [closed] http://stackoverflow.com/questions/4493001/good-use-case-for-akka and not hard to unit test. Then there are the excellent add on modules. The Camel module really plugs in well into Akka..
ArithmeticException: “Non-terminating decimal expansion; no exact representable decimal result” http://stackoverflow.com/questions/4591206/arithmeticexception-non-terminating-decimal-expansion-no-exact-representable
How to lock compiled Java classes to prevent decompilation? http://stackoverflow.com/questions/49379/how-to-lock-compiled-java-classes-to-prevent-decompilation a way that makes it really hard to follow and works as an excellent code optimizer... Also many of the obfuscators are also able..
ByteBuffer.allocate() vs. ByteBuffer.allocateDirect() http://stackoverflow.com/questions/5670862/bytebuffer-allocate-vs-bytebuffer-allocatedirect share improve this question Ron Hitches in his excellent book Java NIO seems to offer what I thought could be a good..
Why is it frowned upon to use a null layout in SWING? http://stackoverflow.com/questions/6592468/why-is-it-frowned-upon-to-use-a-null-layout-in-swing are planning to write code to feed your layout manager an excellent solution at that . I also wouldn't use GUI builders they don't..
Easiest way to merge a release into one JAR file http://stackoverflow.com/questions/81260/easiest-way-to-merge-a-release-into-one-jar-file easy to use for deploying my own code. Some of the other excellent suggestions might be better for builds in a non Eclipse environment..
|