这是indexloc提供的服务,不要输入任何密码
Skip to content

supunsandeeptha/LibraryManagementSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Play Hello World Web Tutorial for Java

To follow the steps in this tutorial, you will need the correct version of Java and a build tool. You can build Play projects with sbt or Gradle. Since sbt works particularly well with Play, we recommend trying this example with sbt. The template requires:

  • Java Software Developer's Kit (SE) 1.8 or higher
  • sbt 0.13.15 or higher (we recommend 1.2.3)

To check your Java version, enter the following in a command window:

java -version

To check your sbt version, enter the following in a command window:

sbt sbt-version

If you do not have the required versions, follow these links to obtain them:

Build and run the project

This example Play project was created from a seed template. It includes all Play components and an Akka HTTP server. The project is also configured with filters for Cross-Site Request Forgery (CSRF) protection and security headers.

To build and run the project:

  1. Use a command window to change into the example project directory, for example: cd play-java-hello-world-web

  2. Build the project. Enter: sbt run. The project builds and starts the embedded HTTP server. Since this downloads libraries and dependencies, the amount of time required depends partly on your connection's speed.

  3. After the message Server started, ... displays, enter the following URL in a browser: http://localhost:9000

The Play application responds: Welcome to the Hello World Tutorial!

About

Back end of Libaray System Developed Using Play Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published