3. Globalcode – Open4education
Spring
Porquê Spring?
@Autowired
@Inject
@Resource
@SpringBootApplication
@Controller
@RequestMapping("/")
public class MyController{
@GetMapping
public String sayHello(){
return “hello”;
}
}
• S
e
t
u
p
s
i
m
p
l
e
• P
o
u
c
a
s
l
i
n
h
• W
i
r
e
E
v
e
r
y
• D
I
S
i
m
p
l
e