Questions tagged [embedded-server]

25 questions
33
votes
5 answers

Embedded C# web server?

In Java I've been able to embed* the jetty server in my apps, but is there an equivalent embedded* server technology for .Net? Open source (FLOSS) would be preferred if possible. *by embedded I mean a lightweight web server app that could be…
Iain Sproat
  • 5,210
  • 11
  • 48
  • 68
17
votes
3 answers

JAX-RS with embedded server

Clarification: this question was about GZIPping an JAX-WS-based REST service, but I've decided to change the topic to make it easier to find I'm implementing a REST service via JAX-WS Provider , and publishing it with standard Endpoint (the…
Alex Abdugafarov
  • 6,112
  • 7
  • 35
  • 59
10
votes
2 answers

Maven deploy multiple wars to embedded server for integration tests

I have had no issue running a maven war project on an embedded server for its own integration tests, but now I need to run multiple wars and test from a different project. I would like to setup the following scenario... I have two Maven war projects…
smp7d
  • 4,947
  • 2
  • 26
  • 48
4
votes
1 answer

Spring Boot API Mocking In Production

I know, we can mock our code in test scope easily in Spring-Boot. In here, I want to try create a demo-production scope/profile in Spring Boot. And in this profile, I want to work with mock sceneries. For example, In my code, there are third party…
Sha
  • 921
  • 17
  • 46
4
votes
3 answers

Java telnet server

Does anyone know of a simple telnet server? I want to embed in my application and set my own commands something simple not complex .
shay
  • 1,317
  • 4
  • 23
  • 35
4
votes
3 answers

Singleton is not really a singleton

I have situation where I share singleton between my code which runs the embedded-server and my web-application. I have war with classes and deployment tool. When I printf instances I see: abc.Abc@173a10f abc.Abc@105738 So this is not really…
Knight of Ni
  • 1,780
  • 3
  • 20
  • 47
3
votes
3 answers

grails embedded server functional testing needs to have valid ssl cert

I have been scouring the web for how to solve my problem with grails functional testing using embedded server + ssl, and would very much appreciate any help with the problem I'm having. We have had good success so far testing our Grails webapp with…
jpswain
  • 14,642
  • 8
  • 58
  • 63
3
votes
4 answers

Micronaut's EmbeddedServer startup extremely slow

I created a micronaut "Hello World!" application and a JUnit test according to the Micronaut user guide: https://docs.micronaut.io/latest/guide/index.html#creatingClient on macOS Mojave (10.14) with Java 1.8.0_25-b17. Unit test: package…
2
votes
1 answer

Micronaut Embedded Server vs localhost

I'm getting started with micronaut and I would like to understand the difference between testing the controller using local host and using an Embedded server For example I have a simple controller @Controller("/hello") public class HelloController…
marhg
  • 659
  • 1
  • 17
  • 30
1
vote
2 answers

Is it possible to use a web page as a user interface to a program written in python, running locally, without a web server?

I have a program written in python, and I would like to make it easy to enter parameter values for this program through a GUI. I realise that I could create a GUI using python tools, but I am interested in using a html / javascript page and have the…
savagent
  • 2,114
  • 1
  • 13
  • 10
1
vote
1 answer

What is the embedded server used in Apache Jackrabbit-standalone?

I believe in jackrabbit-standalone jar, there should be an application server embedded in order to serve web content. I was trying to find what is the exact embedded server used in jackrabbit-standalone.jar. Based on the documentation on…
casper
  • 535
  • 5
  • 13
1
vote
1 answer

Access dart embedded webserver from other devices on same network

I am new to dart web and and now i am trying to access my web-page from other devices on same network . When i enter command webdev serve , an embedded web-server listens on port 8080 and I can access that via 127.0.0.1:8080 on that device . but i…
Pourya Fard
  • 57
  • 1
  • 9
1
vote
1 answer

How to stop spring-boot embedded-undertow from adding trailing slash

When i call the context root of my spring-boot application "localhost:8080/api/players", which is mapped in a RestController method by the annotation @GetMapping(path= {"/",""}), undertow alway redirect (httpstatus: 307 Temporary redirect) to…
0
votes
0 answers

what is the jetty alternative for org.apache.tomcat.util.http.fileupload.FileUploadException

I am switching a Spring Boot application's server from Tomcat to Jetty. I am unable to find any Jetty alternative for the org.apache.tomcat.util.http.fileupload.FileUploadException exception. This exception exists in the tomcat-coyote dependency,…
0
votes
0 answers

Displaying a bundle of HTML files with POCO 1.9.4 configured server

I am using POCO 1.9.4, configured as a server. I am trying the sample code "HTTPFormServer" from Poco libraries. I am able to display the index.html page when queried from browser. But I couldnt navigate to other html pages from index.html page…
1
2