I’m an application addict! When I recently switched to the Mac I went hunting around for the best applications to add to the base operating system. There were quite a few good sources of information, but I found one in particular very useful. Mac Specia
Want to build your own community? Now you're limited only by your imagination. Not by software. Dolphin Smart Community Builder is a universal, open source software solution that allows you to build any kind of online community. With a huge variety of fea
Workflow Reloaded : Moving to OSWorkflow
I have been trying to model a workflow for one of my applications. I started with Bossa, but after getting stuck using parts of its API, I was well on my way to designing my own workflow engine using Bossa's Petri Net abstraction, until a colleague pointed out that I was trying to re-invent something for which solid, mature implementations already existed in the open-source world, and that, down the road, other developers would curse me for having stuck them with having to maintain this component.
Exception Handling with Spring and Log4J
How to log exceptions. This technique will log messages to your server log file, send an email, with the tag stack of the error, for error level warnings and display a generic page to the user.
First step is to set up Log4j.
Make sure you have the following classes in application lib or common server lib.
activation.jar
This can be got from http://java.sun.com/products/javabeans/jaf/downloads/index.html
Set up your log4J configuration file, put this file in your WEB-INF directory
If you didn't know already, Eclipse allows you to define custom templates for commonly used code snippets. Its a very neat feature for those of us who are memory challenged or don't like typing things twice!
I think that Apache Camel users could really benefit from having predefined templates for doing Camel routing. I also hear a lot of requests like "I have this Java DSL route, how do I do this in the Spring XML DSL?" so having both Java and XML templates for the same thing is essential.
sux0r 2.0 is an extendable content management system (CMS) built around the principles of Naive Bayesian probabilistic content.
Naive Bayesian Categorization is the ouija board of mathematics. Known for being good at filtering junk mail, the Naive Bayesian algorithm can categorize anything so long as there are coherent reference texts to work from. For example, categorizing documents in relation to a vector of political manifestos, or religious holy books, make for a neat trick. More subjective magic 8-ball categories could be "good vs. bad" or company press releases in relation to stock market prices.
In addition to being a blog, RSS aggregator, bookmark repository, and photo publishing platform, sux0r 2.0 allows users to maintain multiple lists of Naive Bayesian categories. These category lists, called vectors, can be shared with other users. This allows a group of trusted friends to share, train, and use sux0r together.
Finally a useful article on eclipse.ini memory settings: "Many users seem to have problems with running out of memory when using Eclipse 3.2 in combination with additonal plugins such as those from JBoss Tools or even Eclipse WTP."
Spring Remoting with Security and SSL
September 30th, 2008 by Mattias Hellborg Arthursson — Security, Spring
Avatar of Mattias Hellborg Arthursson
One of my favorite features of the Spring Framework is the Spring Remoting part, which enables you to expose any bean in a Spring Application Context as a remote service over HTTP. It's fast, it's easy, and it's really, really simple.