Immune priming in insects involves an initial challenge with a non-pathogenic microbe or exposure to a low dose of pathogenic microorganisms, which provides a certain degree of protection against a subsequent pathogenic infection. The protective effect of insect immune priming has been linked to the activation of humoral or cellular features of the innate immune response during the preliminary challenge, and these effects might last long enough to promote the survival of the infected animal. The fruit fly Drosophila melanogaster is a superb model to dissect immune priming processes in insects due to the availability of molecular and genetic tools, and the comprehensive understanding of the innate immune response in this organism. Previous investigations have indicated that the D. melanogaster immune system can be primed efficiently. Here we have extended these studies by examining the result of immune priming against two potent entomopathogenic bacteria, Photorhabdus luminescens and P. asymbiotica. We have found that rearing D. melanogaster on diet containing a non-pathogenic strain of Escherichia coli alone or in combination with Micrococcus luteus upregulates the antibacterial peptide immune response in young adult flies, but it does not prolong fly life span. Also, subsequent intrathoracic injection with P. luminescens or P. asymbiotica triggers the Immune deficiency and Toll signaling pathways in flies previously exposed to a live or heat-killed mix of the non-pathogenic bacteria, but the immune activation fails to promote fly survival against the pathogens. These findings suggest that immune priming in D. melanogaster, and probably in other insects, is determined by the type of microbes involved as well as the mode of microbial exposure, and possibly requires a comprehensive and precise alteration of immune signaling and function to provide efficient protection against pathogenic infection.