Results 1 to 5 of 5

Thread: Spring Web with Java 6 Http Server

  1. #1
    Join Date
    Mar 2007
    Posts
    561

    Default Spring Web with Java 6 Http Server

    Hi,

    is it possible to run Spring Web with the build in Java 6 Http Server?

    Thank you.

  2. #2
    Join Date
    Jan 2007
    Location
    Orlando, FL USA
    Posts
    84

    Default

    The mimimal requirement for the latest Spring is only jdk1.5, so it should run on jdk1.6 without problem.

    If you have a http server that is built only for jdk6, then you must be running a pretty nosy bleed codes. Good luck with that.
    http://www.jroller.com/thebugslayer - notes on java, scala and other development stuff.

  3. #3
    Join Date
    Mar 2007
    Posts
    561

  4. #4
    Join Date
    Jan 2007
    Location
    Orlando, FL USA
    Posts
    84

    Default

    That seems like Sun's private library. I never used before. I usually don't use the jdk package that starting with com.sun unless we really have no choice.

    If the embeded server works for you, why don't you simply start the server and run one of spring sample app?

    I know springmvc is just a standard Servlet based app, and it runs on any web container like Tomcat or Jetty no problem.
    http://www.jroller.com/thebugslayer - notes on java, scala and other development stuff.

  5. #5
    Join Date
    Oct 2006
    Posts
    228

    Default

    I'm not familiar with this Sun library, but it appears to be just a HTTP server. Spring Web is built on the Servlet APIs so it requires a Servlet container, so this won't work.

Posting Permissions

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