Hundred Kilobytes Kernel
By dochez on May 02, 2007
From my first GlassFish V3 screencast I posted here last month, I received quite many inquiries about how we started implementing GlassFish V3. Questions like how can it start so fast, how do you implement the module subsystem and so on... It became very clear that we had done could be reused by others to create modular applications.
So we have created a new java.net project called HK2, for Hundred
Kilobytes Kernel. This project is really a set of reusable technologies
that serves a foundation for the GlassFish V3 implementation.
- At the core, there is a module subsystem loosely based on the JSR277 for easy upgrade to Java SE 7
- a component model above it which heavily use Inversion of Control ,
automatic dependencies resolution and life cycle management
HK2 is very small today, about 80Kb so it really is a great technology to use in any Java software development, it can be used in phones up to application server (obviously). HK2 depends on JDK 1.5 although it could easily be accommodated to run on earlier versions.
As a side note, HK2 as a name triggers my imagination with the K2 mountain, therefore it will be its symbol.
Check it out at http://hk2.dev.java.net
Send feedbacks, I will also be talking about this extensively at JavaOne :
- TS-6503 : GlassFish V3 Architecture Review on Thursday 05/10/2007 at 2:50 PM -3:50 PM
- BOF-6678 : GLASSFISH V3 Architecture Review on Tuesday 05/08/2007 at 9:00 PM -9:50 PM
- BOF-4989 : Embedding the Grizzly Framework with Jean-François Arcand on Tuesday 5/08/2007 at 10:00 PM -10:50 PM