Giter Club home page Giter Club logo

servlet-container's Introduction

About me

My name is Łukasz Leszko and I'm currently studying Computer Science 💻 and Mathematics ➗ at University of Warsaw. Recently I became Junior Software Engineer at Cognizant. I'm currently aspiring to become a ML Engineer.

I'm also a retired competitive programmer, a keen Rubik's cube solver, and esoteric programming languages enjoyer.

Check out my portfolio! (work in progress)

Technologies

linux arch bash git python c++ neovim vscode

Github Stats


Fun fact

My profile picture is actually a fully working Hello World program written by Thomas Schoch in esoteric programming language Piet (released under CC BY-SA 2.5).

servlet-container's People

Contributors

leszkolukasz avatar

Stargazers

 avatar  avatar

Watchers

 avatar

servlet-container's Issues

Improve graceful shutdown

Description

Right now, graceful shutdown is not so graceful. It is possible that some threads from ThreadPool are still working but ServletContainer::start finished.

Task

Make sure so that ServletContainer::start finishes only when all servlets have stopped. That should also include asynchronous servlets that use CompletableFuture instead of ThreadPool.

Tests may fail due to port errors

Description

Currently, when test are run using ./gradlew test they may fail due to java.net.BindException. Each test is started on different port (that is hardcoded) but it does not seem to help.

Task

The task is to fix issue presented above. It would be also a good idea to do something about those hardcoded ports or even remove them completely if possible.

Improve url resolution

Descritpion

Right now url resolution is not so perfect. As described in FAQ servlets may handle urls that should actually return 404. Also, there are potentially problems when two applications are loaded using component scanning and have classes (especially jsp files) with the same name.

Task

Fix url resolution so that scenarios presented above do not happen. To check if it works you can try to load demo application two times. Just copy library.war and paste as library1.war.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.