-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
32 lines (21 loc) · 864 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
This project is a demo program that shows how Spring 3 "JavaConfig"
works within a Scala project.
More info are available here:
http://fanf42.blogspot.com/2010/01/scala-and-spring-3-javaconfig.html
Author: Francois Armand
License: Apache Software License v2
What does it do ?
-----------------
The program is a trivial web-application which awaits for incoming
upload on a given endpoint URL.
When uploads come, they are saved in a temp directory to be
asynchronously processed by an other server configured via IoC
Download and test
-----------------
You will need to have a JVM installed, at least 1.5, and recent Maven 2 version.
Clone the repos:
% git clone [email protected]:fanf/scala-spring3-upload.git
Compile and launch the server:
% mvn clean jetty:run
Test:
% curl url -F MyFile.txt=@/path/to/the/file/to/upload http://localhost:8080/upload/