java Programming Glossary: personally
When do you use a JSP and when a Servlet? http://stackoverflow.com/questions/101579/when-do-you-use-a-jsp-and-when-a-servlet all done without any interaction with the customer. I have personally chosen to implement this functionality as a JSP since it is..
Exception Vs Assertion http://stackoverflow.com/questions/1276308/exception-vs-assertion entire reasonable IMO to use exceptions for everything. I personally don't use assertions much at all but it's a matter of personal..
JavaFX or Swing? [closed] http://stackoverflow.com/questions/1318645/javafx-or-swing on Oracle official website Ease of use subjective again I personally prefer the general design of Java FX extensive use of generics..
Choosing a Java Web Framework now? [closed] http://stackoverflow.com/questions/2084169/choosing-a-java-web-framework-now based frameworks. All decent and will cover your needs personally I like Stripes and its convention over configuration approach..
Where to place configuration properties files in a JSP/Servlet web application? http://stackoverflow.com/questions/2161054/where-to-place-configuration-properties-files-in-a-jsp-servlet-web-application disadvantages in your own opinion of maintainability. I personally prefer putting it in the classpath outside the project add new..
Encoding conversion in java http://stackoverflow.com/questions/229015/encoding-conversion-in-java just use the String constructors and getBytes methods but personally I don't like just working with the names of character encodings...
How can I play sound in Java? http://stackoverflow.com/questions/26305/how-can-i-play-sound-in-java should I look java audio share improve this question I personally made this code that works fine. I think it only works with .wav..
Design Patterns web based applications http://stackoverflow.com/questions/3541077/design-patterns-web-based-applications a robust framework yourself. From the mentioned ones I personally recommend JSF 2.0 . In the below detailed explanation I'll restrict..
Java Webservice Client (Best way) http://stackoverflow.com/questions/3588616/java-webservice-client-best-way What is the best approach to do this JAVA I would personally NOT use Axis 2 even for client side development only. Here is..
Access C++ shared library from Java: JNI, JNA, CNI, or SWIG? http://stackoverflow.com/questions/3720563/access-c-shared-library-from-java-jni-jna-cni-or-swig in either can result in unexpected runtime behavior. I personally would use JNA unless the interface is complex enough to make..
Why does this go into an infinite loop? http://stackoverflow.com/questions/3831341/why-does-this-go-into-an-infinite-loop tell if that helps or hurts the answer. I will say that I personally haven't done all that much Java development so for all I know..
Is stopwatch benchmarking acceptable? http://stackoverflow.com/questions/410437/is-stopwatch-benchmarking-acceptable seems great from the WebSite but I've not used it at all personally. Edit2 To answer the edited question on scheduling interruptions...
How to read PDF files using java [closed] http://stackoverflow.com/questions/4784825/how-to-read-pdf-files-using-java is another alternative that also works with C# though I've personally never used it. It's more low level than PDFBox so less suited..
Composing Swing Components: How do I add the ability to add ActionListeners? http://stackoverflow.com/questions/6035834/composing-swing-components-how-do-i-add-the-ability-to-add-actionlisteners controls actionlistener share improve this question I personally don't think you need a custom Swing component. No need for your..
for loop optimization http://stackoverflow.com/questions/6093537/for-loop-optimization you need to choose from mentioned two. go for second but I personally would go for for each for each Performance From Item 46 in Effective..
AsyncTask.executeOnExecutor() before API Level 11 http://stackoverflow.com/questions/7211684/asynctask-executeonexecutor-before-api-level-11 single thread is allocated to run a list of intense tasks. personally I think this is a sort of halfway solution. Yes the intense..
Making Distinctions Between Different Kinds of JSF Managed-Beans http://stackoverflow.com/questions/7223055/making-distinctions-between-different-kinds-of-jsf-managed-beans this question This is a very subjective question. I personally disagree that article and find that it's giving really bad advice..
Should I avoid the use of set(Preferred|Maximum|Minimum)Size methods in Java Swing? http://stackoverflow.com/questions/7229226/should-i-avoid-the-use-of-setpreferredmaximumminimumsize-methods-in-java-swi I use them In which context For what purposes don't know personally I think of it as an api design accident. Slightly forced by..
Is there a Java library of Unix functions? http://stackoverflow.com/questions/1088113/is-there-a-java-library-of-unix-functions from Jython jna posix based on JNA derived from JRuby Personally I like very much JNA . Take a look at this example of mine mapping..
Java Date vs Calendar http://stackoverflow.com/questions/1404210/java-date-vs-calendar manipulation functions of Date have since been deprecated. Personally I tend to use either time in milliseconds as a long or Long..
Java Generics: Why Does Map.get() Ignore Type? [duplicate] http://stackoverflow.com/questions/1455138/java-generics-why-does-map-get-ignore-type necessary to prevent the collection from getting broken. Personally I'm not a fan of that approach but it does make some sense given..
Java obfuscation - ProGuard/yGuard/other? [closed] http://stackoverflow.com/questions/150653/java-obfuscation-proguard-yguard-other to decompile from what Java versions are supported by each Personally I'm particularly interested from a J2ME point of view but please..
When comparing two Integers in Java does auto-unboxing occur? http://stackoverflow.com/questions/1514910/when-comparing-two-integers-in-java-does-auto-unboxing-occur being used but the references genuinely are equal. Personally I'd use if x.intValue y.intValue or if x.equals y The latter..
Maven and the JOGL library? http://stackoverflow.com/questions/1962718/maven-and-the-jogl-library goal is used to install artifacts to a remote repository . Personally I would download JOGL 2.0 ZIPs from the URL you provided package..
What is a good CSV Java Utility [closed] http://stackoverflow.com/questions/2053761/what-is-a-good-csv-java-utility a viable option. java csv share improve this question Personally I'd not be able to resist the innate programmer desire to roll..
Choosing a Java Web Framework now? [closed] http://stackoverflow.com/questions/2084169/choosing-a-java-web-framework-now Is portal based solution a good fit to this problem Personally I would stay away from big fat Portal solutions they are often..
Enum in Hibernate, persisting as an enum http://stackoverflow.com/questions/2160700/enum-in-hibernate-persisting-as-an-enum Java 5 Enums Persistence with Hibernate for an example . Personally I'd just forget the idea to use MySQL enum I'm not convinced..
Java protected fields vs public getters http://stackoverflow.com/questions/2279662/java-protected-fields-vs-public-getters writable by subclasses unless it's final to start with . Personally I like all my fields to be private it provides a cleaner separation..
Java Concurrency: CAS vs Locking http://stackoverflow.com/questions/2664172/java-concurrency-cas-vs-locking which of these concept Is it really so much faster Personally for me the usage of Locks is much clearer and easier to understand..
Why shouldn't I use immutable POJOs instead of JavaBeans? http://stackoverflow.com/questions/3511120/why-shouldnt-i-use-immutable-pojos-instead-of-javabeans and I can't understand why I should use them instead. Personally the code looks better if it only deals with immutable objects..
What is a good use case for static import of methods? http://stackoverflow.com/questions/420791/what-is-a-good-use-case-for-static-import-of-methods easier to find where this imported method is coming from. Personally I have used this language feature very rarely and almost always..
C# version of java's synchronized keyword? http://stackoverflow.com/questions/541194/c-sharp-version-of-javas-synchronized-keyword public event EventHandler SomeEvent synchronized Personally I don't like the implementation of MethodImpl as it locks this..
What is the most efficient Java Collections library? [closed] http://stackoverflow.com/questions/629804/what-is-the-most-efficient-java-collections-library of functionality over the normal collections in the JDK. Personally and I'm biased I love Guava including the former Google Java..
Get term frequencies in Lucene http://stackoverflow.com/questions/667389/get-term-frequencies-in-lucene specialized file structure that leaves out the SkipData . Personally I would look for a better algorithm to achieve my objective..
Hibernate, iBatis, Java EE or other Java ORM tool http://stackoverflow.com/questions/716532/hibernate-ibatis-java-ee-or-other-java-orm-tool that SQL can. Productivity This is a hard one to judge. Personally I think I'm more productive in ibatis but I'm also really comfortable..
Is there a way to refer to the current type with a type variable? http://stackoverflow.com/questions/7354740/is-there-a-way-to-refer-to-the-current-type-with-a-type-variable security that comes from the unintuitive recursive bound. Personally I prefer to leave the bound since SELF extends SelfTyped SELF..
Most efficient way to increment a Map value in Java http://stackoverflow.com/questions/81346/most-efficient-way-to-increment-a-map-value-in-java and Trove methods would be likely to affect memory usage. Personally I find the MutableInt method the most attractive since it doesn't..
What is the best practice for reading property files in Java EE? http://stackoverflow.com/questions/883858/what-is-the-best-practice-for-reading-property-files-in-java-ee system properties share improve this question Personally I use the java.util.Properties Class and use the load method..
|