Hundred Kilobytes Kernel


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.

HK2 relies on maven 2 to build jar modules very easily, although maven is not dependency, it just makes things a lot easier.


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 :

  1. TS-6503 : GlassFish V3 Architecture Review on Thursday 05/10/2007 at 2:50 PM -3:50 PM

  2. BOF-6678 : GLASSFISH V3 Architecture Review on Tuesday 05/08/2007 at 9:00 PM -9:50 PM

  3. BOF-4989 : Embedding the Grizzly Framework with Jean-Fran├žois Arcand on Tuesday 5/08/2007 at 10:00 PM -10:50 PM
Technorati Tags: ,
Comments:

This is cool stuff. I checked out the project from SVN but I can't seem to bootstrap it. Do you have build instructions available? S.

Posted by Stefan Arentz on May 09, 2007 at 12:36 AM PDT #

Stephan you are right, this is missing so far, I will add this as soon as the JavaOne craze is over and will post a new comment wit the information. thanks for your interest

Posted by Jerome Dochez on May 09, 2007 at 04:03 PM PDT #

Stefan, here is a simple Hello World application, and a short howto that how did I write it.

Posted by Márton, Elek on May 15, 2007 at 04:11 AM PDT #

Hi, How do we start, stop and deploy to Glassfish V3 from NetBeans? Thanks, Rahul

Posted by Rahul on May 27, 2007 at 03:57 PM PDT #

Post a Comment:
Comments are closed for this entry.
About

dochez

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today