Java

TwitterFacebook
Get flash to fully experience Pearltrees
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. http://java-source.net/open-source/rule-engines

Open Source Rule Engines in Java

http://norvig.com/java-iaq.html

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

http://wouter.coekaerts.be/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
http://www.javaspecialists.eu/archive/Issue199.html

[JavaSpecialists 199] - Hacking Java Surreptitiously

The Java Specialists' Newsletter Issue 199 Category: Language Java version: Java 1 - Java 7 by Dr.

Overview

http://commons.apache.org/functor/ 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

http://javarevisited.blogspot.com/2011/07/java-multi-threading-interview.html
http://blog.objectmentor.com/articles/2008/04/08/clean-code-whew 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!

An Introduction to Generics in Java > Generic Methods

Like generic classes, methods and constructors can also have type parameters. These parameters are declared prior to the return type of the method and can be used as return types, argument types, and in the throws clause. For example, see Listing 4. Listing 4 Generic method—finds max T http://www.informit.com/articles/article.aspx?p=170176&seqNum=3
Introduction T he recent Java 5 (a.k.a. Java 1.5) generics implementation opens both new problems and new opportunities in the implementation of the "Gang of Four" (GoF) Factory patterns [Gamma, et al 1995].

Factory Chain: A Design Pattern for Factories with Generics by Hugo Troche - developer.*, Developer Dot Star

http://www.developerdotstar.com/mag/articles/troche_factorychain.html
All text and content found at URLs starting with http://www.AngelikaLanger.com/GenericsFAQ/ (collectively, "the Java Generics FAQ") are the sole property of Angelika Langer. Copyright @ 2004-2013 by Angelika Langer . All rights reserved. Except as specifically granted below, you may not modify, copy, publish, sell, display, transmit (in any form, or by any means, electronic, mechanical, photocopying, recording, or otherwise), adapt, distribute, store in a retrieval system, create derivative works, or in any other way use or exploit the contents of the Java Generics FAQ, without the prior consent of the author. All rights, titles and interest, including copyrights and other applicable intellectual property rights, in any of the material belongs to the provider of the material. You do not acquire proprietary interest in such materials by accessing them on my web site.

Java Generics FAQs - Frequently Asked Questions

http://www.angelikalanger.com/GenericsFAQ/JavaGenericsFAQ.html

An Introduction to Domain Driven Design

Click here to view the complete list of archived articles This article was originally published in the Winter 2009 issue of Methods & Tools An Introduction to Domain Driven Design Dan Haywood, Haywood Associates Ltd, http://danhaywood.com/ Today’s enterprise applications are undoubtedly sophisticated and rely on some specialized technologies (persistence, AJAX, web services and so on) to do what they do.
"I can't recall when I was so excited about a framework, specially for web development. I have been in the field since 1983 and I am hard to impress. With OpenXava I am impress!" Federico Alcántara "This is like a dream come true, as I have been wanting something like that since the day I programmed my first user interface" Sebastien Diot

Desarrollo Aplicaciones Web

javashot - Project Hosting on Google Code

This project uses Java instrumentation capabilities to captures the dynamic execution flow of a Java program, which enable you to better understand the execution of your Java program. The program generates a set of .dot files which can bee visualized using the tools from ( http://www.graphviz.org/ ). use ZGRViewer or xdot.py ( http://www.graphviz.org/Resources.php ) for viewing large graphs. You can also use gvpr or standard unix grep to extract a subset of a large graph. The generated graph can be seen as UML activity diagram (which is by the way isomorph to the UML sequence diagram). I've included a gawk script in the scripts directory that pretty prints the generated .dot files to a format reminiscent of UML sequence diagram.

GEF

The Graphical Editing Framework (GEF) provides technology to create rich graphical editors and views for the Eclipse Workbench UI. It bundles three components: Draw2d (org.eclipse.draw2d) - A layout and rendering toolkit for displaying graphics on an SWT Canvas. GEF (MVC) (org.eclipse.gef) - An interactive model-view-controler (MVC) framework, which fosters the implementation of SWT-based tree and Draw2d-based graphical editors for the Eclipse Workbench UI.