Results 1 to 3 of 3

Thread: Generic Spring Main?

  1. #1
    Join Date
    Jan 2008
    Posts
    1

    Default Generic Spring Main?

    Hi all,

    I am just getting into spring. All of the examples I have seen use a java main file to get started creating application contexts and such. Is there a standalone "generic spring main" that ships with that would allow you to just wire beans and such without having to write the code starting the application context? I have googled around quite a bit but have not come up with anything.

    Something like "springcontainer <app-context-type> <app-context-type-arguements>"

    where the "springcontainer" is an executable?

    I realize that the above may be limiting. So perhaps there is something even better like:

    "springcontainer <app-context-configuration-xml>"

    where the configuration XML would contain app-context wiring regarding a hierarchy of app-contexts?

    I also realize this may be covered in the web-based features of spring (haven't gotten that far yet)?


    Thanks
    Last edited by pmmulligan; Jan 24th, 2008 at 07:09 PM. Reason: Smarter post :-)

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,624

    Default

    No. You will have to write your own.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  3. #3
    Join Date
    May 2005
    Location
    California, US
    Posts
    735

    Default

    Not sure if this will help but it sounded like it might:

    http://blog.springsource.com/main/20...es-10-is-here/

Posting Permissions

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