Posts by BlaBRA • 171 points
6 posts
-
0
votes1
answer55
viewsQ: Transaction in the Spring
I want to know more about transactions in spring. I have the following structure: My Service: @Service @Transactional public class MinhaClasseServiceImpl implements MinhaClasseService { @Autowired…
-
0
votes1
answer179
viewsQ: Problem with Rest controller in Spring
I set Spring 4 to work without xml. I created a @RestController simple, like this: @RestController public class JogadorRest { @RequestMapping("/ola/{jogador}") public Jogador message(@PathVariable…
-
4
votes2
answers6465
viewsQ: How to return a list as JSON using Spring MVC (@Restcontroller)?
I want to return a list in JSON format using Spring, but I am not succeeding. At pom.xml I added this dependency: <dependency> <groupId>org.codehaus.jackson</groupId>…
-
2
votes1
answer34
viewsQ: Capture exceptions in spring
I’m using Spring and wanted to know how I can return the errors (Exception) from @Repository and/or @Service to my webservice? I have the following structure: [ Webservice ] ------ […
-
0
votes1
answer46
viewsQ: Spring capture and errors
next... I’m using spring for a particular project and wanted to know how to best capture errors. have my Repository classes: @Repository public class PrimeiraClasseDaoImpl implements…
-
1
votes0
answers120
viewsQ: error running Javafx on Windows 7
I recently made a simple application on Macosx (Lion) using Javafx. But playing a few libs (jar) and implementing a few more snippets of code, the application stopped working on Windows 7. When…