Junior — Middle
Tell about the technologies and tools used in your last project.
sobes.tech AI
Answer from AI
My last Java project used the following technologies and tools:
- Spring Boot for rapid development of RESTful services and dependency management.
- Hibernate as an ORM for database interactions.
- Maven for project build and dependency management.
- JUnit and Mockito for writing unit tests.
- PostgreSQL as the relational database.
- Docker for containerization and simplifying deployment.
Example of a simple REST controller in Spring Boot:
@RestController
@RequestMapping("/api/users")
public class UserController {
@GetMapping("/{id}")
public User getUser(@PathVariable Long id) {
// logic to retrieve user
return userService.findById(id);
}
}