Skip to content

(Hackathon) Palantir Extreme-Carpaccio-Java-Httpserver used for 45 - 60 min. coding challenge.

Notifications You must be signed in to change notification settings

fpopic/palantir-extreme-startup-challenge-2017

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

We were 5th (team TIMF):

TIMF_team

A Java client to with a simple com.sun.net.httpserver.HttpServer implementation.

Dependencies

  • maven 3
  • JDK 8

Install

  • mvn clean install

Code

The game server will post orders on /order endpoint. OrderHttpHandler inner class inside MyHttpServer.java file will handle this so this is where to start coding.

Run

You don't need any application server. No Tomcat, no WAR to deploy. The server is embedded.

  • mvn exec:java -Dexec.mainClass="xcarpaccio.MyHttpServer"

The server listens on port 9000: http://localhost:9000/ping

You can also launch the server with your IDE. You just have to launch MyHttpServer class. It has a main method.

About

(Hackathon) Palantir Extreme-Carpaccio-Java-Httpserver used for 45 - 60 min. coding challenge.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages