Spring: usarlo conviene, ma usalo bene!

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    2 Groups

    Spring: usarlo conviene, ma usalo bene! - Presentation Transcript

    1. Spring: usarlo conviene, ma usalo bene Lucio Benfante lucio@benfante.com verona.javaday.it www.jugpadova.it
    2. Inversion Of Control (IoC) Inversion of control, or IoC, is an abstract principle describing an aspect of some software architecture designs in which the flow of control of a system is inverted in comparison to procedural programming. from wikipedia
    3. Dependencies are BAD List drugs = new ArrayList();
    4. IoC and Dependency Injection (DI) Inversion of Control Dependency Lookup Dependency Injection Setter injection Constructor Injection
    5. Spring framework? IoC container
    6. Inject your objects <beans> <bean id=”person1” class=”com.myapp.Person”> <property name=”firstName” value=”Lucio”/> <property name=”lastName” value=”Benfante”/> <property name=”bornIn” ref=”venice”/> </bean> <bean id=”venice” class=”com.myapp.City”> <constructor-arg value=”Venezia”/> </bean> </beans>
    7. XML is boring
    8. Spring in Parancoe demonstration (www.parancoe.org)
    9. References ● http://www.objectmentor.com/resources/articles/dip.pdf ● http://martinfowler.com/articles/injection.html ● http://martinfowler.com/bliki/InversionOfControl.html ● www.springframework.org ● www.parancoe.org ●

    + benfantebenfante, 1 month ago

    custom

    155 views, 0 favs, 0 embeds more stats

    Le tecniche di Inversion of Control (IoC), e in par more

    More info about this document

    CC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike License

    Go to text version

    • Total Views 155
      • 155 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 4
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Groups / Events