Sobes.tech
Junior — Middle

Tell us about your professional experience using Java language in projects.

sobes.tech AI

Answer from AI

Although the module is indicated as Node.js, I will talk about my professional experience with Java.

In Java projects, I worked on developing server-side logic using the Spring Framework to create REST APIs. I was involved in database integration through JPA/Hibernate, implementing business logic, and handling errors.

I also participated in optimizing application performance, profiling, and writing unit tests using JUnit and Mockito. In some projects, I used multithreading and asynchronous programming to improve service responsiveness.

Here's an example of a simple REST controller in Spring Boot:

@RestController
@RequestMapping("/api/users")
public class UserController {
    @GetMapping("/{id}")
    public ResponseEntity<User> getUser(@PathVariable Long id) {
        User user = userService.findById(id);
        if (user == null) {
            return ResponseEntity.notFound().build();
        }
        return ResponseEntity.ok(user);
    }
}
Tell us about your professional experience using Java… - sobes.tech