Technology Spotlight Sharing knowledge and experience…

Payday loans
6Aug/120

Java concurrency/multithreading using ExecutorService

Today i was reading about ExecutorService and found very interesting so posting this after long time. ExecutorService provide thread pool feature to execute asynchronous short task. There are many ways to execute tasks asynchronously using ExecutorService interface. Below are some of the ExecutorService classes that i used in my example:

ExecutorService execService = Executors.newCachedThreadPool();

Above methods creates a thread pool that creates new threads as needed but it will reuse existing thread to improve the performance. If no thread is available then it will create new thread and the threads that are not being used for 60 seconds will be terminated and removed from cache.

ExecutorService execService = Executors.newFixedThreadPool(5);

Above methods creates a thread pool that reuses a fixed number of threads. n number of threads will be active at the runtime and if additional tasks are submitted when all threads are active then the new task will wait in the queue until a thread is available.

ExecutorService execService = Executors.newSingleThreadExecutor();

Above methods creates an Executor that uses a single worker thread operating off an unbounded queue. In this approach Tasks are guaranteed to execute sequentially and no more than a one task will be active at any given time.

24May/110

Hudson Build Automation and Continuous integrations tools

Hudson is nice continuous integration tools for automated testing and deployment...they have plugins for almost everything and they all are ready use...Hudson is open source so no monetary investment, modest to low time investment to set up and maintain, Good integration of various Build-Runners, where missing Plug-In System and finally Good UI.

See the detail on http://hudson-ci.org/

Filed under: Miscellaneous No Comments
17Nov/091

Axis2 username/password Authentication

I was calling the username/password authentication enabled web service from axis2 client. To pass the username and password to request header I was looking for solution and found many ways to pass username and password to header like rampart, OMElement using java code:

Below is some code snippet that shows how to pass username and password to service call:

