Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Spring Tutorial 05 - ApplicationContext and Property Initialization

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
11,379
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 19, 2011

We'll first replace the BeanFactory with the more powerful ApplicationContext. We'll then make Spring initialize a property of an object by specifying the value in the configuration XML.

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (koushks)

  • @shoibmd Any package name should do. Regarding the Spring XML error, check if you have the hierarchy right. First you need to have a beans element and under that, individual bean elements.

see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • This man is one of the best teachers in the world.

  • @shoibmd Spring.xml should be kept within src parallel to package not within the package because doing this will make xml file parallel to class,which will throw exception.

  • very nicely presented indeed!!

    Thank you

  • Hi, can you help i'm new to this spring,i want what is this org.koushik.jababrains is this package phisically exist or just created backedge.

    And created spring same as from first to 5 tutorial but i'm get error like

    (

    in XML document from file [D:\workspace\SpringDema\sprin­g.xml] is invalid; nested exception is org.xml.sax.SAXParseException: Document root element "beans", must match DOCTYPE root "bean")

    will you tell me how to fix it

  • Waiting for more tutorials in the series!

  • Awesome ... I'm awake at 3:30 am watching this ...

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more