2 Replies Latest reply on Jul 19, 2017 12:29 PM by tony anecito

    Is SingleThreadModel used by default for servlets?

    tony anecito Novice

      Hi,

      I am using Restful API and I am wondering if the servlets are SingleThreadModel and if so are Restful methods such as get or post thread safe? SingleThreadModel for service method which called doGet and doPost were considered thread safe. I am using Wildfly 10.0.0 Final with Java 1.8.0_91

       

      Thanks!