The mock-object testing pattern has commonly been used to test an individual unit of code without testing its dependencies. While this pattern works well for interaction-based testing, it can be overkill for state-based testing. Learn how to streamline your unit-testing using stubs and the pseudo-objects testing pattern.
Inject4Spring - a small Open Source library that extends base functionality of Spring framework by providing inversion of control (IoC) capabilities for Spring configuration metadata by allowing using "opposite" direction of specifying references between beans in Spring context.
The Spring Framework's applicability in the context of Swing seems to be underhighlighted, at least when one looks around on the web. What does Spring have to offer in this context? Rather than a highly theoretical discussion, let's look at a complete, compilable example, step by step, and draw our conclusions from there.
Problem:
Easily integrating your Linux host into a Windows environment ...
Solution:
This solution allows one to very easily navigate any number of windows/samba servers and shares with any file management application (and from the shell).
This wiki is for sharing information about syntax errors in Java. It is probably going to start somewhat slowly, but I'm okay with that. This page is the starting point for the content. See the Community portal for information about how you can contribute, about the project, and about our community.
Note that, until other people start using this wiki, the syntax errors will reflect Eclipse usage. That's because I (Ducky Sherwood) use Eclipse. I'd be delighted for others to help me make it more inclusive.
I don't mind at all if the list below gets extremely long. I expect that people will find this site by plugging their error message into a search engine -- which should take them to the error discussion before bringing them to this page. The main purpose of this page is thus to tell search engines where pages are; letting humans read it is secondary in importance.
Teaser for an interesting book...
EAI - The Broader Perspective
No one should have (or will) ever dared to build a 'Single System' which will take care of the entire business requirements of an enterprise. Instead, we build few (or many) systems,and each of them takes care of a set of functionalities in a single Line of Business (LOB). There is absolutely nothing wrong here, but the need of the hour is that these systems have to exchange information and interoperate in many new ways which have not been foreseen earlier. Business grows, enterprise boundaries expands and mergers and acquisition are all norms of the day. If IT cannot scale up with these volatile environments, the failure is not far.
# 2840 Spring Portfolio resources classified in several categories...
# Over 400 unique visitors per day to SpringHub.com...
# Thanks to all subscribers to SpringHub.com from all over the world...
This will be the first of a small series of blogs covering proposed new features in JSF 2.0.
Keep in mind that none of the features described are final, and may change, but
this is a good opportunity to show the features as they exist now and illicit feedback.
Apache Sling (currently in incubation) is a web framework that uses a Java Content Repository, such as Apache Jackrabbit, to store and manage content.
Sling applications use either scripts or Java servlets, selected based on simple name conventions, to process HTTP requests in a RESTful way.
The embedded Apache Felix OSGi framework and console provide a dynamic runtime environment, where code and content bundles can be loaded, unloaded and reconfigured at runtime.
As the first web framework dedicated to JSR-170 Java Content Repositories, Sling makes it very simple to implement simple applications, while providing an enterprise-level framework for more complex applications.
Discussions about Sling happen on our mailing lists, see the Project Information page for more info.
It’s not just about “finding” Information. The Missions which dictate our Searches weave a complex Web of Information which could provide a wealth of experience if we could maintain the relationships between the Nuggets of Information related to a
Remember when the Object database was going to kill the Relational database?
OOP was the sexy programming model, and relational set theory seemed so quaint. Once you are using Objects, why wouldn’t you just want to persist them instead of having to drop down to this crazy SQL? Inner joins instead of just person.name.first? Fools.
The Relations application is a tool for knowledge management. It is a combination of a personal Wiki and an electronic slip box.
You can easily create items of three types (terms, texts and persons) and set them in relation to other items already entered, thus creating a rich context for your items. See the features list for more information.
Relations is a Rich Client Platform (RCP) application based on the Eclipse
Thinking Rock allows you to collect your thoughts and process them into actions, projects, information or future possibilities. Actions can be done by you, delegated to someone else or scheduled for a particular date. Projects can be organised with ordered actions and sub-projects. You can review all of your actions, projects and other information quickly and easily to see what you need to do or to choose what you want to do at a particular time.
The Little Book of Semaphores is a free (in both senses of the word) textbook that introduces the principles of synchronization for concurrent programming.
In most computer science curricula, synchronization is a module in an Operating Systems class. OS textbooks present a standard set of problems with a standard set of solutions, but most students don't get a good understanding of the material or the ability to solve similar problems.
The approach of this book is to identify patterns that are useful for a variety of synchronization problems and then show how they can be assembled into solutions. After each problem, the book offers a hint before showing a solution, giving students a better chance of discovering solutions on their own.
The book covers the classical problems, including "Readers-writers", "Producer-consumer", and "Dining Philosophers". In addition, it collects a number of not-so-classical problems, some written by the author and some by other teachers and textbook writers. Readers are invited to create and submit new problems.
Willkommen in der iteraplan Community. iteraplan ist das erste Open Source Enterprise Architecture Management (EAM) Werkzeug für das strategische Management Ihrer Applikationslandschaft. Das Software- und Beratungshaus iteratec hat das Werkzeug iteraplan erstellt und übernimmt auch zukünftig die Führung in der Weiterentwicklung von iteraplan im Rahmen der Open Source Community.
ere are listed some of the existing companion tools for Java™ development. We put the focus on the quality of the content. Boring marketing fluff is filtered out.
Although quite comprehensive, this list will never be exhaustive. You can submit new tools by using our submission form.
This site is in constant progress. New tools are added frequently. Use the RSS feeds to learn what's new or updated.
Search plug-ins for Firefox and Mozilla are available.
This is ontoworld.org, the wiki for the Semantic Web community. Our mission is to provide a knowledge repository and platform for advertising events, spreading news, and announcing new developments. It is a wiki: everybody can quickly edit its content, even without logging in. So look around and participate!
This page will try to explain one particular process that can be used to version your projects, as a developer. While the process covered here will use one example of how to accomplish effective versioning, the concepts can be used anywhere.
Exploratory visualization based on multiple coordinated views. Improvise has been used to explore election results, particle trajectories, network loads, music collections, the chemical elements, and even the dynamic coordination structure of its own vis
Agile Development is one of the big buzzwords of the software development industry. But what exactly is it? Agile Development is a different way of managing software development projects. The key principles, and how Agile Development fundamentally differs from a more traditional Waterfall approach to software development, are as follows:
Since the failure of business process reengineering idea a new flow in the research and business community is visible – business process management. SUPER addresses the ever enduring need of new weaponry in struggle for survival in buoyant business environment where profit margins dramatically plummet while competitiveness reaches the new sky high limits.
This project answers the two most urgent issues emerging from BPM:
* shift in control of processes from IT professionals to business natives
* carrying up business process management to a new complexity level
Subversion’s hook scripts provide a powerful and flexible way to associate actions with repository events. For example, the pre-commit hook allows you to check — and possibly abort — a transaction before it actually gets committed. This entry describes how to install and test a simple Python hook script to prohibit tabs from C++ files.
While Subversion will do a fine job of storing all of the files you want revisioned, it can do quite a bit more. For example, it could send an eMail to a list of users every time a commit is made, to help ensure that at least one more set of eyeballs looks at critical bits of code before they get deployed into production environments. It can allow some users (but not others) to alter some properties (but not others). It can automatically attempt a recompile of code on a particular branch whenever commits are made, inform users as to the outcome of that compile, and even push those changes to a test machine for live experimentation. Subversion's triggers, or hook scripts, can be as simple or as complex as you desire.
Rob Williams' Blog: Interesting, not only on Java, but on a bunch of other topics. The music section is especially related to "real" music (in my understanding), not pop muzak.
Where possible, creating Web applications — including Ajax-based applications — in a RESTful way avoids a large class of bugs. However, a pitfall of REST (REpresentational State Transfer) is sending duplicate data across similar XMLHttpRequests. This tip shows how the moderate use of session cookies can maintain just enough server-side state to significantly reduce client-server traffic, while still allowing fallback to cookie-free operation.
Trying to combine JSF and JSP is like trying to shoehorn a foot into a glove: it's possible, but it's really just a stopgap measure until something better comes along. In this article, JSF enthusiast Rick Hightower introduces you to what he likes best about Facelets: easy HTML-style templating and reusable composition components.
Auch das noch:
Search on Spock to find your friends, old acquaintances, your favorite celebrities, or people you would like to meet. With Spock you can discover people by searching for their name, or by using descriptive tags. For example if you type in "NFL Quarterback" into the search box, Spock will pull back a list of people who play quarterback in the National Football League.
This project is not part of the GNU Project.
This Software is a linux version of the reader for all Editions of the "Digitale Bibliothek" (http://www.digitale-bibliothek.de) Series, including the new german wikipedia dvd version (http://de.wikipedia.org/wiki/Wikipedia:Wikipedia-Distribution).
In what I hope will be the first of several articles about Guice, a new lightweight dependency injection container from Bob Lee and Kevin Bourillion from Google, this article examines the simplest and most obvious use case for the Guice container, for mocking or faking objects in unit tests. In future articles I will examine other, more ambitious areas where it can be used, including dependency elimination in large code bases.
a tool for measuring code metrics of Java applications. Contrary to other tools, Meaxure works with Java source files instead of class files and aims to be extendable. Currently Meaxure supports common metrics like lines of code, number of classes, number of methods or cyclomatic complexity. Due to it's reliance on source files it does not support metrics which cannot be calculated from individual source files like depth of inheritance tree or number of children.
Meaxure supports reporting violations to certain metrics. Rules for violations can be specified using XPath expressions,
IAwiki is a collaborative knowledge base for the topic of InformationArchitecture. Anyone can contribute, and there are no pre-registration hoops to jump thru ... just click the "Edit This Page" link at the bottom of any page.
Open source graph visualization software. Takes descriptions of graphs in a simple text language, makes diagrams formatted as images, SVG for web, PS for PDF, GXL (XML dialect), and more.
This document contains the answers to commonly asked network programming questions posed by Java developers. Copies of this document mirrored at other sites may be out of date, please ensure that you're looking at a current version.
Dokeos is an Open Source elearning and course management web application translated in 34 languages and helping more than 1.000 organisations worldwide to manage learning and collaboration activities.
Moodle is a course management system (CMS) - a free, Open Source software package designed using sound pedagogical principles, to help educators create effective online learning communities. You can download and use it on any computer you have handy (including webhosts), yet it can scale from a single-teacher site to a 50,000-student University. This site itself is created using Moodle, so check out the Moodle Demonstration Courses or read the latest Moodle Buzz.
Also very powerful: Claroline is an Open Source eLearning and eWorking platform allowing organizations to build effective online courses and to manage learning and collaborative activities on the web. Translated into 35 languages, Claroline has a large worldwide users’ and developers’ community.
Bestehende JavaServer Faces-Komponenten um Ajax-Funktionalität zu erweitern, das geht mittlerweile recht einfach. Und das, ohne sich in eine Ajax-Bibliothek einzuarbeiten, Umwege über Servlets zu machen oder sonstige, nicht auf den JSF-Lifecycle abgestimmte Techniken zu benutzen.
Few things are more frustrating than trying to delete a file only to discover your system says it's locked or in use when you know it shouldn't be. The annoying error messages come in several flavors.
This is a collection of answers to frequently asked questions (FAQs) about Java Generics, a new language feature added to the Java programming language in version 5.0 of the Java Standard Edition (J2SE 5.0).
Die wohl beste Kalender-Extension ist Calendar Base (cal) von Mario Matzulla. Sie bietet alles, was man für die Darstellung eines Kalenders und den Terminen benötigt, und darüber hinaus noch viele Extras.
So I finally managed to get my output from LilyPond into Illustrator without having to install the fonts included in my LilyPond file. The problem was resolved by simply removing the embedded fonts from the PDF output of LilyPond using GhostScript. Ifound the tip at this site which contains a lot of information on LaTeX and how to manipulate its output in Illustrator. The command to run is:
gs -sDEVICE=pswrite -dNOCACHE -sOutputFile=nofont-MyScore.ps -q -dbatch -dNOPAUSE MyScore.pdf -c quit
Now you can open the PS file in Illustrator and all fonts will be converted to paths that can be manipulated like any other path in Illustrator.
Consider an [arbitrary] piece of code. It's indoors, it's well behaved, and you can be proud of it. What is it about that code that you like? Is it elegant? Is it clever? Does it enable something? How would you measure the value of code?
If you are having a problem with some code and seeking help, preparing a Short, Self Contained, Correct Example (SSCCE) is very useful. But what is an SSCCE?
The Security Officers Management and Analysis Project (SOMAP.org) is all about Open Source Information Security Risk Management. It is our belief that risk management processes and best practices need to be offered in an open kind. Only freely available risk management informations can potentially lead to a better security management and further development of the whole risk management field.