Technology Spotlight Sharing knowledge and experience…

Payday loans

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.


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

ecouter le chaabi dialna
music marocaine chaabi gratuit mp3
  • ecouter music chaabi mp3 gratuit
  • ecouter music chaabi maroc

  • musique marocain gratuit mp3

    chaabi marocain mp3 gratuit 2010

  • ecouter du algerien en ligne
  • music chaabi maroc mp3 gratuit
  • chaabi music mp3 telecharger

  • ecouter chaabi marocain 2010 gratuit
  • parole du chaabi algerien

  • chanson chaabi algerien mp3
  • maroc musique chaabi rai du maroc

    musique chaabi du maroc

    chanson marocain mp3 gratuit

  • abou 9assem chaabi arabe
  • ecouter radio chaabi algerien

    bponline chaabi co ma
    maroc music chaabi mp3

    music chaabi mp3 marocain

    youtube music maroc 2011
  • liste chanteur marocain chaabi
  • musique chaabi amar ezzahi mp3

    telecharger music chaabi algerien

    ecouter dialna mp3
  • musique marocaine chaabi telecharger
  • music chaabi mp3 gratuit

    musique mp3 algerien

  • chanson marocain daoudi
  • chanson chaabi algerien gratuit
  • marocain 2010 mp3 gratuit

  • net banque populaire
  • chaabi marocain 2011 mp3 gratuit

    ecouter music chaabi mp3

    telecharger chaabi dialna mp3
  • telecharger music maroc mp3 gratuit
  • ecouter mp3 algerien
  • musique daoudi rajawi-wydadi
    When she pushed the button, the blast was so powerful, she squealed when they first hit her nearly knocking her over. It s no secret that we were forced to marry, she quipped.
  • chanson chaabi algerien kamel bourdib
  • ecouter music egyptien

    proximo shadows and dust quote

    ecouter music chaabi marocain 2010
  • herramientas para medir twitter gratis
  • telecharger music mp3 maroc rai maroczik rekza arabic
  • telecharger music chaabi marocain mp3 gratuit
  • marocain mp3 gratuit 2010

    telecharger music chaabi maroc gratuit
    ecouter de la music
  • chaabi marocain mp3.telecharger . gratuit or coble or scabbard or ebs or redirection or vegetal or ironworker or hospitality or crests or scientific or nomination or urn or 1054
  • telecharger musique chaabi daoudi
  • Filed under: Miscellaneous No Comments

    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:


    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">


    <login-module code=""

    flag = "required">

    <module-option name="usersProperties">props/</module-option>

    <module-option name="rolesProperties">props/</module-option>





    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:

    algerien mp3 pour telecharger

    musique chaabi algerien telecharger

    bp net maroc


    musique gratuite pour mp3 chaabi

  • chaabi music mp3 gratuit
  • chaabi dialna fetes
    telecharger music mp3 maroc rai chaabi maroczik rekza

    music chaabi algerien telecharger

    musique chaabi chanteur daoudi
  • maroc musique chaabi rai du maroc
  • banque islamique france chaabi

    qualifies 6500 homebuyers credit

    ecouter le algerien

    miloud american university

    setif fm player
  • bcp maroc
  • telecharger music maroc chaabi mp3

    ecouter telecharger chaabi marocain gratuit

    arcade wikispaces

    site net banque populaire maroc

    chanson chaabi mp3 algerien
    music chaabi algerien telecharger
    hafla chaabi
  • ecouter radio chaabi dialna
  • chaabi music from al-maghrib

  • free music chaabi marocain

    chaabi algerien mp3

  • telecharger music chaabi marocain mp3 gratuit
  • youtube music algerienne
  • musique gratuite chaabi maroc
  • marocain mp3.telecharger . gratuit

    ecouter chaabi algerien mp3 gratuit
    chanson marocaine gratuite
  • telecharger chaabi mp3 marocain
  • music chaabi amar ezzahi mp3
    music du maroc chaabi

    music maroc mp3 gratuit

  • chikhat atlas maroc chaabi
  • maroc music net pages chaabi
  • music chaabi algerien mp3

    chanson marocaine chaabi telecharger
    music du maroc
  • download music chaabi marocain free
  • bcp maroc
  • You are a good actress Tanya, you will think of something. When she was done, she emerged from the privy, feeling better but also dirty.

    telecharger music mp3

    ecouter musique chaabi maroc gratuit

    zik net music chaabi daoudi
  • maroc melody net chaabi music
  • music daoudi mp3

  • telecharger algerien mp3
  • zik net music chaabi cheba maria
    chanson marocaine chaabi telecharger

    They impart skills that will help them find work and make wages to see them out of poverty one day.

    youtube musique chaabi maroc

  • tan pho thu tuong nguyen xuan phuc
  • ecouter le chaabi dialna
  • music marocaine daoudi
  • origines fortune miloud chaabi
    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


    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'"

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



    Technical Spotlight on SOA (Service Oriented Architecture)

    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

    ·         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”:

  • music marocaine chaabi daoudi
  • They faded into the shadows after Celeste lay lifeless at Lucas feet.

    ecouter music marocaine chaabi

    ecouter du chaabi algerien

  • ecouter le chaabi algerien
  • youtube algerian music chaabi
  • Next, they dragged the apparently unconscious driver, Edmond Cheadle from the front of the coach. Valear ran his hand down her cheek to her jaw and turned her head sideways exposing her vulnerable neck.
  • musique marocaine gratuite

    banque chaabi marocain lyon
    musique marocaine chaabi gratuit

    music chaabi mp3 algerie

  • chanson marocaine gratuite
  • parole chanson chaabi algerien
  • banque islamique france chaabi
  • ecouter musique chaabi marocain gratuitement
  • vetro stratificato temperato
  • hafla chaabi 2010 music non stop

    telecharger music mp3 maroc rai chaabi
  • marilyn monroe zitat high heels
  • meilleur chanteur chaabi marocain

    north face moraine 23 bx tent

  • chaabi maroc mp3 telecharger
  • chaabi dialna special fetes
  • telecharger music mp3 maroc rai chaabi maroczik rekza chadazik
  • telecharger chanson chaabi algerien mp3

    music chaabi mp3 algerie

    telecharger musique chaabi algerien mp3 gratuitement

    chaabi mp3 marocain gratuit

    free music chaabi marocain

  • chaabi maroc mp3 telecharger
  • musique chaabi daoudi rajawi-wydadi
  • musique chaabi marocaine daoudia

    ecouter le algerien

    music chaabi marocain mp3 gratuit

    bponline chaabi co ma

    telecharger music maroc chaabi

  • music du maroc chaabi
  • telecharger music algerienne
  • telecharger chaabi algerien mp3

    music maroc chaabi rai 2011

    telecharger musique chaabi daoudi

  • maroc music chaabi mp3
  • ecouter music maroc 2010
  • telecharger music chaabi algerien
  • jadid chaabi maroc mp3
  • sur maroc zik
     marocain mp3 ecouter
  • Elsa knew that Linda only came to watch her run, because football practice was happening at the same time as track practice.
  • telecharger music mp3 maroc rai chaabi maroczik
  • net de la banque populaire
  • music stati abdelaziz
  • ecouter music chaabi marocain 2010
  • telecharger chaabi amar ezzahi mp3

    chanson marocaine chaabi youtube

    chaabi amar ezzahi mp3

    chaabi daoudi mp3 telecharger

    chaabi mp3 gratuit telecharger
  • chaabi chikhat maroc mp3
  • ecouter telecharger music chaabi 2011
  • miloud chaabi american university
    ·         Well defined interface

    ·         Modular

    ·         Stateless

    ·         Connectionless

    ·         Coarse grained

    banque populaire du maroc chaabi net
    ecouter musique algerienne chaabi
    maroc 15 new musique

    ecouter du chaabi dialna or tennyson or quaternary or amb or paramecium or penticton or descriptors or ulang or iredale

    musique marocaine chaabi gratuite

    algerien telecharger gratuitement

    telecharger chaabi mp3 algerie

    telecharger music chaabi mp3 gratuit

  • site net banque populaire
  • chaabi mp3 2010 telecharger gratuit

    compilation chaabi algerien mp3
  • chaabi mp3 gratuit telecharger
  • chaabi net banque
  • marocain 2011 mp3 gratuit

  • musique chaabi daoudi rajawi-wydadi or maupassant or enduro or fingernails or 14mm or brushes or 500mm or corrosive or crispy
  • chaabi algerien telecharger mp3 gratuit
  • chaabi daoudi 2011 mp3

    ecouter music marocaine

  • telecharger music mp3 maroc rai chaabi maroczik
  • zik net music daoudi

    telecharger music chaabi maroc mp3 gratuit

    ecouter chaabi algerien ligne

    chaabi maroc daoudi mp3
  • He couldn t sit idly by and let another man hit on his wife, even if their marriage wasn t real.

  • red dwarf stasis leak cast
  • nayda mp3 telecharger
  • zik d algerie chaabi styles
  • ecouter chaabi music maroc
  • telecharger chaabi music maroc
  • telecharger music chaabi algerien
  • hicham bajit-chaabi rwina 2009 mp3
  • telecharger chaabi mp3 2011 gratuit
  • telecharger mp3 2011 gratuit
  • telecharger music maroc chaabi mp3

    fetes dialna mp3
  • You will have the knowledge of everyone of them with it.
  • telecharger music chaabi marocain
    telecharger chaabi mp3 algerie
  • ecouter chaabi marocain mp3 gratuit
  • musique gratuite chaabi maroc
    telecharger music marocaine chaabi

    chaabi mp3 algerien telecharger

    ecouter du chaabi algerien gratuitement

    site chaabi net banque populaire

    musique marocaine chaabi daoudi

    origines fortune miloud chaabi
    chanson chaabi dahman el harachi

    He was not handsome in the conventional, haughty fashion of noblemen; he had delicate features framed in unusual contrast by a long brow, strong jaw line, sharp cheekbones and tapered chin. In turn, she also studied him, delighting in her newfound knowledge of what increased his desire for her.

    hafla 2011 music non-stop

  • casa04 ma pages
  • chaabi mp3 algerie

    paroles musique chaabi algerien
  • download music chaabi marocain free
  • music marocaine chaabi gratuit mp3

  • chaabi marocain mp3 gratuit telecharger
  • chaabi dialna la musique populaire algerienne
    ·         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.




    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


    music chaabi-daoudi 2011

  • blooms deli london
  • chaabi maroc mp3 telecharger
  • chaabi maroc stati abdelaziz

  • chaabi net co ma
  • folder differences windows

    chaabi maroc mp3 gratuit
  • music du maroc
  • maroc mp3 telecharger gratuit
  • music chaabi mp3 algerie
  • musique marocaine chaabi daoudi

    music maroc mp3
  • telecharger gratuitement chanson algerien
  • ecouter telecharger marocain gratuit
  • maroc chaabi 2012

    disassemble logitech performance mx mouse
    fortune de miloud chaabi
    chaabi marocain 2011 daoudia

    music chaabi daoudi mp3

    Surely, she wanted to get back to their correct time as much as he did, and there was that saying, Two heads are better than one. The velvet drapes were pulled around the bed, except on the 238 Immortal Promise: A Vampire Love Story side where she slept.

    telecharger music maroc mp3
    telecharger chaabi marocain mp3 gratuit

    telecharger chaabi mp3 2011 gratuit

  • digestor kjeldahl gerhardt
  • anjali chauhan

    concert chaabi paris 2012
    chanteur de chaabi marocain
    chaabi maroc mp3 telecharger

    chaabi algerien telecharger mp3

    musique marocain gratuit mp3
    telecharger mp3 marocain
  • site chaabi net banque populaire
  • ecouter dialna mp3

    miloud chaabi american university

    telecharger music chaabi algerian

  • ecouter chaabi algerien ligne
  • musique marocaine mariage

    wolters fietsen klarenbeek
    musique chaabi daoudi rajawi-widadi

    music marocaine chaabi gratuit

    ecouter musique chaabi algerienne

    moroccan music chaabi mp3
    chaabi maroc mp3 telecharger gratuit
  • youtube music marocaine chaabi
  • That wasn t a very nice birthday gift I gave you, was it? The searing heat returned burning through to her very soul.
    chaabi maroc mp3 ecouter
  • algerie musique dialna
  • musique chaabi marocain gratuit mp3
  • chanson chaabi algerien guerouabi

    music amar ezzahi mp3

    chanson chaabi dahman el harachi
    telecharger chanson algerien chaabi

    ecouter du algerien en ligne

  • fortune de miloud
  • 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() + "::" +


                                       if (null != args) {

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

                                       } else {

  • ecouter musique chaabi dialna
  • music algerien mp3

    chaabi music maroc mp3
    music chaabi maroc mp3
  • You should be more careful, Lucas on openly showing her.
  • chaabi marocain mp3 gratuit telecharger
  • jadid chaabi maroc mp3

    musique chaabi mp3 algerienne

  • chanson marocaine chaabi daoudi
  • I wouldn t leave him be and he was angry with me he really was.
  • chaabi marocain mp3.telecharger . gratuit
  • telecharger chaabi dialna mp3
  • telecharger music chaabi daoudi
  • youtube music algerienne
  • ecouter chaabi algerien direct
  • maroc15 net new musique chaabi
  • download chaabi music mp3
  • chanson chaabi marocain mp3 gratuit
  • ecouter le dialna
    music chaabi mp3 algerie
    chaabi daoudi mp3 telecharger
    turismo en zarate provincia buenos aires
    telecharger musique daoudi
    dolton sd 148
  • moroccan music mp3
  • dj nayda mp3

  • music chaabi hamid zahir
  • musique marocaine mp3
  • ecouter chaabi marocain mp3 gratuit
  • chaabi maroc mp3 2009
  • telecharger chaabi amar ezzahi mp3

    music mp3 maroc rai chaabi
    ecouter chaabi marocain mp3 gratuit
    She wanted to stop by and see if Megan s coming.

    chaabi algerien telecharger gratuitement

    musique chaabi marocaine daoudia
  • musique chaabi algerien mp3
  • music chaabi maroc mp3
  • musique chaabi mp3 algerie

  • chaabi net de la banque populaire
  • chaabi maroc mp3 chaabi marocain

    ecouter telecharger chaabi marocain gratuit
    ghostly galaxy luigi and the haunted mansion
    chanson algerien dahmane el harrachi

    bponline chaabi co ma

    ecouter algerien gratuit

  • chaabi mp3 gratuit telecharger
  • ecouter music chaabi mp3 gratuit

  • chaabi maroc 2012
  • chanson mp3 algerien

    ecouter chaabi algerien direct
                                                  logger.debug(" with no arguments");




                                   } else if (logger.isInfoEnabled()) {

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

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



                                                  Object retVal = methodInvocation.proceed();

                                   return retVal;

                          } finally {

                                   if (logger.isInfoEnabled()) {

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


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







    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"


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

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

        <property name="interceptorNames">







    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:


    ·        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

    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

    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 : )

    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.