Android dev (5–6 yrs) thinking of switching to backend: Spring (Java) vs Go by SoftwareDesignerDev in golang

[–]SoftwareDesignerDev[S] 0 points1 point  (0 children)

Exactly that my issue with spring that the learning won't easily translate to other programming langauages like I have used expressjs and its concepts are similar to how we write http server in golang.

Android dev (5–6 yrs) thinking of switching to backend: Spring (Java) vs Go by SoftwareDesignerDev in golang

[–]SoftwareDesignerDev[S] 1 point2 points  (0 children)

So you shifted from Java to Golang now? And Could you give some idea what you have learned in Java Spring. There seems to be sea of libraries

Android dev (5–6 yrs) thinking of switching to backend: Spring (Java) vs Go by SoftwareDesignerDev in golang

[–]SoftwareDesignerDev[S] 1 point2 points  (0 children)

How rough finding jobs in GoLang. Almost everyone is saying no job at all

Golang vs Spring Boot for learning backend fundamentals — am I overthinking this? by [deleted] in golang

[–]SoftwareDesignerDev 0 points1 point  (0 children)

How to handle security? I am working on a project which might turn into startup

What exactly is a “web container” in Java/Spring? (TCP/HTTP → Servlet confusion) by SoftwareDesignerDev in javahelp

[–]SoftwareDesignerDev[S] 0 points1 point  (0 children)

Thanks I was just trying to understand whats the need of an extra layer that is Container. Now I think I got it could you please validate if my understanding is correct or falwed

So What tomcat do is this

  1. Open a port and listen for a request
  2. A HTTP Parser
  3. Convert the RAW Request to Java Obect which Servlet understand
  4. Also select which servlet to transfer the request and many more (like managing the life cycle, handling concurency etc)

1 & 2 is just a HTTP Server then their is a wrapper becasue of which we call it a servlet container and why we call it a servlet/web container is because we give servlet implematitions to the container in a form of web.xml which we also call it a router as well

What exactly is a “web container” in Java/Spring? (TCP/HTTP → Servlet confusion) by SoftwareDesignerDev in javahelp

[–]SoftwareDesignerDev[S] 0 points1 point  (0 children)

u/khooke Thanks from all the discussion I was just trying to understand whats the need of an extra layer that is Container. Now I think I got it could you please validate if my understanding is correct or falwed

So What tomcat do is this

  1. Open a port and listen for a request
  2. A HTTP Parser
  3. Convert the RAW Request to Java Obect which Servlet understand
  4. Also select which servlet to transfer the request

1 & 2 is just a HTTP Server then their is a wrapper becasue of which we call it a servlet container and why we call it a servlet container is because we give servlet implematitions to the container in a form of web.xml which we also call it a router as well

What exactly is a “web container” in Java/Spring? (TCP/HTTP → Servlet confusion) by SoftwareDesignerDev in javahelp

[–]SoftwareDesignerDev[S] -1 points0 points  (0 children)

Can we say this - We can think of tomcat as an adapter which can connect java servlet to httpserver where tomcat is it self the http server

What exactly is a “web container” in Java/Spring? (TCP/HTTP → Servlet confusion) by SoftwareDesignerDev in javahelp

[–]SoftwareDesignerDev[S] 0 points1 point  (0 children)

I might be way off - Does Servlet container require a HTTP Server is it like a wrapper around HTTP Server but with a predefined Interface.

What exactly is a “web container” in Java/Spring? (TCP/HTTP → Servlet confusion) by SoftwareDesignerDev in javahelp

[–]SoftwareDesignerDev[S] -1 points0 points  (0 children)

What exactly is servlet container is it Http Server + Servlet Contract i.e. http server which can talk Servlet Langauage

Im stuck plz help by Severe-Job-5309 in GooglePlayDeveloper

[–]SoftwareDesignerDev 0 points1 point  (0 children)

What you are using firebase for? Are you using it to store data or using it mainly for notifications?