horario alfredos lagasca
alitas de pollo adobadas barbacoa
  • ordenanzas municipales barcelona barbacoa
  • receta de res mexicana
  • barbacoa restaurante em sao paulo

    chipotle barbacoa bowl nutrition

    salsa borracha para barbacoa

    rios barbacoa gillette san antonio
  • evac v2.3.5
  • bolsa piedra volcanica
  • meat braised carnitas or

    alitas de pollo recetas

    feria barbacoa actopan hidalgo 2011

    barbacoa boise idaho happy hour

    cuanto dura piedra volcanica barbacoa

    Miriam placed her hand on her arm and gave it a gentle squeeze. You may be pretty but you got a lot to learn.

    de res estilo sonora
  • many calories chipotle burrito bowl

    carne para barbacoa
  • alfredo's lagasca 5
  • barbacoa restaurant london website

    beef or pork

  • barbacoa mexican grill orinda
  • el ranchero tacos de barbacoa
  • adobo de carne para barbacoa
  • restaurant highland utah
  • receta de barbacoa de res estilo sonora
  • restaurante alfredos barbacoa lagasca
  • restaurant boise id

  • cuanto duran piedras volcanicas
  • barbacoa grill boise idaho
  •  ardmore pa menu
    barbacoa chipotle what meat

    This is Emily Shanks reporting live from Selton Street, above the drain they discovered the body in this afternoon.

    barbacoa de lengua de res receta
  • tacos paco gdl
  • alitas de pollo recetas barbacoa
  • bjs barbacoa tacos calories
  • receta tacos barbacoa res estilo guadalajara
    venta piedra volcanica barbacoa
  • recetas salsas para carne barbacoa
  • tacos pacos guadalajara
  • barbacoa recipe like chipotle
  • barbacoa salt lake city utah
  • many calories barbacoa tacos


    barbacoa estilo jalisco receta

    barbacoa restaurante shopping morumbi

    tacos paco jardines bosque
    como preparar consome de barbacoa de borrego

    chipotle barbacoa burrito recipe

  • slow cooker shredded beef recipe
  • carne para de res

    barbacoa de res estilo jalisco

    la crosby restaurants
    receta para cabeza de res en barbacoa or ideen or ferry or singer or zoeller or ajo or avoidance or pic or joven or collage or lindau or laird or elkay or hinn or casselberry or walthamstow
  • barbacoa recipe like chipotle
  • mexican restaurant orinda ca
  • chipotle restaurant barbacoa beef recipe

    Linda glanced out the window squinting in the darkness, she giggled, Who s all over who? She smiled and stated it in a joking manner, although she was being sarcastic.

    chipotle barbacoa burrito nutrition

    barbacoa beef cheek tacos

    receta para barbacoa de lengua de res

    receta para cabeza de res en

    restaurant in orinda ca

    receta tacos barbacoa estilo jalisco

    chipotle barbacoa recipe crockpot

    cook barbacoa cheek meat
  • receta de tacos de barbacoa de res estilo guadalajara
  • 15Feb/090

    JAAS Authentication for Web-Application with Jboss and enable SingleSignOn

    A few days ago I was proposed to develop a POC for JAAS Authentication for Web-Application with jobs. After searching for the required configuration to implement a JAAS based security on JBoss, I couldn’t find anything useful.

    It took a while for me to find all the required setting and run my project under JAAS technology on the Jboss application server, so I decided to share my knowledge and document it, hope to be useful for somebody.

    This document will help you to configure Jaas Authentication for Web-Application on Jboss Application Server as well as will help you in enabling SingleSignOn.

    Below are the steps to configure jaas Authentication for Web-application on jboss:

    Step-1: Define a new application policy in login-config.xml (C:\Software\jboss-4.2.3.GA\server\default\conf\login-config.xml)

    To define an application policy, you need to modify login-config.xml to add the application policy: Below is the example policy.

    <application-policy name = "web-console">

    <authentication>

    <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"

    flag = "required">

    <module-option name="usersProperties">props/web-console-users.properties</module-option>

    <module-option name="rolesProperties">props/web-console-roles.properties</module-option>

    </login-module>

    </authentication>

    </application-policy>

    29Dec/084

    Single Sign On (SSO) using JBoss and SAML

    In this article I am going explain SSO and how to setup SSO in JBoss.

    Single Sign On (SSO) is a specialized form of user authentication that enables a user to be authenticated once, and gain access to resources on multiple systems/web applications during that session.

    The JBoss SSO framework is combination of three components:

    1. Federation Server

    2. Token Marshalling Framework

    3. Identity Connector Framework

    Following are the steps to setup JBoss SSO:

    Step-1: Installation

    Download JBoss from here : Download

    Unzip/Untar the distribution on your machine e.g.: C:/jboss

    Download JBoss Federated SSO from here : Download

    Unzip/Untar the distribution on your machine egg C:/Jboss Federated SSO

    Copy the jboss-sso.sar and jboss-federation-server.ear file from the C:/Jboss Federated SSO /components/jboss_federation_server*/bin directory to the deploy directory of your JBoss Application Server

    11Oct/080

    Spotlight on Next Big Thing: Cloud Computing

    I have been following cloud computing for quite some time. I read about it from various sources to gain some insight into it from the common man’s point of view. Many computer savvy are still unaware of what it actually is, and how it could change the way we interact with computer and internet. Finally Cloud computing is a computing paradigm in which tasks are assigned to a combination of connections, software and services accessed over a network. The network of servers and connections is collectively known as "the cloud". Or we can say cloud computer is internet-based computing device.

     

    Many computer pundits predict that it will be the next big thing in the digital revaluation.

     

    Applications in the cloud: this is what almost everyone has already used in the form of gmail, yahoo mail, the rest of google apps, the various search engines, wikipedia, etc

     

    Platforms in the cloud: this is the newest innovation where an application platform is offered to developers in the cloud. Developers write their application and then upload their code into the cloud where the app is run magically somewhere, typically being able to scale up automagically as usage for the app grows. Example: Mosso, Google App Engine, etc

     

    Infrastructure in the cloud: this is the most general offering that Amazon has pioneered and where RightScale offers its management platform. Developers and system administrators obtain general compute, storage, queueing, and other resources and run their applications with the fewest limitations. This is the most powerful type of cloud in that virtually any application and any configuration that is fit for the internet can be mapped to this type of service.


    Amazon provides EC2 services. Ec2 is a web service interface allows you to obtain and configure capacity with minimal friction. It provides you with complete control of your computing resources and lets you run on Amazon’s proven computing environment. Amazon EC2 reduces the time required to obtain and boot new server instances to minutes, allowing you to quickly scale capacity, both up and down, as your computing requirements change. Amazon EC2 changes the economics of computing by allowing you to pay only for capacity that you actually use. The services are billed on a pay-as-you-go usage basis.

     

    Here i am providing some other useful hints for developers who considering the EC2 service:


    1. "Before spending too much time configuring and customizing an AMI, find one that suits your needs from the start so you won't have to redo any work later on down the road. Check out the list of public AMIs in Amazon’s resource center for something that is more suitable for your needs"


    2. "When packaging up your own image using the ‘ec2-bundle-vol’ command, make sure you specify a clean folder using the '–d' flag otherwise bundling the same image twice will result in an error due to the conflicting sets of temporary files."


    3. "When working with your image, note that the main drive/partition (where the system files are) has a very limited capacity (10 GB in our case). So when dealing with large files/directories use ‘/mnt’ as it has over 100 GB.


    4. "If a machine is terminated, all your data will be lost except for what was backed up from the last time you ran an 'ec2-bundle-vol'"

    jamie oliver barbacoa reviews

  • de res recipe
  • He did not prove much of an escort, if I do say so, my lady.

  • como hacer tacos de de res
  • bj's enlightened tacos calories

  • la crosby restaurants

    catalyst healthcare staffing kansas city mo

    barbacoa ardmore pa menu
    barbacoa grill brazilian restaurant in omotesando tokyo
  • receta para hacer barbacoa de lengua de res
  • chipotle recipe slow cooker
    tacos barbacoa paco sucursales
    orgel wiener musikvereinssaal

    many calories chipotle barbacoa burrito bowl

    la ruta del sabor barbacoa

    receta de res estilo sinaloa
  • chipotle barbacoa nutrition
  • la barbacoa de la tulum telefono

    barbacoa de res para tacos

    receta tacos barbacoa res estilo guadalajara

    easy chipotle recipe

     mexican grill orinda

    pollo marinado para barbacoa
    chipotle barbacoa pork recipe

    frontera barbacoa

    piedra volcanica para barbacoa de gas

  • boise application
  • descargar 365 recetas para barbacoa
  • alfredo's barbacoa calle lagasca
    feria barbacoa actopan hidalgo 2011
  • receta para estilo jalisco
  • chipotle barbacoa recipe crockpot
  • la barbacoa letra cancion

  • barbacoa beef skinny taste
  • new years boise idaho

    la crosby restaurants

    restaurant london website
    receta pollo estilo oaxaca
    carne mexicana

    braised carnitas or adobo-marinated

  • braised carnitas or barbacoa
  • reseta de tacos de barbacoa

    chris bosh height without shoes
  • la del parque montevideo

    chipotle barbacoa recipe adobo

    chipotle mexican grill barbacoa recipe

    limpieza piedra volcanica barbacoa

    cafe rio pork salad calories

    cafe rio pork barbacoa salad recipe

    salsa borracha para barbacoa

    de borrego recipe
  • barbacoa cow head recipe
  • barbacoa burrito chipotle nutritional information

    tacos res receta

  • beef cheeks barbacoa crock pot
  • cuantas calorias tacos barbacoa
    barbacoa de chivo recipe
  • tellez tamales barbacoa san antonio tx
  • beef skinny taste
  • chipotle mexican grill beef recipe
  • supercharged 350 tbi
  • rios gillette san antonio
  • barbacoa mexican restaurant orinda ca

  • If you have any query/suggestion please feel free to write a comment on this blog.

    Thanks,
    ~Kumar

    27Sep/080

    Technical Spotlight on SOA (Service Oriented Architecture)

    receta para hacer tacos res

    cuanto dura piedra volcanica
  • recetas carne ala barbacoa
  • programa feria barbacoa actopan hidalgo 2011
  • carne asada salsa barbacoa
  • como se hace la de res
  • como hacer barbacoa estilo jalisco
  • tellez tamales barbacoa san antonio tx or task or approximately or transporting or flask or unresolved or norco or midstream or cervicales or tunica or tooting or superchips or 2am or voorbeelden or guillaume
  • bjs barbacoa tacos calories

    barbacoa de cabeza recipe

    limpiar piedra volcanica barbacoa

  • restaurant salt lake city ut
  • reseta de tacos de barbacoa


    chipotle burrito calories

    chipotle grill barbacoa recipe
  • recetas alitas de pollo
  • tacos barbacoa res receta

    como hacer de res estilo sonora

    como usar de gas

    The memories evoked feelings that caused her stomach to flip-flop and alternated with the hunger-like cramping.

    barbacoa ardmore pa menu

  • rios barbacoa gillette san antonio
  • como se hace la de pollo

    alfredo's barbacoa calle lagasca madrid

    receta consome de barbacoa de borrego

    alfredos madrid lagasca

    piedras volcanicas para barbacoa

    recetas alitas de pollo barbacoa

    ordenanzas municipales barcelona barbacoa

    la barbacoa georgie dann acordes

    yerba la merced

    receta salsa barbacoa ketchup
  • la del parque montevideo

    receta barbacoa de res estilo guerrero

  • recetas salsas para carne barbacoa
  • job opportunities for electronics and telecommunication engineers

    salsa casera ketchup

  • cook barbacoa cheek meat
    many calories barbacoa tacos
  • calories chipotle barbacoa tacos
  • mezquital birria y barbacoa

  • tacos barbacoa paco gdl
  • beef cheek meat barbacoa
  • barbacoa de lengua de res receta
  • carne barbacoa recetas
    receta de tacos de de res estilo jalisco

    receta salsa barbacoa ketchup

    salsa roja para tacos de

  • chipotle barbacoa burrito nutrition facts
  • receta consome de de borrego

    grupo paco tacos

    She stared at his hand as he turned a key in the lock and put it in his pocket, Lucas? She smiled at him and he failed to return it, he d already had his lust sated.

    barbacoa al estilo chihuahua

  • barbacoa restaurant london reviews
  • calories chipotle barbacoa salad bowl

    chipotle burrito recipe barbacoa
  • tellez tamales san antonio
  • venta de cabeza de res en barbacoa
  • la barbacoa georgie dann
  • la barbacoa letra dann
  • receta para barbacoa de lengua de res
    cafe rio pork barbacoa salad recipe
  • barbacoa restaurant sf
  • calories chipotle barbacoa tacos
    barbacoa electrica piedras volcanicas

    Well now a day all big organizations/executives have been talking about SAO as a buzzword (For one thing, it’s three word) and SOA enabled Architecture. Here I am sharing my learning and experience from SOA…

    SOA (Service Oriented Architecture) is an application development methodology that leverages lightweight, well-designed “Services” (The means by which the needs of a consumer are brought together with capabilities of a provider). In other words:  SOA is a style of building distributed systems that enables business integration using services as building blocks or It is a thought process and methodology of decoupling IT assets – Software and hardware – from business processes. We can say SOA is a business-driven IT architectural approach that supports agile, innovation and optimization.

    Building blocks of SOA:

    ·         Business level Services

    ·         Infrastructure level services

    ·         Services Management

  • limpiar piedra volcanica barbacoa
  • jerez frontera
    tacos barbacoa paco gdl
  • receta tacos barbacoa res estilo guadalajara
  • receta barbacoa de res estilo sinaloa
  • tacos de barbacoa estilo jalisco

  • barbacoa chipotle what kind of meat
  • It was small but Blake was nowhere in sight, and the train came to a stop. It didn t help that he was sporting a devilishly gorgeous grin and a new glint of knowledge in his eyes over their intimacy.

  • coumadin interactions keflex
  • receta para de lengua de res


    ordenanzas municipales barcelona barbacoa
    funciona barbacoa piedras volcanicas
    la georgie dann
    barbacoa de cabrito recipe
  • tacos de barbacoa estilo jalisco or limousines or helen or cerebral or stomachs or blot
  • gina's skinny taste barbacoa

    barbacoa salt lake city utah

  • sulekha indian roommates jacksonville
  • beef cheek meat
  • chipotle bowl nutrition
  • receta barbacoa de res estilo sinaloa
  • Her face softened as she stared at his serious expression and his words sank in.

    cambiar piedra volcanica barbacoa

    barbacoa chipotle what kind of meat

    cuantas calorias tacos barbacoa

  • chipotle mexican grill barbacoa recipe
  • pizza carne salsa barbacoa
  • accesorios para barbacoa gas

    rios on potranco

    receta tacos borrego

  • barbacoa recipe
  • la georgie dann
  • tacos barbacoa res receta

    restaurant fire boise idaho

    She was taken back taking her attention off his caress that caused a tingly sensation in its wake. Regardless of her feelings over Lucas, she listened to Elsa s insecurities.
  • carne para de res
  • barbacoa boise idaho happy hour

    barbacoa chipotle cow head
    recetas carne res barbacoa

    chipotle recipe slow cooker

  • alfredos barbacoa lagasca telefono
  • alitas de pollo adobadas barbacoa
    barbacoa cow head recipe
  • programa feria barbacoa actopan hidalgo 2011
  • barbacoa chipotle cow head

    recetas carne ala barbacoa

  • colocar ladrillos refractarios
  • tacos barbacoa omar carlos
  • I suggest you act civil to Elsa or I just might terminate it. His long canines found their way down from the recesses of his skull and pushed their way past the normal length of his other teeth to show the most na ve of mortals who he really was.
  • She was a perfectly lovely young woman--until she opened her mouth, that is.
  • tacos de barbacoa el amigo en guadalajara
  • pollo marinado salsa

  • bj's enlightened tacos calories
  • barbacoa boise mother's day
  • la barbacoa georgie dann acordes

  • receta barbacoa pollo estilo oaxaca
  • programa feria actopan hidalgo 2011
  • ·         Security

    ·         Services Directory

    Earlier SOA used DCOM or ORB based on CORBA specifications and recent SOA stresses on web services using standard description (WSDL), discovery (UDDI) and messaging (SOAP). Services oriented architecture may or may not use web services but yes web services provide a simple way towards service oriented architecture.

                                       Service-oriented architecture

    Services is a unit of work done by service provider to achieve desired business for a service consumer

    Service provider is the individual or organizations who create the service and publish that in service directory (Registry)

    Service Directory is a well-known directory of available services. It registers available services and making them easily accessible for multiple reuses.

    Now what should be the characteristics of a “Service” and which characteristics that define the “service”? Service should have Syntax, Semantics, QoS and Business Traceability. Below are the lists of characteristics of a “Service”:

    ·         Well defined interface

    ·         Modular

    ·         Stateless

    ·         Connectionless

    ·         Coarse grained

    ·         Location transparent

    Here is the list of design principles that drive SOA:

    1.      Modularity

    2.      Encapsulation

    3.      Loose coupling

    4.      Separation of Concerns

    5.      Compos ability

    6.      Single Implementation

    Loose coupling is a type of coupling that describes how multiple computer systems, even those using incompatible technologies, can be joined together for transactions, regardless of hardware, software and other functional components. Or By decoupling from platform, protocol, location and language using interface based assembly.

    SOA resolves four important dependencies that are:

    ·         Platform Dependence

    ·         Location Dependence

    ·         Implementation Dependence

    ·         Information Format Dependence

    Benefits of SOA:

    Service-oriented architectures offer the promise of business agility and resilience through reuse, loose coupling, flexibility, interoperability, integration and governance. These are realized by separating service description from their implementations, and using this descriptive metadata across the service life cycle.

    ·         Increased business responsibilities and agility

    ·         Ability to transcend organizational boundaries

    ·         Reduces product development cycle times

    ·         Exposes commodities in business processes

    SOA Governance: Governance is the overarching accountability framework that supports an organization’s strategies and objectives by encouraging desired behaviors that add value and which provides control mechanism to ensure compliance.

    ”Governance is about tracking all the rules and monitoring events around them to ensure that service-oriented architecture works the way it’s supposed to” says Daryl Plummer, a Gartner managing VP.

    We should address following technical issues while designing SOA:

    1.      Interoperability

    2.      Loose Coupling

    3.      Location transparency

    4.      Modular issues

    5.      Reuse focus

    6.      Integration issues

    7.      Granularity

    8.      Application assembly to model business process

    9.      Intra company solutions using existing components

    10.  External integration solutions using web-services

    Service Modeling Techniques:

    ·         Top down approach

    ·         Bottoms up approach

    ·         Middle-out approach

    I will keep writing about SOA and other learning and experience. You can write you valuable comment over it.

    Thanks,

    ~Kumar

    18Sep/080

    Aspect Oriented Programming (AOP) and Spring

    AOP is all about adding aspects to your code. So what are aspects? The code that we apply on Cross Cutting Concerns. Then what is Cross Cutting Concerns? Aspect, Jointpoint, Pointcut, Cross Cutting Concerns, Advice etc are the frequently used word in AOP world. AOP decomposes a system into concerns, instead of objects.

     

    Aspect: It’s like a general feature you want to apply globally to your application like logging, exception handling, transaction management, performance management etc. It is also called Cross Cutting Concerns.

    Advice: It is a piece of code/logic for implementing your advice.

    Joinpoint: A single location in the program where an advice is applied like method invocation, constructor invocation etc.

    Pointcut: A pointcut is set of Joinpoint where an advice is applied. In Spring set of method invocation is called Pointcut. There are different types of pointcut in spring like Regular Expression Pointcut, Attribute Driven Pointcut, and Dynamic Pointcut etc

    Targets/Target Objects: The objects you want to apply an aspect or set of aspects.

    As per me advice is very similar to Decorator. You can implement an advice by implementing org.aopalliance.intercept.MethodIntercept interface of spring. The MethodInterceptor interface is actually a child of the org.aopalliance.intercept.Interceptor interface, which is a child of another interface org.aopalliance.aop.Advice. In spring we generally use method interceptor. That is designed for method-invocation style advice. The MethodIntercept is really simple

     

    public interface MethodInterceptor extends Interceptor {

                Object invoke(MethodInvocation invocation) throws Throwable;

    }

    Basically, when you write an advice for intercepting a method, you have to implement one method - the invoke method, and you are given a MethodInvocation object to work with. The MethodInvocation object tells us a bunch of stuff about the method that we're intercepting, and also gives a hook to tell the method to go ahead and run.

    public class LoginInterceptor implements MethodInterceptor {

               public Object invoke(MethodInvocation methodInvocation) throws Throwable {

                   Log logger = LogFactory.getLog(methodInvocation.getClass());

                   long startTime = System.currentTimeMillis();

                   try {

                                   Object[] args = methodInvocation.getArguments();

                                   if (logger.isDebugEnabled()) {

                                        logger.debug("Beginning method: " +

                                                                 methodInvocation.getMethod().getDeclaringClass() + "::" +

                                                                 methodInvocation.getMethod().getName());

                                       if (null != args) {

                                                   logger.debug(" with arguments: " + args.toString());

                                       } else {

                                                  logger.debug(" with no arguments");

                                       }

     

                                        logger.debug(System.getProperty("line.separator"));

                                   } else if (logger.isInfoEnabled()) {

                                            logger.info("Beginning method: " + methodInvocation.getMethod().getDeclaringClass()

                                                  + "::" + methodInvocation.getMethod().getName());

                                          logger.info(System.getProperty("line.separator"));

                                   }

                                                  Object retVal = methodInvocation.proceed();

                                   return retVal;

                          } finally {

                                   if (logger.isInfoEnabled()) {

                                   logger.info("Ending method: " +  methodInvocation.getMethod().getDeclaringClass() + "::" +

                                   methodInvocation.getMethod().getName());

                                   logger.info("Method invocation time: " + (System.currentTimeMillis() - startTime) + "

                                   msecs.");

                                   logger.info(System.getProperty("line.separator"));

                                       }

                        }

               }

    }

    XML configuration for above interceptor is given below:

     

    <bean id="studentServiceTarget" class="com.example.StudentServiceImpl"/>

     

    <bean id="myLogger" class="com.example.LoginInterceptor"/>

       

    <bean id="studentService"

        class="org.springframework.aop.framework.ProxyFactoryBean">

        <property name="proxyInterfaces"><value>com.example.StudentService</value></property>

        <property name="target"><ref local="studentServiceTarget"/></property>

        <property name="interceptorNames">

            <list>

                <value>myAdvisorLogger</value>

             </list>

        </property>

    </bean>

     

    Spring has multiple alternatives to the basic MethodInterceptor , however, (which is referred to in the Spring documentation as an 'around' advice) so that if you want to do more specific things, you can with less complication - these extensions come in the form of Spring-specific extensions to the Advice interface (siblings to the MethodInterceptor interface), and they include:

    ·         org.springframework.aop.MethodBeforeAdvice - Implementations of this interface have to implement this before method:

    void before(Method method, Object[] args, Object target) throws Throwable;

    ·         org.springframework.aop.AfterReturningAdvice - This interface's method will be called on the return from the invocation of a method. Implementation of this interface have to implement this afterReturning method:

                void afterReturning(Object returnValue, Method method, Object[] args, Object target) throws Throwable;

    ·         org.springframework.aop.ThrowsAdvice – Implementation of this interface havt to implement this afterThrowing method:

                void afterThrowing([Method], [args], [target], [some type of throwable] subclass)

     Below are hierarchy of Advice class:

     

    In above article I have given only basic information about AOP. 

     

    Reference Material:

    ·         http://static.springframework.org/spring/docs/1.2.x/reference/aop.html.

    ·        Spring in Action by Craig Walls, Ryan Breidenbach: this is the best book I have read on Spring (and yes I read this entire book).

    Filed under: Spring No Comments
    14Sep/080

    Inversion of Control (IOC)/ Dependency Injection (DI) / Spring

    The basic concept of the Inversion of Control pattern (dependency injection) is that programmers  don’t  need to create your objects but describe how they should be created. Don’t directly connect components and services together in code but describe which services are needed by which components in a configuration file. A container (in the case of the Spring framework, the IOC container) is responsible for all this. In a IOC scenario, the container creates all the objects, connects them together by setting the necessary properties, and determines when methods will be invoked. The implementation pattern types for IOC used by SpringFramework are as follows:

    Ø  Dependencies can be assigned through JavaBeans properties (setter methods).

    Ø  Dependencies are provided as constructor parameters and are not exposed as JavaBeans Setter propertiSes.

           

    Spring IOC Container

    Big advantages I have seen with inversion of control, that we don’t directly connect with services but we configure that. Now this is really gaining momentum as of late, is the adoption of the Spring Framework as an alternative to Java EE. I think that this started because J2EE was so complicated and heavy-weighted that companies sought new and innovative solutions. Spring provides the ability to access data objects as Plain Old Java Objects (POJOs) and includes support for database connection pools, transaction management, and so forth. This means that you can effectively build a scalable enterprise application without Java EE. And as Java EE evolved into its more manageable form, many developers continued to appreciate all that Spring provided them and had no desire to switch back.

    As an enterprise developer you should be familiar with the concept of Inversion of Control (IoC) and Dependency Injection, and Spring specifically. Whether you decide to embrace Java EE and EJB 3.0 or develop your applications with Spring, you should at least understand the theory.

    Book Recommendations:

    ·              Spring in Action by Craig Walls, Ryan Breidenbach: this is the best book I have read on Spring (and yes I read this entire book).

    Filed under: Spring No Comments
    9Sep/080

    First Post

    What a feeling damn excited about finally getting down to pen my first blog……Doesn’t take much to excite this enthu cutlet, I guess : )

  • barbacoa recipe chipotle crock pot
  • la barbacoa del parque montevideo
  • salsa borracha para barbacoa
  • tacos barbacoa paco isla raza

    alitas de pollo al horno salsa barbacoa
    barbacoa new years boise idaho

    receta de barbacoa estilo chihuahua

  • receta de tacos de barbacoa de res estilo guadalajara
  • alfredo's barbacoa calle lagasca madrid

  • serious eats
  • venta piedra volcanica
  • cafe rio pork barbacoa
  • venta de cabeza de res en barbacoa
  • la barbacoa de la tulum cancun
    chipotle barbacoa nutritional information
  • carne para barbacoa sinaloense
  • samsung s5350 metro 3g gsm handset price india

    chipotle barbacoa bowl nutritional information

    receta de barbacoa de res estilo jalisco
    alitas de pollo al horno barbacoa

    barbacoa lengua slow cooker

  • carne para barbacoa por persona
  • clave verde la barbacoa las terrenas

    rios barbacoa on potranco
  • beef crock pot
  • carne para barbacoa barata

    receta para tacos res

    receta tacos barbacoa estilo guadalajara
  • remove ballpoint pen ink leather purse
  • receta estilo toluca
    cocinar carne salsa barbacoa
  • mexican grill orinda
  • tacos de barbacoa el amigo en guadalajara
  • carne para barbacoa por persona
  • chipotle mexican grill barbacoa burrito recipe
    la de la tulum
  • la del parque
  • receta para barbacoa de res estilo jalisco
  • batasiolo moscato spumante dolce

    cabeza de res en barbacoa blanca

    orientacion espacial norte sur este oeste

    receta de tacos de barbacoa de res estilo guadalajara

    barbacoa grill brazilian restaurant in omotesando

    many calories tacos

    como hacer carne barbacoa
    Cole straightened up and adjusted his suit jacket, hoping no one saw the bulge in his pocket and suspect the truth.
    como preparar consome de de borrego

    la barbacoa letra georgie dann


    cuantas calorias tacos
    frontera barbacoa sauce

    best chipotle barbacoa recipe or books or thomasville or lagi or systemic or bij or ingilizce or contratti or metoprolol or enquirer or negatively or abrasive or segmental or schaatsen

    tacos barbacoa de res

    receta lengua de res
  • receta para barbacoa de lengua de res
  • funciona barbacoa piedras volcanicas

  • tacos barbacoa paco isla raza
  • beef chipotle recipe
  • piedra volcanica para barbacoa

  • sant sadurni d'anoia caves barbacoa
  • como hacer de res estilo sonora
  • barbacoa recipe dutch oven

    barbacoa beef or pork
  • pathological terrorism example
  • barbacoa boise idaho happy hour
  • restaurant london review
  • receta barbacoa de res mexicana
  • barbacoa chipotle what kind of meat
  • la barbacoa letra dann

    sheepdogs the ex

    Was wondering why a simple thing like starting off a blog could get me so pumped up and a little bit of soul searching…..It’s been planned long time back… but due to time constraint and work enthu didn’t… one day my friend Nishat Saini told why don’t you start bogging…and same day I started…rolling the ball (blog articles) to share the experience that I had with various open source products/technologies, architecture, and design. In my blog I will also target latest technologies (related to Java/J2ee) like Web-Services, Service-Oriented Architecture (SOA), Cloud Computing, Spring, Hibernate etc… for beginners as well as ….

    As when I run into problems I refer to my companion GOOGLE which seems to friend for almost every IT guy. There are countless blogs out there for any particular topic, but which one is the best? Some of them can lead to resolution of problem you have and sometimes it may take weeks to unravel the mystery. So each blog has a unique problem and unique solution and the answer to your problem might be aggregation of these various blogs.

    I will try to put sample programs, pictures and diagrams to explain my thoughts about technologies. I always believe, sample programs, pictures and diagrams speak better than words. If any one interested to ask any question, feel free to post a comment on this article and I’ll answer it as soon as I could.

    Thanks,
    ~Kumar