Java

Facebook Twitter
Tunning

Preparation tips for SCJP- Sun Certified Java Programmer Exam | Java, JVM and beyond Preparation tips for SCJP- Sun Certified Java Programmer Exam | Java, JVM and beyond I cleared SCJP 6.0 with 81% on January 25, 2010 (putting this up after a long gap), not a really good score, but happy to get a “PASS” :). I did manage to do some 25 days of preparation (serious preparation), but my coding experience in Java helped me a lot- In understanding the basic concepts easily and giving more time to learn the less used concepts like Generics, Collections, Threading. Through out my preparation and after appearing for the exam there are few things I wanted to share with the aspirants: Which Is the book to be referred?
Java Anti-Patterns Java Anti-Patterns This page collects some bad code that may not look so obviously bad to beginners. Beginners often struggle with the language syntax. They also have little knowledge about the standard JDK class library and how to make the best use of it.
The 3 things you should know about hashCode() The 3 things you should know about hashCode() In Java, every object has a method hashCode that is simple to understand but still it’s sometimes forgotten or misused. Here are three things to keep in mind to avoid the common pitfalls. An object’s hash code allows algorithms and data structures to put objects into compartments, just like letter types in a printer’s type case. The printer puts all “A” types into the compartment for “A”, and he looks for an “A” only in this one compartment.
Java Anti-Patterns
IT Happens Here!: Understanding the Different ApplicationContexts in Spring Application As a beginner to spring, one might often not know the difference between the several applicationContexts that we use in a spring application. Spring documentation is the best place that can really guide you though the process of completely getting this clarified! But here is the abridged version for a quick understanding of the differences between the various configuration files that we use in a spring application. IT Happens Here!: Understanding the Different ApplicationContexts in Spring Application
Drools is an Object-Oriented Rule Engine for Java. Drools is an augmented implementation of Forgy's Rete algorithm tailored for the Java language. Adapting Rete to an object-oriented interface allows for more natural expression of business rules with regards to business objects. More importantly, Drools provides for declarative logic programming and is flexible enough to match the semantics of your problem domain. Open Source Rule Engines in Java Open Source Rule Engines in Java

Vert.x- Effortless asynchronous application development for the modern web and enterprise

Save the following in server.js Run it: vertx run server.js Save the following in Server.java Run it: (note no compile is needed!) Vert.x- Effortless asynchronous application development for the modern web and enterprise
400+ Java Interview Questions and Answers blog
Java IAQ: Infrequently Answered Questions Java IAQ: Infrequently Answered Questions by Peter Norvig Q: What is an Infrequently Answered Question? A question is infrequently answered either because few people know the answer or because it is about an obscure, subtle point (but a point that may be crucial to you). I thought I had invented the term, but it also shows up at the very informative About.com Urban Legends site.
Wouter Coekaerts » Puzzles Wouter Coekaerts » Puzzles This is a series of Java puzzles that put your Java skills to the test, in a challenging and fun way! A puzzle consists of some given Java code with a line in it that seems to be impossible to reach. It’s up to you to find the hole in it, abuse a subtle behavior of Java to make execution reach that line anyways. Rules
[JavaSpecialists 199] - Hacking Java Surreptitiously [JavaSpecialists 199] - Hacking Java Surreptitiously The Java Specialists' Newsletter Issue 199 Category: Language Java version: Java 1 - Java 7 by Dr.
Overview Overview Commons Functor: Function Objects for Java A functor is a function that can be manipulated as an object, or an object representing a single, generic function. Functors support and encourage a number of powerful programming techniques including: programming in a functional style higher order functions internal iterators reuse and specialization through composition rather than inheritance and overloading generic "callback" or "extension point" APIs generic "filters" or predicate APIs many "behavioral" design patterns, such as Visitor, Strategy, Chain of Responsibility, etc.
Thread interview questions Java Multi-threading and concurrency questions are essential part of any Java interview. If you are going for any Java interview on any Investment bank for equities front office position expect lots of muti-threading interview questions on your way. Multi-threading and concurrency is a favorite topics on Investment banking specially on electronic trading development and they grill candidate on many confusing java thread interview questions. Top 15 java threading interview questions asked in Investment banks
Peter Pilgrim interviewed Peter Lawrey to find out how he started out as an IT Consultant. [Pilgrim] Starting a business for me is pretty scary and crazy s%#t, no offence. I just do not know how to market myself to the key decision makers for one thing. Vanilla Java
Clean Code: A Handbook of Agile Software Craftsmanship
Posted by Uncle Bob on 04/08/2008 I’ve been working on this book for several years now. After a flurry of effort (you might have noticed I’ve been quiet lately) I’m very pleased to say that I’m done with the writing and am preparing the manuscript for production. See The Prentice Hall Listing Table of Contents Clean Code 1 There Will Be Code 1 Bad Code 2 The Total Cost of Owning a Mess. 3 Schools of Thought. 11 We are Authors. 12 The Boy Scout Rule 13 Prequel and Principles 14 Conclusion 14 Bibliography 15 Meaningful Names by Tim Ottinger 17 Introduction 17 Use Intention-revealing Names 17 Avoid Disinformation 19 Make Meaningful Distinctions 20 Use Pronounceable Names 21 Use Searchable Names 22 Avoid Encodings 23 Avoid Mental Mapping 24 Class Names 25 Method Names 25 Don't Be Cute 25 Pick One Word Per Concept 26 Don't Pun 26 Use Solution Domain Names 27 Use Problem Domain Names 27 Add Meaningful Context 27 Don't add Gratuitous Context 29 Final Words ... 30 Functions 31 Small! Clean Code. Whew!
collections.png (PNG Image, 802x915 pixels)
An Introduction to Generics in Java > Generic Methods
Factory Chain: A Design Pattern for Factories with Generics by Hugo Troche - developer.*, Developer Dot Star
Domain-Driven Design Community
Roma Framework: The new way to conceive Web Applications
An Introduction to Domain Driven Design
Desarrollo Aplicaciones Web
DDD Sample Application - Introduction
javashot - Project Hosting on Google Code
GEF
m2eclipse FAQ | Sonatype
Singleton in Java – the proper way « The guy who does not speak…
Efficient way to implement singleton pattern in Java
www.qi4j.org - www.qi4j.org