Essence JCF
About a year ago, I considered having configuration files formatted as Java files instead of XML.
This approach has many benefits. The framework is small (15KB), supports pre-compilation, debugging, refactoring, code analysis, performance tuning and all the other tools support you get with regular Java files.
What the framework gives you is runtime compilation and loading. You can even compile and run a class in memory. more »
|
|
|||||
|
Sunday, November 16
by
PeterLawrey
on Sun 16 Nov 2008 10:16 PM GMT
Monday, September 15
by
PeterLawrey
on Mon 15 Sep 2008 07:49 PM BST
Saturday, August 9
by
PeterLawrey
on Sat 09 Aug 2008 07:09 PM BST
Being between jobs, I have a chance to do some open source.
I have written a simple, low latency, high ... more » Tuesday, May 13
by
PeterLawrey
on Tue 13 May 2008 07:51 AM BST
In this article I discuss
Generic as powerful compiler time check for typing rules for method parameters and return values. ... more »
by
PeterLawrey
on Tue 13 May 2008 07:49 AM BST
In this article I discuss
Java is an OO language but it doesn't have a specific array type which is ... more »
by
PeterLawrey
on Tue 13 May 2008 07:46 AM BST
http://www.freshvanilla.org:8080/x/BIAp
The purpose of auto-boxing and un-boxing is to make assignment between primitives and their wrappers simpler. In most cases ... more » Saturday, April 26
by
PeterLawrey
on Sat 26 Apr 2008 11:42 AM BST
Sunday, April 20
by
PeterLawrey
on Sun 20 Apr 2008 09:42 AM BST
I have been a firm believer that Dependency Injection is a design principle, not a library you include. more »
Monday, March 24
by
PeterLawrey
on Mon 24 Mar 2008 12:04 PM GMT
Saturday, March 15
by
PeterLawrey
on Sat 15 Mar 2008 03:51 PM GMT
In this article I go in search of good reasons to include closures in Java.
The best reasons I could find were
- Closures are cool.
- Closures are familiar to those who use functional languages. more »
by
PeterLawrey
on Sat 15 Mar 2008 12:52 PM GMT
In this article I go in search of good reasons to include closures in Java.
The best reasons I could find were
- Closures are cool.
- Closures are familiar to those who use functional languages. more »
Friday, March 14
by
PeterLawrey
on Fri 14 Mar 2008 11:54 PM GMT
I started by giving simple, intermediate and advanced answers to the same questions.
http://www.freshvanilla.org:8080/display/www/Java+Interview+Questions more » Sunday, March 2
by
PeterLawrey
on Sun 02 Mar 2008 02:16 PM GMT
Essence Quant 0.2.0 is a simple quantitative analysis library.
It supports options pricing and multi-threaded Monte Carlo simulations. It also ... more » Tuesday, September 4
by
PeterLawrey
on Tue 04 Sep 2007 10:30 PM BST
I recently tried the Java 6 compiler tools and after so head scratching I rather like the idea.
I got ... more »
by
PeterLawrey
on Tue 04 Sep 2007 10:20 PM BST
Recently, I was struck by the idea of having a IOC, DI container which does not require any libraires at ... more »
Monday, September 3
by
PeterLawrey
on Mon 03 Sep 2007 11:03 PM BST
Inspired by an article on hamming numbers which shows a elegent solution in haskell, I thought I might try the same thing in Java ... more »
Monday, July 9
by
PeterLawrey
on Mon 09 Jul 2007 08:41 PM BST
Friday, February 2
by
PeterLawrey
on Fri 02 Feb 2007 05:18 PM GMT
Components in Essence are bound to a thread pool. Single threaded components can be bound to a single thread pool, but can coexist with multi-threaded components.
Typical applications designed this way use between 1 and 6 threads. more »
by
PeterLawrey
on Fri 02 Feb 2007 05:06 PM GMT
Clustering mean different things to different people. This solution
allows you to cluster a collection such as Map, Queue, ConcurrentMap or
JCache style Cache and anything it. more »
Friday, January 26
by
PeterLawrey
on Fri 26 Jan 2007 11:09 PM GMT
It has a sample application Essence JMS 0.70 and an article on testing clustered components , some documentation and it has been added to SourceForge Essence 0.75 has now been released http://sourceforge.net/projects/essence Essence is an all in one library. Futher release will have a collection of small libraries to allow you to pick the bits you might want. The Essence release will be based on those and contain everything it has currently.
by
PeterLawrey
on Fri 26 Jan 2007 10:51 PM GMT
Saturday, January 13
by
PeterLawrey
on Sat 13 Jan 2007 09:21 PM GMT
Wednesday, December 27
by
PeterLawrey
on Wed 27 Dec 2006 10:43 AM GMT
I found these interview very interesting...
Dr.
Kabutz -- How to become a Java Expert (4:43); (JC alumni)
Brian
Goetz -- Java Concurrency (2:14); Rod Johnson
-- Application of OSGi to the server side (5:58); Kirk
Pepperdine -- Mr. Java Performance Tuning (12:27); Joe Walker
-- new features of Reverse AJAX in DWR (18:07); Mike
Cannon-Brookes -- Bamboo: Atlassian's new continuous intergration
server (10:04); (JC alumni)
Bruno Souza
-- What's new with Netbeans (4:07).
These are from https://java-champions.dev.java.net/ more »
Monday, December 18
by
PeterLawrey
on Mon 18 Dec 2006 10:49 AM GMT
Recently, to my surprise I discovered that ReentrantReadWriteLock not only didn't support lock upgrading but doesn't throw an exception nor even detect it as a deadlock. If a thread holds a read, the same thread cannot obtain a write lock.
So I write utility which can help detect this condition.
more »
Saturday, December 16
by
PeterLawrey
on Sat 16 Dec 2006 04:28 PM GMT
In Essence 0.67 has a number of enhancements over version 0.65 Download Essence - Improved multi-threaded components and logical processes support. - Improved data serialization for file storage and network transfers. As much as 5x smaller than standard serialization. - Support for compressed network and file storage. - Improved memory resource usage and cleanup. Thank you YourKit! - Fisheye link added.more » Tuesday, December 5
by
PeterLawrey
on Tue 05 Dec 2006 08:53 PM GMT
I have a method
public static void include(Callback<Map<String, Map>> onCommit, Map<String, Map> changes, Callback<Map<String, Map>> onRollback) throws IllegalStateException { Which updates a map private final Map<Callback, Pair<Callback, Map<String, Map>>> allChanges = new LinkedHashMap<Callback, Pair<Callback, Map<String, Map>>>(); I could have gone to four nested levels of generics but any more than three is a just scary IMHO. more » Saturday, December 2
by
PeterLawrey
on Sat 02 Dec 2006 07:28 PM GMT
# High performance highly available clustering. Essence 0.65 has been tested with 2-way and 4-way mastering (were each update is committed to both or all 4 servers) and persisted to disk in near real time. On a Linux blade, the tests performed 68,000 updates per second and 6.8 million lookups per second concurrently in 2- way durable mastering mode. In 4-way durable mastering mode, the tests performed 31,000 updates per second and 3.1 million lookups per second. Performance test results more »
Sunday, November 26
by
PeterLawrey
on Sun 26 Nov 2006 03:01 PM GMT
Now what it needs is good documentation. Suggestions, offers of help wanted. Good suggestions will be offered a reward via paypal. more »
Wednesday, November 22
by
PeterLawrey
on Wed 22 Nov 2006 09:25 PM GMT
A common question about IntelliJ is; why pay for it when Eclipse is free. I would argue there are many reasons to use IntelliJ and one is the quality of the code you produce.
I recently ran my default code inspection setting against a reasonable mature project code base. This application is used for enterprise messaging and was developed under eclipse. Is an IDE which makes it easy to run programs which don't compile a good tool to produce quality code... You be the judge.
http://www.jtoolkit.org/articles/inspect-code.html more »
by
PeterLawrey
on Wed 22 Nov 2006 08:45 PM GMT
It is worth noting that in Java float/Float is 32-bit and has only 7 digits of precision at best. So basicly don't use them unless your eally need to. more »
Tuesday, November 21
by
PeterLawrey
on Tue 21 Nov 2006 09:58 PM GMT
Dolphin is available for download https://jdk7.dev.java.net/ but if you read the list changes they are mostly bug fixes in awt which I would hope will find there way in JDK 6 in any case. more »
by
PeterLawrey
on Tue 21 Nov 2006 03:08 AM GMT
It turned out to be easier than I thought and acts as a web counter of sorts...
by
PeterLawrey
on Tue 21 Nov 2006 03:02 AM GMT
Ever wondered where google fine the phrases of words to match in google search as in Mozilla 2.0
All Our N-gram are Belong to You more »
Saturday, November 18
by
PeterLawrey
on Sat 18 Nov 2006 03:20 PM GMT
http://copyscape.com/ more »
by
PeterLawrey
on Sat 18 Nov 2006 03:08 PM GMT
Try
System. out.println((Integer) 0 == (Integer) 0); System. out.println((Integer) 128 != (Integer) 128);Both return true! I have been reading Joshua Bloch and Neal Gafter?s excellent book Java Puzzler However it feel into the trap that auto boxing treats small numbers differently to large numbers.I have discussed this in more detail in The trouble with auto boxing and small numbers more » Tuesday, November 14
by
PeterLawrey
on Tue 14 Nov 2006 07:53 PM GMT
Some amusing duke graphics more »
Sunday, November 12
by
PeterLawrey
on Sun 12 Nov 2006 02:39 PM GMT
Really funning webcam video I want it that way more »
by
PeterLawrey
on Sun 12 Nov 2006 02:37 PM GMT
This starts slow but he is amzing. Russian Climbing more »
by
PeterLawrey
on Sun 12 Nov 2006 02:33 PM GMT
|
Favourite blogs
Recent Photos
Recent Visitors
Guest Blogger - Tue 12 Jan 2010 11:33 PM GMT
Max123 - Thu 17 Dec 2009 07:39 AM GMT
ThomasCStrong - Fri 27 Nov 2009 10:53 PM GMT
Generic Viagra - Mon 26 Oct 2009 11:14 PM GMT
winston - Thu 15 Oct 2009 12:34 PM BST
Login
|
||||