
no.tornado.brap.examples.spring.SpringServerExample Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of brap-examples Show documentation
Show all versions of brap-examples Show documentation
Examples for BRAP client and server usage, including BRAP-Spring.
The newest version!
package no.tornado.brap.examples.spring;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.webapp.WebAppContext;
public class SpringServerExample {
public static void main(String[] args) throws Exception {
Server server = new Server(8080);
WebAppContext bb = new WebAppContext();
bb.setWar("src/main/spring-webapp");
server.setHandler(bb);
server.start();
server.join();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy