Results 1 to 6 of 6

Thread: from Java basics to Spring MVC

  1. #1
    Join Date
    Nov 2011
    Posts
    4

    Default from Java basics to Spring MVC

    In collage I have learned the basics of Java. I worked little in pure JSP. That was about a decade ago.
    Now, I have good experience in MVC in PHP, especially Yii. I want to start learning Spring MVC. But I feel there is a huge gap between java basics and Spring MVC. A lot of new technologies and new jargon.
    I'm open to advises. Where should I start reading? Should I go direct to Spring Source Tool Suite? regards

  2. #2
    Join Date
    Nov 2011
    Posts
    2

    Default from Java basics to Spring MVC

    when doing switching between two view and one controller in MVC using gwt ..iam using concept deferred binding...but am not able get it ..how to do.. plz help me out ..

  3. #3
    Join Date
    Oct 2011
    Posts
    13

    Default

    Hi,

    I got some frustration when I started with Spring MVC, post.

    In the end, if I can make an advice, it's to start directly with STS. Download the Spring reference in PDF, and if you have some money left, the book "Spring in Action Third Edition" is a good start. And don't forget, Maven is your friend.

    If you want to be highly productive, try Spring Roo or switch to Grails with Groovy. ATM, I'm making a Spring MVC webapp without relying on those technologies because I ended up making stuff without really knowing how it worked.

  4. #4
    Join Date
    Dec 2008
    Location
    India
    Posts
    295

    Default

    I suggest go for docs and Spring MVC sample application. Its more than enough
    Enjoy
    Rohan Chauhan
    ------------------------------------------------------------------------------
    SpringSource Certified Spring 3.0 Professional


  5. #5
    Join Date
    Nov 2011
    Posts
    10

    Default

    I am doing much the same, there are a number of good tutorials out there, though getting them to run isn't always easy.

    http://static.springsource.org/docs/...-step-by-step/ - This is where I started, but you need ant for this, and as you delve deeper into spring, you will find maven far more useful.

    http://krams915.blogspot.com/2011/01...notations.html - I found this to be a very good one with a pom.xml that worked!

    http://viralpatel.net/blogs/2010/11/...e-example.html - this is also good, but you may end up with a lot of headaches from the supplied pom.xml. Simply use the one from the krams tutorial.


    I would initially avoid Spring Roo as I spent a lot of unproductive time making it work and didn't really get an understanding of what was happening.

    Before you start, I would install

    Java 1.6 SDK (or 1.7 if you are brave)
    STS 2.8.0 (or later)
    MySQL Server 5.5 (or any database you can install locally)
    Apache Maven 3.0.3
    Apache Tomcat 7 - Using Tomcat 7 will force you to change pom.xml on your projects...
    Code:
                            <plugin>
                                    <groupId>org.codehaus.mojo</groupId>
                                    <artifactId>tomcat-maven-plugin</artifactId>
                                    <version>1.1</version>
                                    <configuration>
                                            <server>apacheTomcatServer</server>
                                            <url>http://localhost:8080/manager/html</url>
                                            <path>/Spring3HibernateMaven</path>
                                    </configuration>
                            </plugin>

  6. #6
    Join Date
    Aug 2010
    Location
    Goteborg, Sweden
    Posts
    434

    Default

    The book "Spring in Practice" by Willie Wheeler, John Wheeler, and Joshua White is the best way to learn Spring MVC IMHO. Good updated examples that addresses the real stuff most web developers care about. This title is currently being written in Mannings Early Access Program (MEAP) and is worth every cent.

    The MEAP means it's possible to discuss the content with the authors which is a nice concept, but the book is very usable right now. I didn't hesitate.

    The problem with all web material is that much is not Spring 3 oriented, but what of it that is, is a nice complement.
    Spring in Action, which I also own, is good for all of Spring Framework to illustrate some concepts, but I do feel Spring in Practice is more useful as a first book to digest for the web developer. It is after all, a very practical book with real world solutions.

Posting Permissions

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