Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6252087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:44:06+00:00 2026-05-24T13:44:06+00:00

I am quite new to spring coding.. I asked a question earlier but no

  • 0

I am quite new to spring coding..
I asked a question earlier but no one replied so I am asking it the other way..!!
I need to move my application from simple Java to Spring MVC.

Is there any good Spring MVC tutorials that gives info from scratch??

My simple code is below.

public void run()
{
    try
    {
        DataInputStream din = new DataInputStream (
            m_connection.getInputStream() );

        PrintStream pout = new PrintStream (
            m_connection.getOutputStream() );

        // Read line from client
        String data = din.readLine();

        // Check to see if we should simulate a stalled server
        if (shallWeStall)
        {
            // Yes .. so reset flag and stall
            shallWeStall = false;

            try
            {
                Thread.sleep (20000);
            } catch (InterruptedException ie ) {}
        }
        else
        {
            // No.... but we will next time
            shallWeStall = true;
        }

        // Echo data back to clinet
        pout.println (data);

        // Close connection
        m_connection.close();
    }
    catch (IOException ioe) 
    {
        System.err.println ("I/O error");
    }
}

I tried googling, but everything I found was too tough to start from.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T13:44:07+00:00Added an answer on May 24, 2026 at 1:44 pm

    UPDATE: Due to amazing effort by the Spring team links posted here stands as sort of outdated.
    I will advice anyone looking to learn spring from scratch to head over to new awesome guides created by spring team.

    Sample codes for the same can be found at Github

    Original Answer :

    try these links.. hope they are useful.
    mkyong and vanilla

    and ofcourse Spring’s own site

    ADDED :
    found this new awesome blog do try this also..
    its thorough.
    🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Quite new to coding for android but this issue has me tearing my hair
Hi I am quite new to php but i have been following some tutorials
I'm quite new to c++, but I've got the hang of the fundamentals. I've
I'm quite new to Spring Framework. Could someone please help me understand the spring
Firstly I would like to say that I am quite new to Spring (in
I am a newbie with Spring MVC but I'm quite impressed with its capabilities.
I'm still quite new to Spring, and I've found it to irritating making all
My first question here and i'll try to be specific. I am quite new
I'm quite new to the Spring framework so forgive me if this is a
I am quite new to Spring DI. We have two classes, PhysicalService and PhysicalDAO.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.