View RSS Feed

HiveMind

HiveMind is an services and configuration microkernel. Its features are also referred to as Inversion of Control (IoC) Container or Lightweight Container.

  1. HiveMind

    by , 10-30-2011 at 06:41 PM (My Java Tips)
    HiveMind is a services and configuration microkernel. I will elaborate this point in this post.



    HiveMind allows services which are actually POJOs (Plain Old Java Objects) to be easily accessed and combined. You should use interfaces to work with HiveMind because each service defines a Java interface it implements. Instantiating and configuring of each service just as necessary is handled by HiveMind. It allows these services to collaborate with each other via dependency injection. ...
    Categories
    HiveMind , Software
  2. Log method entry and exit

    by , 10-30-2011 at 06:39 PM (My Java Tips)
    The typical approach we use in Java is given below:

    Java Code:
    public String myMethod(String param)
    
    {
    
      if (LOG.isDebugEnabled())
    
        LOG.debug("myMethod(" + param + ")");
    
     
    
    String result = // . . .
    
    if (LOG.isDebugEnabled())
    
      LOG.debug("myMethod() returns " + result);
    
    return result;
    
    }


    This will work ...
    Categories
    HiveMind , XML