Results 1 to 3 of 3

Thread: diff in ref local and bean

  1. #1
    Join Date
    May 2007
    Posts
    104

    Default diff in ref local and bean

    what is the difference in the following:ie difference between local and bean under ref tag?
    PHP Code:
    <ref local="service"/> 
    and
    PHP Code:
    <ref bean="service"/> 

  2. #2
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,806

    Default

    if i dont bad remember this is would be the explanation

    "local" look the bean in the same xml file(you can has one file a.xml), and "bean" instead look in the others xml file bean definitions(you can has more of one file a.xml,b.xml,c.xml)

    THT

    regards
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

  3. #3
    Join Date
    Mar 2007
    Posts
    515

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •