Jump to content

João Antônio Duarte

Members
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

2 Neutral

Technical Information

  • Delphi-Version
    Delphi 10.4 Sydney

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. João Antônio Duarte

    Spring4d in Linux

    I run my web services as self-contained services, so I use Indy as the HTTP server. However, all my webservices are behind a reverse proxy (Nginx), so I can set up load balancing for endpoints with a large flow of requests.
  2. João Antônio Duarte

    Spring4d in Linux

    Perhaps the problem occurs because you are deploying your application as an Apache module. In my case I don't use apache, I deploy it as a self-contained application running as a Linux service. The way an Apache module is started is different from a self-contained application. It may be that this is causing a failure in the Spring container.
  3. João Antônio Duarte

    Spring4d in Linux

    You have to use the Spring development branch
  4. João Antônio Duarte

    Spring4d in Linux

    See this example project: https://github.com/joaoduarte19/DMVC-with-Spring4D-DI I use Ubuntu 20.04 and 22.04 to deploy in production. For testing and debugging I use Windows WSL.
  5. João Antônio Duarte

    Spring4d in Linux

    Yes, it's a RESTful web server.
  6. João Antônio Duarte

    Spring4d in Linux

    I use Spring4D container (develop branch) + DelphiMVCFramework on linux as daemon. Works great, no problem.
  7. João Antônio Duarte

    DelphiMVCFramework-3.2.2-nitrogen has been released

    DMVCFramework is fully stable and tested. I use DMVCFramework in large production projects, in Windows and Linux environments.
  8. João Antônio Duarte

    Delphimvcframework and contenttype

    By default DMVC registers a serializer only for the application/json content-type. But you can define a serializer for other types. In your WebModule, after creating the TMVCEngine add the following code: FEngine.Serializers.Add('application/sim+json', TMVCJSONDataObjectsSerializer.Create);
×